Kaydet (Commit) 1c5246a8 authored tarafından Caolán McNamara's avatar Caolán McNamara

crashtesting: dodgy aRect is unused anyway

assert on conversion fdo66047-1.odt to doc of too large long
from Fraction

Change-Id: I057eb41791eb3b454192540da5e1f1d099487839
Reviewed-on: https://gerrit.libreoffice.org/48324Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 70c15946
......@@ -2923,10 +2923,6 @@ void SwBasicEscherEx::WriteOLEPicture(EscherPropertyContainer &rPropOpt,
OString aId = aGraphicObject.GetUniqueID();
if (!aId.isEmpty())
{
tools::Rectangle aRect = rObj.GetLogicRect();
aRect.SetPos(Point(0,0));
aRect.Right() = DrawModelToEmu(aRect.Right());
aRect.Bottom() = DrawModelToEmu(aRect.Bottom());
sal_uInt32 nBlibId = mxGlobal->GetBlibID( *QueryPictureStream(),
aId, pVisArea); // SJ: the fourth parameter (VisArea) should be set..
if (nBlibId)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment