summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/tabfrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-17 13:57:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-18 10:30:10 +0200
commit2ac038e2b3e2ac70a4a351e21528f00da33e04ec (patch)
tree9f623511bcb96af4d9361c3af1f7d4beea521ac9 /sw/source/core/layout/tabfrm.cxx
parent2785ea58db8449a1ac843b40071e5c854484f6c7 (diff)
loplugin:virtualdead unused param in SwFlowFrame::ShouldBwdMoved
Change-Id: Ife69fe8c9023682278c02d037d35d15bd015f127 Reviewed-on: https://gerrit.libreoffice.org/81014 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/tabfrm.cxx')
-rw-r--r--sw/source/core/layout/tabfrm.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 7333acc59c9d..b7ffcceabdd5 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -2053,7 +2053,7 @@ void SwTabFrame::MakeAll(vcl::RenderContext* pRenderContext)
{
SwTabFrame *pMaster = FindMaster();
bool bDummy;
- if ( ShouldBwdMoved( pMaster->GetUpper(), false, bDummy ) )
+ if ( ShouldBwdMoved( pMaster->GetUpper(), bDummy ) )
pMaster->InvalidatePos();
}
}
@@ -2143,7 +2143,7 @@ void SwTabFrame::MakeAll(vcl::RenderContext* pRenderContext)
if ( !bSplit && GetFollow() )
{
bool bDummy;
- if ( GetFollow()->ShouldBwdMoved( GetUpper(), false, bDummy ) )
+ if ( GetFollow()->ShouldBwdMoved( GetUpper(), bDummy ) )
{
SwFrame *pTmp = GetUpper();
SwTwips nDeadLine = aRectFnSet.GetPrtBottom(*pTmp);
@@ -3418,7 +3418,7 @@ SwContentFrame *SwTabFrame::FindLastContent()
}
/// Return value defines if the frm needs to be relocated
-bool SwTabFrame::ShouldBwdMoved( SwLayoutFrame *pNewUpper, bool, bool &rReformat )
+bool SwTabFrame::ShouldBwdMoved( SwLayoutFrame *pNewUpper, bool &rReformat )
{
rReformat = false;
if ( SwFlowFrame::IsMoveBwdJump() || !IsPrevObjMove() )