[Libreoffice-commits] core.git: svx/source
Marco Cecchetti
marco.cecchetti at collabora.com
Tue Apr 18 09:29:00 UTC 2017
svx/source/sdr/contact/objectcontactofpageview.cxx | 15 ---------------
1 file changed, 15 deletions(-)
New commits:
commit 1cdb526f4f6a81f6dfc2756585fa3fd4bf4c674d
Author: Marco Cecchetti <marco.cecchetti at 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 <ci at libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at 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
More information about the Libreoffice-commits
mailing list