[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Mon Jan 22 13:57:03 UTC 2018
sw/source/filter/ww8/wrtw8esh.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 1c5246a8c454c9af20bb73ec87bc7aca7dc0030b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jan 22 13:18:30 2018 +0000
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/48324
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index 522d9de719bd..d50b66776a42 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -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)
More information about the Libreoffice-commits
mailing list