From 0649622956431e0a1955cb80d1175025401ab5e5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Feb 2017 10:15:34 +0200 Subject: loplugin:unusedmethods Change-Id: I52a9f16f3ed543a3c83ca111df70e3f7ae1ef33c Reviewed-on: https://gerrit.libreoffice.org/34508 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sd/inc/sdpage.hxx | 3 +-- sd/source/core/sdpage.cxx | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'sd') diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx index 6b5c15655434..dd1ed957a895 100644 --- a/sd/inc/sdpage.hxx +++ b/sd/inc/sdpage.hxx @@ -194,8 +194,7 @@ public: void CreateTitleAndLayout(bool bInit=false, bool bCreate=false); SdrObject* InsertAutoLayoutShape(SdrObject* pObj, PresObjKind eObjKind, bool bVertical, const Rectangle& rRect, bool bInit); - virtual void NbcInsertObject(SdrObject* pObj, size_t nPos=SAL_MAX_SIZE, - const SdrInsertReason* pReason=nullptr) override; + virtual void NbcInsertObject(SdrObject* pObj, size_t nPos=SAL_MAX_SIZE) override; virtual SdrObject* NbcRemoveObject(size_t nObjNum) override; virtual SdrObject* RemoveObject(size_t nObjNum) override; diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index 15e35df6f3ec..70326eaae0f1 100644 --- a/sd/source/core/sdpage.cxx +++ b/sd/source/core/sdpage.cxx @@ -1645,9 +1645,9 @@ void SdPage::SetAutoLayout(AutoLayout eLayout, bool bInit, bool bCreate ) |* \************************************************************************/ -void SdPage::NbcInsertObject(SdrObject* pObj, size_t nPos, const SdrInsertReason* pReason) +void SdPage::NbcInsertObject(SdrObject* pObj, size_t nPos) { - FmFormPage::NbcInsertObject(pObj, nPos, pReason); + FmFormPage::NbcInsertObject(pObj, nPos); static_cast(pModel)->InsertObject(pObj, this); -- cgit