summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/hffrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/hffrm.cxx')
-rw-r--r--sw/source/core/layout/hffrm.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx
index 35835e61148b..36c261f11088 100644
--- a/sw/source/core/layout/hffrm.cxx
+++ b/sw/source/core/layout/hffrm.cxx
@@ -81,8 +81,7 @@ static SwTwips lcl_CalcContentHeight(SwLayoutFrame & frm)
return nRemaining;
}
-static void lcl_LayoutFrameEnsureMinHeight(SwLayoutFrame & rFrame,
- const SwBorderAttrs * )
+static void lcl_LayoutFrameEnsureMinHeight(SwLayoutFrame & rFrame)
{
SwTwips nMinHeight = lcl_GetFrameMinHeight(rFrame);
@@ -405,7 +404,7 @@ void SwHeadFootFrame::Format(vcl::RenderContext* pRenderContext, const SwBorderA
}
else
{
- lcl_LayoutFrameEnsureMinHeight(*this, pAttrs);
+ lcl_LayoutFrameEnsureMinHeight(*this);
long nUL = pAttrs->CalcTop() + pAttrs->CalcBottom();