diff options
Diffstat (limited to 'kjs/ustring.cpp')
-rw-r--r-- | kjs/ustring.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kjs/ustring.cpp b/kjs/ustring.cpp index 36f201863..92644d009 100644 --- a/kjs/ustring.cpp +++ b/kjs/ustring.cpp @@ -134,7 +134,7 @@ static int statBufferSize = 0; UChar UChar::toLower() const { - // ### properly support unicode tolower + // ### properly support tqunicode tolower if (uc >= 256) return *this; @@ -746,7 +746,7 @@ unsigned int UString::toStrictUInt32(bool *ok) const if (len == 0) return 0; const UChar *p = rep->dat; - unsigned short c = p->unicode(); + unsigned short c = p->tqunicode(); // If the first digit is 0, only 0 itself is OK. if (c == '0') { @@ -782,7 +782,7 @@ unsigned int UString::toStrictUInt32(bool *ok) const } // Get next character. - c = (++p)->unicode(); + c = (++p)->tqunicode(); } } @@ -796,7 +796,7 @@ unsigned UString::toArrayIndex(bool *ok) const return i; } -int UString::find(const UString &f, int pos) const +int UString::tqfind(const UString &f, int pos) const { int sz = size(); int fsz = f.size(); @@ -818,7 +818,7 @@ int UString::find(const UString &f, int pos) const return -1; } -int UString::find(UChar ch, int pos) const +int UString::tqfind(UChar ch, int pos) const { if (pos < 0) pos = 0; @@ -830,7 +830,7 @@ int UString::find(UChar ch, int pos) const return -1; } -int UString::rfind(const UString &f, int pos) const +int UString::rtqfind(const UString &f, int pos) const { int sz = size(); int fsz = f.size(); @@ -852,7 +852,7 @@ int UString::rfind(const UString &f, int pos) const return -1; } -int UString::rfind(UChar ch, int pos) const +int UString::rtqfind(UChar ch, int pos) const { if (isEmpty()) return -1; |