diff options
Diffstat (limited to 'libkcal/tests/testresource.cpp')
-rw-r--r-- | libkcal/tests/testresource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkcal/tests/testresource.cpp b/libkcal/tests/testresource.cpp index cd5174e2c..682518692 100644 --- a/libkcal/tests/testresource.cpp +++ b/libkcal/tests/testresource.cpp @@ -65,7 +65,7 @@ int main(int argc, char *argv[]) KApplication app; KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); - TQString type = TQString::null; + TQString type = TQString(); if ( args->getOption( "resource" ) ) type = TQString::fromLocal8Bit( args->getOption( "resource" ) ); KConfig *config = 0; @@ -133,9 +133,9 @@ void TestResource::runAll() bool TestResource::check(const TQString& txt, TQString a, TQString b) { if (a.isEmpty()) - a = TQString::null; + a = TQString(); if (b.isEmpty()) - b = TQString::null; + b = TQString(); if (a == b) { kdDebug() << txt << " : checking '" << a << "' against expected value '" << b << "'... " << "ok" << endl; } |