From 10308be19ef7fa44699562cc75946e7ea1fdf6b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 03:45:53 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kjs/regexp_object.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kjs/regexp_object.cpp') diff --git a/kjs/regexp_object.cpp b/kjs/regexp_object.cpp index 4b8064644..edd2bbeca 100644 --- a/kjs/regexp_object.cpp +++ b/kjs/regexp_object.cpp @@ -234,7 +234,7 @@ int **RegExpObjectImp::registerRegexp( const RegExp* re, const UString& s ) Object RegExpObjectImp::arrayOfMatches(ExecState *exec, const UString &result) const { List list; - // The returned array tqcontains 'result' as first item, followed by the list of matches + // The returned array contains 'result' as first item, followed by the list of matches list.append(String(result)); if ( lastOvector ) for ( unsigned int i = 1 ; i < lastNrSubPatterns + 1 ; ++i ) @@ -292,7 +292,7 @@ RegExp* RegExpObjectImp::makeEngine(ExecState *exec, const UString &p, const Val // Check for validity of flags for (int pos = 0; pos < flags.size(); ++pos) { - switch (flags[pos].tqunicode()) { + switch (flags[pos].unicode()) { case 'g': case 'i': case 'm': @@ -306,9 +306,9 @@ RegExp* RegExpObjectImp::makeEngine(ExecState *exec, const UString &p, const Val } } - bool global = (flags.tqfind("g") >= 0); - bool ignoreCase = (flags.tqfind("i") >= 0); - bool multiline = (flags.tqfind("m") >= 0); + bool global = (flags.find("g") >= 0); + bool ignoreCase = (flags.find("i") >= 0); + bool multiline = (flags.find("m") >= 0); int reflags = RegExp::None; if (global) -- cgit v1.2.1