diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/shapes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index abb57d48b807..62142614676c 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -1059,7 +1059,7 @@ void ShapeExport::WriteGraphicObjectShapePart( const Reference< XShape >& xShape // avoid treating all 'IsPresentationObject' objects as having text. Reference< XSimpleText > xText( xShape, UNO_QUERY ); - if( xText.is() && xText->getString().getLength() ) + if( xText.is() && !xText->getString().isEmpty() ) { SAL_INFO("oox.shape", "graphicObject: wrote only text"); |