diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
commit | bab40890696ec68c337dc290880423a0602b83c7 (patch) | |
tree | 6ba03f720b1fa88235ba339e7aedb4455430357e /khtml/xml/dom_stringimpl.cpp | |
parent | f7e71d47719ab6094cf4a9fafffa5ea351973522 (diff) | |
download | tdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip |
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
Diffstat (limited to 'khtml/xml/dom_stringimpl.cpp')
-rw-r--r-- | khtml/xml/dom_stringimpl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 ) |