summaryrefslogtreecommitdiff
path: root/cppuhelper/test
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-09 21:47:17 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-09 21:47:31 +0100
commit6dddefc6e7ff6dc5cde46dde069ba1d7db4ac34b (patch)
tree7dafa2c2f9ac052a8b371f70c267c5c847dd2c5a /cppuhelper/test
parentd9a3752143027bbf0d9383074fd378631309a3b0 (diff)
fdo#43460: use isEmpty()
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
Diffstat (limited to 'cppuhelper/test')
-rw-r--r--cppuhelper/test/testdefaultbootstrapping.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/test/testdefaultbootstrapping.cxx b/cppuhelper/test/testdefaultbootstrapping.cxx
index ba822ff2dc5b..a61c5d930c9d 100644
--- a/cppuhelper/test/testdefaultbootstrapping.cxx
+++ b/cppuhelper/test/testdefaultbootstrapping.cxx
@@ -49,7 +49,7 @@ SAL_IMPLEMENT_MAIN()
OUString arg;
rtl_getAppCommandArg(i, &arg.pData);
- if (arg.getLength())
+ if (!arg.isEmpty())
{
Reference<XInterface> xInterface = smgr->createInstance(arg);
OString tmp = OUStringToOString(arg, RTL_TEXTENCODING_ASCII_US);