summaryrefslogtreecommitdiffstats
path: root/lib/kross/runner/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/kross/runner/main.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/kross/runner/main.cpp')
-rw-r--r--lib/kross/runner/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kross/runner/main.cpp b/lib/kross/runner/main.cpp
index 570e2610..1093a47b 100644
--- a/lib/kross/runner/main.cpp
+++ b/lib/kross/runner/main.cpp
@@ -82,13 +82,13 @@ int runScriptFile(const TQString& scriptfile)
// We had an exception.
TQString errormessage = scriptcontainer->getException()->getError();
TQString tracedetails = scriptcontainer->getException()->getTrace();
- std::cerr << TQString("%2\n%1").tqarg(tracedetails).tqarg(errormessage).latin1() << std::endl;
+ std::cerr << TQString("%2\n%1").arg(tracedetails).arg(errormessage).latin1() << std::endl;
return ERROR_EXCEPTION;
}
}
catch(Kross::Api::Exception::Ptr e) {
// Normaly that shouldn't be the case...
- std::cerr << TQString("EXCEPTION %1").tqarg(e->toString()).latin1() << std::endl;
+ std::cerr << TQString("EXCEPTION %1").arg(e->toString()).latin1() << std::endl;
return ERROR_UNHALDEDEXCEPTION;
}
return ERROR_OK;