summaryrefslogtreecommitdiffstats
path: root/oox/source/helper/zipstorage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/helper/zipstorage.cxx')
-rw-r--r--oox/source/helper/zipstorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/helper/zipstorage.cxx b/oox/source/helper/zipstorage.cxx
index 0c455bc8948f..2dbf3cdf2700 100644
--- a/oox/source/helper/zipstorage.cxx
+++ b/oox/source/helper/zipstorage.cxx
@@ -114,7 +114,7 @@ void ZipStorage::implGetElementNames( ::std::vector< OUString >& orElementNames
if( mxStorage.is() ) try
{
aNames = mxStorage->getElementNames();
- if( aNames.getLength() > 0 )
+ if( aNames.hasElements() )
orElementNames.insert( orElementNames.end(), aNames.begin(), aNames.end() );
}
catch (Exception const& e)