svx/source/sdr/contact/objectcontactofpageview.cxx | 15 --------------- 1 file changed, 15 deletions(-)
New commits: commit 1cdb526f4f6a81f6dfc2756585fa3fd4bf4c674d Author: Marco Cecchetti <marco.cecche...@collabora.com> Date: Mon Mar 13 11:42:31 2017 +0100 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 <c...@libreoffice.org> Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits