summaryrefslogtreecommitdiff
path: root/svx/source/sdr/overlay
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sdr/overlay')
-rw-r--r--svx/source/sdr/overlay/overlaymanager.cxx13
-rw-r--r--svx/source/sdr/overlay/overlaymanagerbuffered.cxx12
2 files changed, 4 insertions, 21 deletions
diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx
index 14460a3ac605..63909dc3344b 100644
--- a/svx/source/sdr/overlay/overlaymanager.cxx
+++ b/svx/source/sdr/overlay/overlaymanager.cxx
@@ -128,15 +128,10 @@ namespace sdr
{
// set Property 'ReducedDisplayQuality' to true to allow simpler interaction
// visualisations
- static bool bUseReducedDisplayQualityForDrag(true);
-
- if(bUseReducedDisplayQualityForDrag)
- {
- uno::Sequence< beans::PropertyValue > xProperties(1);
- xProperties[0].Name = "ReducedDisplayQuality";
- xProperties[0].Value <<= true;
- maViewInformation2D = drawinglayer::geometry::ViewInformation2D(xProperties);
- }
+ uno::Sequence< beans::PropertyValue > xProperties(1);
+ xProperties[0].Name = "ReducedDisplayQuality";
+ xProperties[0].Value <<= true;
+ maViewInformation2D = drawinglayer::geometry::ViewInformation2D(xProperties);
}
rtl::Reference<OverlayManager> OverlayManager::create(OutputDevice& rOutputDevice)
diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
index f551bb559385..dfe2c4eaf87f 100644
--- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
+++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
@@ -123,18 +123,6 @@ namespace sdr
for(const auto& rRect : aRectangles)
{
-#ifdef DBG_UTIL
- // #i72754# possible graphical region test only with non-pro
- static bool bDoPaintForVisualControl(false);
-
- if(bDoPaintForVisualControl)
- {
- getOutputDevice().SetLineColor(COL_LIGHTGREEN);
- getOutputDevice().SetFillColor();
- getOutputDevice().DrawRect(rRect);
- }
-#endif
-
// restore the area
const Point aTopLeft(rRect.TopLeft());
const Size aSize(rRect.GetSize());