[Libreoffice-commits] core.git: svx/source

Popa Adrian Marius mapopa at gmail.com
Thu Mar 26 07:05:30 PDT 2015


 svx/source/sdr/overlay/overlaymanagerbuffered.cxx |   46 ----------------------
 1 file changed, 46 deletions(-)

New commits:
commit e86f4d3a8fad72123c51d1c272246cd0890ddecd
Author: Popa Adrian Marius <mapopa at gmail.com>
Date:   Thu Mar 26 15:30:04 2015 +0200

    Cleanup comments for easyhacks
    
    Change-Id: Ic6bd4d277bc464bf96573ba95c0cf5c0cc96ab73
    Reviewed-on: https://gerrit.libreoffice.org/15019
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
index 8766b5a..09a42d2 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);


More information about the Libreoffice-commits mailing list