summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/hffrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 15:52:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 20:52:47 +0200
commitfb8b0585d9b821d1981153f27db55b5e9d768e7b (patch)
treec419427f652facbf70fcc44a9fe628083ba87c5f /sw/source/core/layout/hffrm.cxx
parent3f16306964d5bb81dda3c681bcabbacadf424e7b (diff)
loplugin:checkunusedparams in sw
Change-Id: I8a6b2647375a54720cd9fd765cc51c9ff43c8190 Reviewed-on: https://gerrit.libreoffice.org/40682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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();