summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-22 13:18:30 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-22 14:56:37 +0100
commit1c5246a8c454c9af20bb73ec87bc7aca7dc0030b (patch)
treef3ec5c47f7935ed08b9c4842117caa98491815be
parent70c15946ac5b2f481fed3c6e79f496196feb1b22 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx4
1 files changed, 0 insertions, 4 deletions
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)