diff options
-rw-r--r-- | svx/source/sdr/overlay/overlaymanagerbuffered.cxx | 46 |
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); |