summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/updatehdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/check/updatehdl.cxx')
-rw-r--r--extensions/source/update/check/updatehdl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx
index 439927baa943..2dc19c9e1e61 100644
--- a/extensions/source/update/check/updatehdl.cxx
+++ b/extensions/source/update/check/updatehdl.cxx
@@ -555,7 +555,7 @@ void UpdateHandler::updateState( UpdateState eState )
setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msUpdFound) ) );
sText = substVariables(msDownloadWarning);
- if ( msDescriptionMsg.getLength() )
+ if ( !msDescriptionMsg.isEmpty() )
sText += UNISTRING("\n\n") + msDescriptionMsg;
setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( sText ) );
@@ -568,7 +568,7 @@ void UpdateHandler::updateState( UpdateState eState )
setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msUpdFound) ) );
sText = substVariables(msDownloadNotAvail);
- if ( msDescriptionMsg.getLength() )
+ if ( !msDescriptionMsg.isEmpty() )
sText += UNISTRING("\n\n") + msDescriptionMsg;
setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( sText ) );