summaryrefslogtreecommitdiffstats
path: root/src/tellico_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tellico_utils.cpp')
-rw-r--r--src/tellico_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tellico_utils.cpp b/src/tellico_utils.cpp
index d660839..f04036a 100644
--- a/src/tellico_utils.cpp
+++ b/src/tellico_utils.cpp
@@ -41,7 +41,7 @@ TQString Tellico::decodeHTML(TQString text) {
while(pos > -1) {
TQChar c = KCharsets::fromEntity(rx.cap(1));
if(!c.isNull()) {
- text.tqreplace(pos, rx.matchedLength(), c);
+ text.replace(pos, rx.matchedLength(), c);
}
pos = rx.search(text, pos+1);
}
@@ -83,7 +83,7 @@ TQString Tellico::i18nReplace(TQString text) {
static TQRegExp rx(TQString::tqfromLatin1("(?:\\n+ *)*<i18n>([^<]*)</i18n>(?: *\\n+)*"));
int pos = rx.search(text);
while(pos > -1) {
- text.tqreplace(pos, rx.matchedLength(), i18n(rx.cap(1).utf8()));
+ text.replace(pos, rx.matchedLength(), i18n(rx.cap(1).utf8()));
pos = rx.search(text, pos+rx.matchedLength());
}
return text;