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

Chris Sherlock chris.sherlock79 at gmail.com
Fri Feb 7 12:16:47 PST 2014


 vcl/source/gdi/outdev.cxx |   17 -----------------
 1 file changed, 17 deletions(-)

New commits:
commit b634aa656a74e1f8ebeaf8a9092829294c49171d
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Fri Feb 7 22:50:28 2014 +1100

    Remove commented code in OutputDevice::ReMirror
    
    The following code was reimplemented in a cleaner fashion some time
    ago. However, it was just commented out and never removed. There is
    no need for it now, so removing. It's in the DVCS if it's really
    needed :-)
    
    Change-Id: Ia7d3c480ba70ccbd8dcf2808d9b712499c4cef4f
    Reviewed-on: https://gerrit.libreoffice.org/7913
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx
index 026b4b9..4d716b1 100644
--- a/vcl/source/gdi/outdev.cxx
+++ b/vcl/source/gdi/outdev.cxx
@@ -536,23 +536,6 @@ void    OutputDevice::ReMirror( Region &rRegion ) const
 
     rRegion = aMirroredRegion;
 
-//  long                nX;
-//  long                nY;
-//  long                nWidth;
-//  long                nHeight;
-//  ImplRegionInfo      aInfo;
-//  sal_Bool                bRegionRect;
-//    Region              aMirroredRegion;
-//
-//  bRegionRect = rRegion.ImplGetFirstRect( aInfo, nX, nY, nWidth, nHeight );
-//  while ( bRegionRect )
-//  {
-//        Rectangle aRect( Point(nX, nY), Size(nWidth, nHeight) );
-//        ImplReMirror( aRect );
-//        aMirroredRegion.Union( aRect );
-//      bRegionRect = rRegion.ImplGetNextRect( aInfo, nX, nY, nWidth, nHeight );
-//  }
-//    rRegion = aMirroredRegion;
 }
 
 SalGraphics* OutputDevice::ImplGetGraphics() const


More information about the Libreoffice-commits mailing list