summaryrefslogtreecommitdiffstats
path: root/kresources/blogging/xmlrpcjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/blogging/xmlrpcjob.cpp')
-rw-r--r--kresources/blogging/xmlrpcjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kresources/blogging/xmlrpcjob.cpp b/kresources/blogging/xmlrpcjob.cpp
index f20dff87..9a89cf5a 100644
--- a/kresources/blogging/xmlrpcjob.cpp
+++ b/kresources/blogging/xmlrpcjob.cpp
@@ -337,7 +337,7 @@ kdDebug()<<"Demarshalling element \"" << elem.text() <<"\"" << endl;
else if ( typeName == "datetime" || typeName == "datetime.iso8601" ) {
TQString text( typeElement.text() );
- if ( text.tqfind( TQRegExp("^[0-9]{8,8}T") ) >= 0 ) {
+ if ( text.find( TQRegExp("^[0-9]{8,8}T") ) >= 0 ) {
// It's in the format 20041120T...., so adjust it to correct
// ISO 8601 Format 2004-11-20T..., else TQDateTime::fromString won't work:
text = text.insert( 6, '-' );