summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware/xmlrpciface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/egroupware/xmlrpciface.cpp')
-rw-r--r--kresources/egroupware/xmlrpciface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/egroupware/xmlrpciface.cpp b/kresources/egroupware/xmlrpciface.cpp
index 4a46a37eb..59b467bb2 100644
--- a/kresources/egroupware/xmlrpciface.cpp
+++ b/kresources/egroupware/xmlrpciface.cpp
@@ -202,10 +202,10 @@ TQString Query::marshal( const TQVariant &arg ) const
case TQVariant::CString:
{
TQString result = arg.toString();
- result = result.tqreplace( "&", "&" );
- result = result.tqreplace( "\"", """ );
- result = result.tqreplace( "<", "&lt;" );
- result = result.tqreplace( ">", "&gt;" );
+ result = result.replace( "&", "&amp;" );
+ result = result.replace( "\"", "&quot;" );
+ result = result.replace( "<", "&lt;" );
+ result = result.replace( ">", "&gt;" );
return "<value><string>" + result + "</string></value>\r\n";
}
case TQVariant::Int: