From e86f4d3a8fad72123c51d1c272246cd0890ddecd Mon Sep 17 00:00:00 2001 From: Popa Adrian Marius Date: Thu, 26 Mar 2015 15:30:04 +0200 Subject: Cleanup comments for easyhacks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic6bd4d277bc464bf96573ba95c0cf5c0cc96ab73 Reviewed-on: https://gerrit.libreoffice.org/15019 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/sdr/overlay/overlaymanagerbuffered.cxx | 46 ----------------------- 1 file changed, 46 deletions(-) (limited to 'svx') 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); -- cgit