summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx15
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