summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-16 15:46:57 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-16 18:49:04 -0200
commit81e50fb2e378120d05f7ffdee216ce6e248e189b (patch)
tree0fa6f4779bb3b4970e4720bef4ac36c90514b45c /testtools
parent69d91300547f6ed45a9a499ffae71c2c0f91c441 (diff)
Fix for fdo43460 Part XXXIX getLength() to isEmpty()
Part XXXIX Modules testtools, toolkit, tools
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index 27af77bc796c..46435fb7e2d6 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -100,7 +100,7 @@ static bool check( bool b , char const * message )
namespace {
bool checkEmpty(rtl::OUString const & string, char const * message) {
- bool ok = string.getLength() == 0;
+ bool ok = string.isEmpty();
if (!ok) {
fprintf(
stderr, "%s failed: %s\n", message,
@@ -593,7 +593,7 @@ static sal_Bool performTest(
bRet &= check(
xLBT->getNullPolyLong().member == 0, "getNullPolyLong");
bRet &= check(
- xLBT->getNullPolyString().member.getLength() == 0,
+ xLBT->getNullPolyString().member.isEmpty(),
"getNullPolyString");
bRet &= check(
xLBT->getNullPolyType().member == Type(),