summaryrefslogtreecommitdiffstats
path: root/kradio3/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/utils.cpp')
-rw-r--r--kradio3/src/utils.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kradio3/src/utils.cpp b/kradio3/src/utils.cpp
index fa60b02..90db463 100644
--- a/kradio3/src/utils.cpp
+++ b/kradio3/src/utils.cpp
@@ -26,11 +26,11 @@
TQString XMLEscape (const TQString &s)
{
TQString c = s;
- c.tqreplace(TQRegExp("&"), "&");
- c.tqreplace(TQRegExp("<"), "&lt;");
- c.tqreplace(TQRegExp(">"), "&gt;");
- c.tqreplace(TQRegExp("\""), "&quot;");
- c.tqreplace(TQRegExp("'"), "&apos;");
+ c.replace(TQRegExp("&"), "&amp;");
+ c.replace(TQRegExp("<"), "&lt;");
+ c.replace(TQRegExp(">"), "&gt;");
+ c.replace(TQRegExp("\""), "&quot;");
+ c.replace(TQRegExp("'"), "&apos;");
return c;
}