diff options
Diffstat (limited to 'cppuhelper/test/testdefaultbootstrapping.cxx')
-rw-r--r-- | cppuhelper/test/testdefaultbootstrapping.cxx | 2 |
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); |