summaryrefslogtreecommitdiffstats
path: root/bibletime/frontend/displaywindow/cplainwritewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/frontend/displaywindow/cplainwritewindow.cpp')
-rw-r--r--bibletime/frontend/displaywindow/cplainwritewindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bibletime/frontend/displaywindow/cplainwritewindow.cpp b/bibletime/frontend/displaywindow/cplainwritewindow.cpp
index 2e63cef..9987223 100644
--- a/bibletime/frontend/displaywindow/cplainwritewindow.cpp
+++ b/bibletime/frontend/displaywindow/cplainwritewindow.cpp
@@ -122,8 +122,8 @@ void CPlainWriteWindow::saveCurrentText( const TQString& /*key*/ ) {
//since t is a complete HTML page at the moment, strip away headers and footers of a HTML page
TQRegExp re("(?:<html.*>.+<body.*>)", false); //remove headers, case insensitive
re.setMinimal(true);
- t.tqreplace(re, "");
- t.tqreplace(TQRegExp("</body></html>", false), "");//remove footer
+ t.replace(re, "");
+ t.replace(TQRegExp("</body></html>", false), "");//remove footer
const TQString& oldKey = this->key()->key();
if( modules().first()->isWritable() ) {