[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Oct 12 11:39:27 PDT 2012


 sw/source/core/layout/paintfrm.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit cc4568e57649367d3d611ce0732d86ee8b829d3c
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Oct 12 20:37:23 2012 +0200

    WaE -Wunused-function
    
    Change-Id: I201ee3b1092fce188d2bbc90aeb93059b175a03e

diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 2721e5c..a0f40cc 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -1362,13 +1362,6 @@ static long lcl_MinHeightDist( const long nDist )
     return ::lcl_AlignHeight( Max( nDist, nMinDistPixelH ));
 }
 
-static long lcl_MinWidthDist( const long nDist )
-{
-    if ( aScaleX < aMinDistScale || aScaleY < aMinDistScale )
-        return nDist;
-    return ::lcl_AlignWidth( Max( nDist, nMinDistPixelW ));
-}
-
 //Calculate PrtArea plus surrounding plus shadow.
 static void lcl_CalcBorderRect( SwRect &rRect, const SwFrm *pFrm,
                                         const SwBorderAttrs &rAttrs,


More information about the Libreoffice-commits mailing list