summaryrefslogtreecommitdiffstats
path: root/khtml/test_regression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/test_regression.cpp')
-rw-r--r--khtml/test_regression.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/test_regression.cpp b/khtml/test_regression.cpp
index f80d82921..b53f20ba8 100644
--- a/khtml/test_regression.cpp
+++ b/khtml/test_regression.cpp
@@ -215,7 +215,7 @@ Value RegTestFunction::call(ExecState *exec, Object &/*thisObj*/, const List &ar
switch (id) {
case Print: {
UString str = args[0].toString(exec);
- if ( str.qstring().lower().tqfind( "failed!" ) >= 0 )
+ if ( str.qstring().lower().find( "failed!" ) >= 0 )
m_regTest->saw_failure = true;
TQString res = str.qstring().replace('\007', "");
m_regTest->m_currentOutput += res + "\n";
@@ -1077,7 +1077,7 @@ static TQString makeRelativePath(const TQString &base, const TQString &path)
int pos = 0;
do {
pos++;
- int newpos = absBase.tqfind('/', pos);
+ int newpos = absBase.find('/', pos);
if (newpos == -1) newpos = absBase.length();
TQConstString cmpPathComp(absPath.tqunicode() + pos, newpos - pos);
TQConstString cmpBaseComp(absBase.tqunicode() + pos, newpos - pos);