summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/updateprotocol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/check/updateprotocol.cxx')
-rw-r--r--extensions/source/update/check/updateprotocol.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/update/check/updateprotocol.cxx b/extensions/source/update/check/updateprotocol.cxx
index a20208d4a0a5..bc268e8cab6b 100644
--- a/extensions/source/update/check/updateprotocol.cxx
+++ b/extensions/source/update/check/updateprotocol.cxx
@@ -64,18 +64,18 @@ getBootstrapData(
{
rBuildID = UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":ProductBuildid}" );
rtl::Bootstrap::expandMacros( rBuildID );
- if ( ! rBuildID.getLength() )
+ if ( rBuildID.isEmpty() )
return false;
rInstallSetID = UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateID}" );
rtl::Bootstrap::expandMacros( rInstallSetID );
- if ( ! rInstallSetID.getLength() )
+ if ( rInstallSetID.isEmpty() )
return false;
rtl::OUString aValue( UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateURL}" ) );
rtl::Bootstrap::expandMacros( aValue );
- if( aValue.getLength() > 0 )
+ if( !aValue.isEmpty() )
{
rRepositoryList.realloc(1);
rRepositoryList[0] = aValue;