diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index 01dc77dac24f..4abb4975a789 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -2672,7 +2672,7 @@ void SwBasicEscherEx::WriteOLEPicture(EscherPropertyContainer &rPropOpt, GraphicObject aGraphicObject(rGraphic); rtl::OString aId = aGraphicObject.GetUniqueID(); - if (!aId.getLength()) + if (!aId.isEmpty()) { Rectangle aRect = rObj.GetLogicRect(); aRect.SetPos(Point(0,0));