summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorPopa Adrian Marius <mapopa@gmail.com>2015-03-26 15:30:04 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-03-26 14:05:01 +0000
commite86f4d3a8fad72123c51d1c272246cd0890ddecd (patch)
tree3adc7f3c272153e27ded29b96e1f96d3d0a9fc63 /svx
parent3c22024f41029dd4c1dca6b265d1fd0f14fc2f95 (diff)
Cleanup comments for easyhacks
Change-Id: Ic6bd4d277bc464bf96573ba95c0cf5c0cc96ab73 Reviewed-on: https://gerrit.libreoffice.org/15019 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sdr/overlay/overlaymanagerbuffered.cxx46
1 files changed, 0 insertions, 46 deletions
diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
index 8766b5a7fe77..09a42d215165 100644
--- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
+++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
@@ -146,34 +146,6 @@ namespace sdr
maBufferDevice);
}
- //Region aRegionPixel(rRegionPixel);
- //RegionHandle aRegionHandle(aRegionPixel.BeginEnumRects());
- //Rectangle aRegionRectanglePixel;
-
- //while(aRegionPixel.GetEnumRects(aRegionHandle, aRegionRectanglePixel))
- //{
-#ifdef DBG_U//TIL
- // // #i72754# possible graphical region test only with non-pro
- // static bool bDoPaintForVisualControl(false);
- // if(bDoPaintForVisualControl)
- // {
- // getOutputDevice().SetLineColor(COL_LIGHTGREEN);
- // getOutputDevice().SetFillColor();
- // getOutputDevice().DrawRect(aRegionRectanglePixel);
- // }
-#endif
- // // restore the area
- // const Point aTopLeft(aRegionRectanglePixel.TopLeft());
- // const Size aSize(aRegionRectanglePixel.GetSize());
-
- // getOutputDevice().DrawOutDev(
- // aTopLeft, aSize, // destination
- // aTopLeft, aSize, // source
- // maBufferDevice);
- //}
-
- //aRegionPixel.EndEnumRects(aRegionHandle);
-
// restore MapModes
getOutputDevice().EnableMapMode(bMapModeWasEnabledDest);
((OverlayManagerBuffered*)this)->maBufferDevice.EnableMapMode(bMapModeWasEnabledSource);
@@ -229,24 +201,6 @@ namespace sdr
rSource);
}
- //RegionHandle aRegionHandle(aRegion.BeginEnumRects());
- //Rectangle aRegionRectanglePixel;
-
- //while(aRegion.GetEnumRects(aRegionHandle, aRegionRectanglePixel))
- //{
- // // for each rectangle, save the area
- // Point aTopLeft(aRegionRectanglePixel.TopLeft());
- // Size aSize(aRegionRectanglePixel.GetSize());
-
- // maBufferDevice.DrawOutDev(
- // aTopLeft, aSize, // destination
- // aTopLeft, aSize, // source
- // rSource);
-
- //}
-
- //aRegion.EndEnumRects(aRegionHandle);
-
// restore MapModes
rSource.EnableMapMode(bMapModeWasEnabledDest);
maBufferDevice.EnableMapMode(bMapModeWasEnabledSource);