From 50e6713e40cd239f7e568f00ad7adf44bda3453f Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 17 Jun 2013 20:30:22 +0200 Subject: fdo#43460 oox: use isEmpty() Change-Id: If291a72d87001932c605755d628cecc088d50275 Reviewed-on: https://gerrit.libreoffice.org/4324 Reviewed-by: Noel Power Tested-by: Noel Power --- oox/source/helper/storagebase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox/source/helper') 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(); -- cgit