diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-03-13 11:42:31 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-04-18 11:29:36 +0200 |
commit | 796396c21cd398834a34395cfbe15ae1c7b7a845 (patch) | |
tree | 05a049a978a33a5101d3cde78bd15831fae13c7a /svx | |
parent | 9697c0275a4c36117a95ccb702c16b3ff7716cfd (diff) |
LOK - Calc: commit 92716ab follow-up
This patch is a follow-up for commit: 92716ab (Images are not painted
below row 1000).
There is no need to set the origin to (0,0) when checking the view
range / object range overlapping.
Change-Id: Id9fe9364155edd5a50c2d60ab08dd0bdcd1f568a
Reviewed-on: https://gerrit.libreoffice.org/36588
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/contact/objectcontactofpageview.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index b108ff5479ad..21dbd3476339 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -229,23 +229,8 @@ namespace sdr aViewRange.intersect(aDiscreteClipRange); } - const MapMode aOrigMapMode = rTargetOutDev.GetMapMode(); - if (comphelper::LibreOfficeKit::isActive() && - comphelper::LibreOfficeKit::isLocalRendering()) - { - MapMode aMapMode = aOrigMapMode; - aMapMode.SetOrigin(Point()); - rTargetOutDev.SetMapMode(aMapMode); - } - // transform to world coordinates aViewRange.transform(rTargetOutDev.GetInverseViewTransformation()); - - if (comphelper::LibreOfficeKit::isActive() && - comphelper::LibreOfficeKit::isLocalRendering()) - { - rTargetOutDev.SetMapMode(aOrigMapMode); - } } // update local ViewInformation2D |