fix ole control export ( bad string lenght check )
This commit is contained in:
parent
a352018c76
commit
e85d160127
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue