summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-08-25 10:59:52 +0100
committerNoel Power <noel.power@novell.com>2011-08-25 11:01:03 +0100
commite85d1601278cd193babddbb0d01d1bc62ab4972e (patch)
tree40dc5482781d8147483d2ccf82c8910effb8cb46
parenta352018c76028b332ccc50be6ee12c16f75aac25 (diff)
fix ole control export ( bad string lenght check )
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx2
1 files changed, 1 insertions, 1 deletions
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));