From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/xml/dom_stringimpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'khtml/xml/dom_stringimpl.cpp') diff --git a/khtml/xml/dom_stringimpl.cpp b/khtml/xml/dom_stringimpl.cpp index d4e568408..3f904ae76 100644 --- a/khtml/xml/dom_stringimpl.cpp +++ b/khtml/xml/dom_stringimpl.cpp @@ -281,12 +281,12 @@ khtml::Length* DOMStringImpl::toCoordsArray(int& len) const TQString str(s, l); for(unsigned int i=0; i < l; i++) { TQChar cc = s[i]; - if (cc > '9' || (cc < '0' && cc != '-' && cc != '*' && cc != '.')) + if (cc > TQChar('9') || (cc < TQChar('0') && cc != '-' && cc != '*' && cc != '.')) str[i] = ' '; } str = str.simplifyWhiteSpace(); - len = str.contains(' ') + 1; + len = str.tqcontains(' ') + 1; khtml::Length* r = new khtml::Length[len]; int i = 0; @@ -307,7 +307,7 @@ khtml::Length* DOMStringImpl::toLengthArray(int& len) const TQString str(s, l); str = str.simplifyWhiteSpace(); - len = str.contains(',') + 1; + len = str.tqcontains(',') + 1; // If we have no commas, we have no array. if( len == 1 ) -- cgit v1.2.1