diff options
Diffstat (limited to 'kwordquiz/src/kvtmlwriter.cpp')
-rw-r--r-- | kwordquiz/src/kvtmlwriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kwordquiz/src/kvtmlwriter.cpp b/kwordquiz/src/kvtmlwriter.cpp index 4cf9ebe3..dc123113 100644 --- a/kwordquiz/src/kvtmlwriter.cpp +++ b/kwordquiz/src/kvtmlwriter.cpp @@ -81,9 +81,9 @@ KVTMLWriter::~KVTMLWriter() TQString KVTMLWriter::escape( const TQString & s) { TQString result = s; - result.tqreplace(TQChar('&'), "&"); //must be done first - result.tqreplace(TQChar('<'), "<"); - result.tqreplace(TQChar('>'), ">"); + result.replace(TQChar('&'), "&"); //must be done first + result.replace(TQChar('<'), "<"); + result.replace(TQChar('>'), ">"); return result; } |