From e85d1601278cd193babddbb0d01d1bc62ab4972e Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 25 Aug 2011 10:59:52 +0100 Subject: fix ole control export ( bad string lenght check ) --- sw/source/filter/ww8/wrtw8esh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit