diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-05 16:13:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-05 16:13:50 +0100 |
commit | 951befe8705b6bbd2cceb19161705ec8fb2d2864 (patch) | |
tree | ff9b6894bff1ef7dfce3b5ec4faecac434e18c8e /oox | |
parent | 3cd39b91f872ca32b09a362de2cb0efaf0e2ba3b (diff) |
getLength -> isEmpty
Change-Id: I5a8c2911851d1a798d8c6f3c25b08cb0469f07a0
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"); |