summaryrefslogtreecommitdiffstats
path: root/libkdepim/spellingfilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/spellingfilter.cpp')
-rw-r--r--libkdepim/spellingfilter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdepim/spellingfilter.cpp b/libkdepim/spellingfilter.cpp
index cc94968d..e57745e5 100644
--- a/libkdepim/spellingfilter.cpp
+++ b/libkdepim/spellingfilter.cpp
@@ -89,7 +89,7 @@ void SpellingFilter::TextCensor::censorQuotations(const TQString& quotePrefix)
int len = mPos - start;
TQString spaces;
spaces.fill(' ', len);
- mText.replace(start, len, spaces);
+ mText.tqreplace(start, len, spaces);
//kdDebug(5006) << "censored quotation ["
// << start << ", " << mPos << ")" << endl;
@@ -116,7 +116,7 @@ void SpellingFilter::TextCensor::censorUrls()
// Replace url with spaces
url.fill(' ');
- mText.replace(start, url.length(), url);
+ mText.tqreplace(start, url.length(), url);
//kdDebug(5006) << "censored url ["
// << start << ", " << mPos << ")" << endl;
@@ -141,7 +141,7 @@ void SpellingFilter::TextCensor::censorEmailAddresses()
// Replace address with spaces
address.fill(' ');
- mText.replace(start, address.length(), address);
+ mText.tqreplace(start, address.length(), address);
//kdDebug(5006) << "censored addr ["
// << start << ", "<< mPos << ")" << endl;
@@ -162,7 +162,7 @@ void SpellingFilter::TextCensor::censorString(const TQString& s)
// Replace string with spaces
TQString spaces;
spaces.fill(' ', s.length());
- mText.replace(mPos, s.length(), spaces);
+ mText.tqreplace(mPos, s.length(), spaces);
mPos += s.length();
//kdDebug(5006) << "censored string ["