oox/source/export/shapes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 951befe8705b6bbd2cceb19161705ec8fb2d2864 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Jan 5 16:13:50 2017 +0100 getLength -> isEmpty Change-Id: I5a8c2911851d1a798d8c6f3c25b08cb0469f07a0 diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index abb57d4..6214261 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"); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits