summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-10-12 20:37:23 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-10-12 20:37:23 +0200
commitcc4568e57649367d3d611ce0732d86ee8b829d3c (patch)
tree0dc3945e37be7460760240c2b05c2fd9690ccdef
parentd0bf1510632801e15f1f498320c90efb6d773d6e (diff)
WaE -Wunused-function
Change-Id: I201ee3b1092fce188d2bbc90aeb93059b175a03e
-rw-r--r--sw/source/core/layout/paintfrm.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 2721e5c3ebc1..a0f40cc3fd71 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,