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:28:36 +0200 |
commit | 1cdb526f4f6a81f6dfc2756585fa3fd4bf4c674d (patch) | |
tree | c3ed5336aa3c9c3c9c9dc70b3564131e2b9b9d60 /svx/source/sdr | |
parent | 324adfcc2c3aa5d3590a38fadca2af7cd9125b47 (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/36586
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'svx/source/sdr')
-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 8643cfd30324..552ac31866bf 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 |