diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-22 15:35:41 -0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2011-12-23 09:36:43 +0100 |
commit | 0fd40fe17bf67f81db44ef187ce67193ba1696cb (patch) | |
tree | e3d8ebfa3abcfc533f2e2419aa60385114dd67d1 /extensions/source/update/check/updateprotocol.cxx | |
parent | 9ea15fea21487b82636bae516a220bf15f805a84 (diff) |
Fix for fdo43460 Part XVI getLength() to isEmpty()
Part XVI
Module
extensions
Diffstat (limited to 'extensions/source/update/check/updateprotocol.cxx')
-rw-r--r-- | extensions/source/update/check/updateprotocol.cxx | 6 |
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; |