[Libreoffice-commits] .: sw/source

Noel Power noelp at kemper.freedesktop.org
Thu Aug 25 03:00:24 PDT 2011


 sw/source/filter/ww8/wrtw8esh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e85d1601278cd193babddbb0d01d1bc62ab4972e
Author: Noel Power <noel.power at novell.com>
Date:   Thu Aug 25 10:59:52 2011 +0100

    fix ole control export ( bad string lenght check )

diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index 01dc77d..4abb497 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));


More information about the Libreoffice-commits mailing list