From 8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 26 Jul 2017 14:11:32 +0200 Subject: loplugin:constparams in svx and fix a bug in the plugin itself when calling operator's like the one on std::function<> Change-Id: I1617607107eeff06785c1841f69e13ad2926218e Reviewed-on: https://gerrit.libreoffice.org/40446 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/inc/filtnav.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svx/source/inc/filtnav.hxx') diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx index b22cb959a4f0..2e8b89007ad9 100644 --- a/svx/source/inc/filtnav.hxx +++ b/svx/source/inc/filtnav.hxx @@ -165,7 +165,7 @@ public: void Update(const css::uno::Reference< css::container::XIndexAccess > & xControllers, const css::uno::Reference< css::form::runtime::XFormController > & xCurrent); void Clear(); - bool ValidateText(FmFilterItem* pItem, OUString& rText, OUString& rErrorMsg) const; + bool ValidateText(FmFilterItem const * pItem, OUString& rText, OUString& rErrorMsg) const; void Append(FmFilterItems* pItems, FmFilterItem* pFilterItem); void SetTextForItem(FmFilterItem* pItem, const OUString& rText); @@ -269,7 +269,7 @@ protected: void DeleteSelection(); SvTreeListEntry* FindEntry(const FmFilterData* pItem) const; void Insert(FmFilterData* pItem, sal_uLong nPos); - void Remove(FmFilterData* pItem); + void Remove(FmFilterData const * pItem); DECL_LINK(OnRemove, void*, void); DECL_LINK(OnDropActionTimer, Timer*, void); @@ -318,7 +318,7 @@ public: virtual ~FmFilterNavigatorWin() override; virtual void dispose() override; - void UpdateContent( FmFormShell* pFormShell ); + void UpdateContent( FmFormShell const * pFormShell ); void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) override; void FillInfo( SfxChildWinInfo& rInfo ) const override; -- cgit