diff options
Diffstat (limited to 'uui/source/iahndl-errorhandler.cxx')
-rw-r--r-- | uui/source/iahndl-errorhandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx index 05530fcb7d1f..328f671bbcdd 100644 --- a/uui/source/iahndl-errorhandler.cxx +++ b/uui/source/iahndl-errorhandler.cxx @@ -61,7 +61,7 @@ executeErrorDialog( SolarMutexGuard aGuard; rtl::OUStringBuffer aText(rContext); - if (rContext.getLength() != 0 && rMessage.getLength() != 0) + if (!rContext.isEmpty() && !rMessage.isEmpty()) aText.appendAscii(RTL_CONSTASCII_STRINGPARAM(":\n")); //TODO! must be internationalized aText.append(rMessage); @@ -265,7 +265,7 @@ UUIInteractionHelper::handleErrorHandlerRequest( //TODO! remove this backwards compatibility? rtl::OUString aContext(getContextProperty()); - if (aContext.getLength() == 0 && nErrorCode != 0) + if (aContext.isEmpty() && nErrorCode != 0) { SolarMutexGuard aGuard; ErrorContext * pContext = ErrorContext::GetContext(); |