diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-06-17 20:30:22 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-06-17 19:55:17 +0000 |
commit | 50e6713e40cd239f7e568f00ad7adf44bda3453f (patch) | |
tree | b5daffb075b1a3a3ce797a9e06377e734eb3e4c6 /oox/source/helper | |
parent | af7cfa0071f5b2be33e9b887e6221c5047d21262 (diff) |
fdo#43460 oox: use isEmpty()
Change-Id: If291a72d87001932c605755d628cecc088d50275
Reviewed-on: https://gerrit.libreoffice.org/4324
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'oox/source/helper')
-rw-r--r-- | oox/source/helper/storagebase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/helper/storagebase.cxx b/oox/source/helper/storagebase.cxx index 7f4674f15e59..9088daeb2881 100644 --- a/oox/source/helper/storagebase.cxx +++ b/oox/source/helper/storagebase.cxx @@ -119,7 +119,7 @@ const OUString& StorageBase::getName() const OUString StorageBase::getPath() const { OUStringBuffer aBuffer( maParentPath ); - if( aBuffer.getLength() > 0 ) + if( !aBuffer.isEmpty() ) aBuffer.append( sal_Unicode( '/' ) ); aBuffer.append( maStorageName ); return aBuffer.makeStringAndClear(); |