From 951befe8705b6bbd2cceb19161705ec8fb2d2864 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 5 Jan 2017 16:13:50 +0100 Subject: getLength -> isEmpty Change-Id: I5a8c2911851d1a798d8c6f3c25b08cb0469f07a0 --- oox/source/export/shapes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox') 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"); -- cgit