diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-04 16:10:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 08:50:46 +0200 |
commit | ac11e45bad895e9f7de0b38fe22b7f2acf8c8e4b (patch) | |
tree | d16f934544638622cc9f511ef64cc2dd2425b600 /svx/source/table/svdotable.cxx | |
parent | ec38966951f28a1e1d4c97f01a550c87f152cbc8 (diff) |
loplugin:checkunusedparams in svx(part4)
Change-Id: I032b49f4e1228ef275d7ff8d87ba969dcef687ab
Reviewed-on: https://gerrit.libreoffice.org/37248
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/table/svdotable.cxx')
-rw-r--r-- | svx/source/table/svdotable.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 1e44e1f23e09..4c51d4149465 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -201,7 +201,7 @@ public: std::vector<std::unique_ptr<SdrUndoAction>> maUndos; bool mbSkipChangeLayout; - void SetModel(SdrModel* pOldModel, SdrModel* pNewModel); + void SetModel(SdrModel* pNewModel); CellRef getCell( const CellPos& rPos ) const; void LayoutTable( tools::Rectangle& rArea, bool bFitWidth, bool bFitHeight ); @@ -323,7 +323,7 @@ SdrTableObjImpl& SdrTableObjImpl::operator=( const SdrTableObjImpl& rSource ) } -void SdrTableObjImpl::SetModel(SdrModel* /*pOldModel*/, SdrModel* pNewModel) +void SdrTableObjImpl::SetModel(SdrModel* pNewModel) { // try to find new table style disconnectTableStyle(); @@ -1369,7 +1369,7 @@ void SdrTableObj::SetModel(SdrModel* pNewModel) if( mpImpl.is() ) { - mpImpl->SetModel( pOldModel, pNewModel ); + mpImpl->SetModel( pNewModel ); if( !maLogicRect.IsEmpty() ) { @@ -1381,14 +1381,14 @@ void SdrTableObj::SetModel(SdrModel* pNewModel) } -void SdrTableObj::TakeTextRect( SdrOutliner& rOutliner, tools::Rectangle& rTextRect, bool bNoEditText, tools::Rectangle* pAnchorRect, bool bLineWidth ) const +void SdrTableObj::TakeTextRect( SdrOutliner& rOutliner, tools::Rectangle& rTextRect, bool bNoEditText, tools::Rectangle* pAnchorRect, bool /*bLineWidth*/ ) const { if( mpImpl.is() ) - TakeTextRect( mpImpl->maEditPos, rOutliner, rTextRect, bNoEditText, pAnchorRect, bLineWidth ); + TakeTextRect( mpImpl->maEditPos, rOutliner, rTextRect, bNoEditText, pAnchorRect ); } -void SdrTableObj::TakeTextRect( const CellPos& rPos, SdrOutliner& rOutliner, tools::Rectangle& rTextRect, bool bNoEditText, tools::Rectangle* pAnchorRect, bool /*bLineWidth*/ ) const +void SdrTableObj::TakeTextRect( const CellPos& rPos, SdrOutliner& rOutliner, tools::Rectangle& rTextRect, bool bNoEditText, tools::Rectangle* pAnchorRect ) const { if( !mpImpl.is()) return; |