summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8esh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/wrtw8esh.cxx')
-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));