diff options
Diffstat (limited to 'oox/source/ppt/pptimport.cxx')
-rw-r--r-- | oox/source/ppt/pptimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx index e542e5353971..e64f89b6cb41 100644 --- a/oox/source/ppt/pptimport.cxx +++ b/oox/source/ppt/pptimport.cxx @@ -174,7 +174,7 @@ sal_Bool SAL_CALL PowerPointImport::filter( const Sequence< PropertyValue >& rDe const oox::drawingml::table::TableStyleListPtr PowerPointImport::getTableStyles() { - if ( !mpTableStyleList && maTableStyleListPath.getLength() ) + if ( !mpTableStyleList && !maTableStyleListPath.isEmpty() ) { mpTableStyleList = oox::drawingml::table::TableStyleListPtr( new oox::drawingml::table::TableStyleList() ); importFragment( new oox::drawingml::table::TableStyleListFragmentHandler( |