diff options
Diffstat (limited to 'ksayit/src/docbookparser.cpp')
-rw-r--r-- | ksayit/src/docbookparser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksayit/src/docbookparser.cpp b/ksayit/src/docbookparser.cpp index f1e0c51..8a5baa1 100644 --- a/ksayit/src/docbookparser.cpp +++ b/ksayit/src/docbookparser.cpp @@ -479,9 +479,9 @@ void DocbookParser::parsePara(const TQDomElement &element, ListViewInterface *it TQString raw = node2raw(element); // remove <para> tags - raw.tqreplace( TQRegExp("</?(para|Para|PARA)/?>"),""); - raw.tqreplace( TQRegExp("^ "),"" ); - raw.tqreplace( TQRegExp("^\n"), "" ); + raw.replace( TQRegExp("</?(para|Para|PARA)/?>"),""); + raw.replace( TQRegExp("^ "),"" ); + raw.replace( TQRegExp("^\n"), "" ); para->setValue(KSayItGlobal::RAWDATA, raw); para->setValue(KSayItGlobal::RTFDATA, raw); |