diff options
Diffstat (limited to 'ucbhelper/source/provider/providerhelper.cxx')
-rw-r--r-- | ucbhelper/source/provider/providerhelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucbhelper/source/provider/providerhelper.cxx b/ucbhelper/source/provider/providerhelper.cxx index d161d93269d3..fd6cd8f0daa1 100644 --- a/ucbhelper/source/provider/providerhelper.cxx +++ b/ucbhelper/source/provider/providerhelper.cxx @@ -403,7 +403,7 @@ sal_Bool ContentProviderImplHelper::renameAdditionalPropertySet( aOldKeyWithSlash += rtl::OUString( sal_Unicode('/') ); aOldKeyWithoutSlash = rOldKey; } - else if ( rOldKey.getLength() ) + else if ( !rOldKey.isEmpty() ) aOldKeyWithoutSlash = rOldKey.copy( 0, rOldKey.getLength() - 1 ); @@ -490,7 +490,7 @@ sal_Bool ContentProviderImplHelper::copyAdditionalPropertySet( aSrcKeyWithSlash += rtl::OUString( sal_Unicode('/') ); aSrcKeyWithoutSlash = rSourceKey; } - else if ( rSourceKey.getLength() ) + else if ( !rSourceKey.isEmpty() ) aSrcKeyWithoutSlash = rSourceKey.copy( 0, rSourceKey.getLength() - 1 ); @@ -629,7 +629,7 @@ sal_Bool ContentProviderImplHelper::removeAdditionalPropertySet( aKeyWithSlash += rtl::OUString( (sal_Unicode)'/' ); aKeyWithoutSlash = rKey; } - else if ( rKey.getLength() ) + else if ( !rKey.isEmpty() ) aKeyWithoutSlash = rKey.copy( 0, rKey.getLength() - 1 ); |