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

Chris Sherlock chris.sherlock79 at gmail.com
Fri May 23 09:19:35 PDT 2014


 vcl/source/window/clipping.cxx |   20 --------------------
 1 file changed, 20 deletions(-)

New commits:
commit 943f82a50bbf003ce61e22cff27c3481573910d7
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Sat May 24 02:16:01 2014 +1000

    vcl: remove commented out code in ImplSysObjClip()
    
    Change-Id: I21f342ec0e065dccc08a777da6d4fba296a7f345

diff --git a/vcl/source/window/clipping.cxx b/vcl/source/window/clipping.cxx
index 96ad882..51ea523 100644
--- a/vcl/source/window/clipping.cxx
+++ b/vcl/source/window/clipping.cxx
@@ -190,7 +190,6 @@ void Window::ExpandPaintClipRegion( const Region& rRegion )
     }
 }
 
-
 Region Window::GetWindowClipRegionPixel( sal_uInt16 nFlags ) const
 {
 
@@ -458,24 +457,6 @@ bool Window::ImplSysObjClip( const Region* pOldRegion )
                     }
 
                     mpWindowImpl->mpSysObj->EndSetClipRegion();
-
-                    //long                nX;
-                    //long                nY;
-                    //long                nWidth;
-                    //long                nHeight;
-                    //sal_uLong               nRectCount;
-                    //ImplRegionInfo      aInfo;
-                    //sal_Bool                bRegionRect;
-
-                    //nRectCount = aRegion.GetRectCount();
-                    //mpWindowImpl->mpSysObj->BeginSetClipRegion( nRectCount );
-                    //bRegionRect = aRegion.ImplGetFirstRect( aInfo, nX, nY, nWidth, nHeight );
-                    //while ( bRegionRect )
-                    //{
-                    //    mpWindowImpl->mpSysObj->UnionClipRegion( nX, nY, nWidth, nHeight );
-                    //    bRegionRect = aRegion.ImplGetNextRect( aInfo, nX, nY, nWidth, nHeight );
-                    //}
-                    //mpWindowImpl->mpSysObj->EndSetClipRegion();
                 }
             }
             else
@@ -809,5 +790,4 @@ void Window::ImplCalcOverlapRegion( const Rectangle& rSourceRect, Region& rRegio
     }
 }
 
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list