diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-10 21:53:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-11 10:05:39 +0100 |
commit | 69b5f0b6579c6574a8fe68ab2a64208ec767db55 (patch) | |
tree | 1fafea3a72e113d0a915a1f79a2f4b3406d695a0 /svx/source/inc | |
parent | 4015b22dbc10bc246a3ef704d8b75e8f8cdca519 (diff) |
loplugin:constparams
Change-Id: I5f184f93dbdb414514855c85c9dc1624e7ec8636
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131337
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/inc')
-rw-r--r-- | svx/source/inc/filtnav.hxx | 2 | ||||
-rw-r--r-- | svx/source/inc/fmexpl.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx index 34343d9c0af4..47af4017a7f3 100644 --- a/svx/source/inc/filtnav.hxx +++ b/svx/source/inc/filtnav.hxx @@ -273,7 +273,7 @@ private: void DeleteSelection(); std::unique_ptr<weld::TreeIter> FindEntry(const FmFilterData* pItem) const; - void Insert(FmFilterData* pItem, int nPos); + void Insert(const FmFilterData* pItem, int nPos); void Remove(FmFilterData const * pItem); DECL_LINK(OnRemove, void*, void); diff --git a/svx/source/inc/fmexpl.hxx b/svx/source/inc/fmexpl.hxx index 572b563b7cd9..fc7823b699d9 100644 --- a/svx/source/inc/fmexpl.hxx +++ b/svx/source/inc/fmexpl.hxx @@ -409,7 +409,7 @@ namespace svxform FmControlData* NewControl(const OUString& rServiceName, const weld::TreeIter& rParentEntry, bool bEditName); void NewForm(const weld::TreeIter& rParentEntry); - std::unique_ptr<weld::TreeIter> Insert(FmEntryData* pEntryData, int nRelPos); + std::unique_ptr<weld::TreeIter> Insert(const FmEntryData* pEntryData, int nRelPos); void Remove( FmEntryData* pEntryData ); |