fix ole control export ( bad string lenght check )

This commit is contained in:
Noel Power 2011-08-25 10:59:52 +01:00
parent a352018c76
commit e85d160127

View file

@ -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));