summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/sectfrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-15 09:13:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-15 12:56:26 +0000
commit0d051730156f633150fa9e3107fe97cf7be6d8f9 (patch)
tree73a29cd8f7f6c3630088c74f52cb53c948eb4ba5 /sw/source/core/layout/sectfrm.cxx
parentd2e9d3d0ed42f0fc24255c64546d8d256ca33aae (diff)
loplugin:constantparam
Change-Id: Iced8ff99d52d55e6b6c3126affafbea6786e94f0 Reviewed-on: https://gerrit.libreoffice.org/30858 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/sectfrm.cxx')
-rw-r--r--sw/source/core/layout/sectfrm.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index 4c7988931a93..7fbb23ff8e77 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -338,7 +338,7 @@ void SwSectionFrame::Paste( SwFrame* pParent, SwFrame* pSibling )
pTmp = pTmp->GetNext();
SwFrame* pSave = ::SaveContent( pCol );
if (pSave)
- ::RestoreContent( pSave, pSibling->GetUpper(), pTmp, true );
+ ::RestoreContent( pSave, pSibling->GetUpper(), pTmp );
}
}
}
@@ -449,7 +449,7 @@ void SwSectionFrame::MergeNext( SwSectionFrame* pNxt )
pLast = pLast->GetNext();
}
}
- ::RestoreContent( pTmp, pLay, pLast, true );
+ ::RestoreContent( pTmp, pLay, pLast );
}
SetFollow( pNxt->GetFollow() );
pNxt->SetFollow( nullptr );
@@ -493,7 +493,7 @@ bool SwSectionFrame::SplitSect( SwFrame* pFrame, bool bApres )
// Search for last layout frame, e.g. for columned sections.
while( pLay->Lower() && pLay->Lower()->IsLayoutFrame() )
pLay = static_cast<SwLayoutFrame*>(pLay->Lower());
- ::RestoreContent( pSav, pLay, nullptr, true );
+ ::RestoreContent( pSav, pLay, nullptr );
}
InvalidateSize_();
if( HasFollow() )
@@ -681,7 +681,7 @@ void SwSectionFrame::MoveContentAndDelete( SwSectionFrame* pDel, bool bSave )
if( pSave )
{
lcl_InvalidateInfFlags( pSave, bSize );
- ::RestoreContent( pSave, pUp, pPrv, true );
+ ::RestoreContent( pSave, pUp, pPrv );
pUp->FindPageFrame()->InvalidateContent();
if( !bOldFootnote )
static_cast<SwFootnoteFrame*>(pUp)->ColUnlock();