summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-10 00:36:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 09:06:53 +0100
commit5805c3fe6bbbf49c7b1fb2fd2ac5d48e84b746ae (patch)
treeaa4dc28c826d3db27bf1f3ab3d3a06717aa4f945 /sw
parent5edc4c7a40107fc20a261ccca8b701e343557d3f (diff)
callcatcher: unused lcl_SubLeftRight
Diffstat (limited to 'sw')
-rwxr-xr-xsw/source/core/layout/paintfrm.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 6e61eb311ca8..bd68607ccddb 100755
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -4289,26 +4289,6 @@ void MA_FASTCALL lcl_SubTopBottom( SwRect& _iorRect,
}
}
-// method called for top and bottom border rectangles.
-void MA_FASTCALL lcl_SubLeftRight( SwRect& rRect,
- const SvxBoxItem& rBox,
- const SwRectFn& rRectFn )
-{
- if ( rBox.GetLeft() && rBox.GetLeft()->GetInWidth() )
- {
- const long nDist = ::lcl_MinWidthDist( rBox.GetLeft()->GetDistance() )
- + ::lcl_AlignWidth( rBox.GetLeft()->GetOutWidth() );
- (rRect.*rRectFn->fnSubLeft)( -nDist );
- }
-
- if ( rBox.GetRight() && rBox.GetRight()->GetInWidth() )
- {
- const long nDist = ::lcl_MinWidthDist( rBox.GetRight()->GetDistance() )
- + ::lcl_AlignWidth( rBox.GetRight()->GetOutWidth() );
- (rRect.*rRectFn->fnAddRight)( -nDist );
- }
-}
-
sal_uInt16 lcl_GetLineWidth( const SvxBorderLine* pLine )
{
sal_uInt16 result = 0;