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/css/csshelper.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'khtml/css/csshelper.cpp') diff --git a/khtml/css/csshelper.cpp b/khtml/css/csshelper.cpp index f1d681bd6..96e184f2f 100644 --- a/khtml/css/csshelper.cpp +++ b/khtml/css/csshelper.cpp @@ -49,8 +49,8 @@ DOMString khtml::parseURL(const DOMString &url) int o = 0; int l = i->l; - while(o < l && (i->s[o] <= ' ')) { o++; l--; } - while(l > 0 && (i->s[o+l-1] <= ' ')) l--; + while(o < l && (i->s[o] <= TQChar(' '))) { o++; l--; } + while(l > 0 && (i->s[o+l-1] <= TQChar(' '))) l--; if(l >= 5 && (i->s[o].lower() == 'u') && @@ -62,8 +62,8 @@ DOMString khtml::parseURL(const DOMString &url) l -= 5; } - while(o < l && (i->s[o] <= ' ')) { o++; l--; } - while(l > 0 && (i->s[o+l-1] <= ' ')) l--; + while(o < l && (i->s[o] <= TQChar(' '))) { o++; l--; } + while(l > 0 && (i->s[o+l-1] <= TQChar(' '))) l--; if(l >= 2 && i->s[o] == i->s[o+l-1] && (i->s[o].latin1() == '\'' || i->s[o].latin1() == '\"')) { @@ -71,8 +71,8 @@ DOMString khtml::parseURL(const DOMString &url) l -= 2; } - while(o < l && (i->s[o] <= ' ')) { o++; l--; } - while(l > 0 && (i->s[o+l-1] <= ' ')) l--; + while(o < l && (i->s[o] <= TQChar(' '))) { o++; l--; } + while(l > 0 && (i->s[o+l-1] <= TQChar(' '))) l--; DOMStringImpl* j = new DOMStringImpl(i->s+o,l); -- cgit v1.2.1