summaryrefslogtreecommitdiff
path: root/sal/qa
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-09 17:44:52 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-09 20:32:40 +0100
commitd2f57b6c1275e0e6ed7f214d471ddb84ecb1b4ad (patch)
tree1728c15960c67ec9cc322e83ed37e0dc8e1f51b6 /sal/qa
parenta2454a42ad2236f0f6b88be166bc7e6a8f90f036 (diff)
fdo#43460: use isEmpty()
Change-Id: I47b35af71277fdda19767a553c960bf12164b92f
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
index 297777178b4c..0cab17f5b546 100644
--- a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
+++ b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
@@ -177,7 +177,7 @@ namespace rtl_Bootstrap
rtl::OUString suGetname;
aBootstrap.getIniName( suGetname );
printUString( suGetname );
- CPPUNIT_ASSERT_MESSAGE("ctor error without initial file.", suGetname.getLength() != 0 );
+ CPPUNIT_ASSERT_MESSAGE("ctor error without initial file.", !suGetname.isEmpty() );
}
CPPUNIT_TEST_SUITE(ctor);
@@ -238,7 +238,7 @@ namespace rtl_Bootstrap
rtl::OUString suValuename ("INHERITED_VALUE");
aBootstrap.getFrom( suValuename, suGetname );
printUString( suGetname );
- CPPUNIT_ASSERT_MESSAGE("get the value of a variable in ini file.", suGetname.getLength() != 0 );
+ CPPUNIT_ASSERT_MESSAGE("get the value of a variable in ini file.", !suGetname.isEmpty());
}
//use defaut value
@@ -440,7 +440,7 @@ namespace rtl_Bootstrap
rtl::OUString suValuename("INHERITED_VALUE");
Bootstrap::get( suValuename, suGetname );
printUString( suGetname );
- CPPUNIT_ASSERT_MESSAGE("setIniFilename and get value of the argument.", suGetname.getLength() != 0 );
+ CPPUNIT_ASSERT_MESSAGE("setIniFilename and get value of the argument.", !suGetname.isEmpty());
}
CPPUNIT_TEST_SUITE(setIniFilename);