summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 12:27:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 15:30:42 +0200
commit7cd179df80957b7daefab028cf35aebb1083b014 (patch)
treef76056c2eaf044088cd1dc8159136bac774500f0 /sfx2/source/appl
parente1482daecff877e3b0e22f1fc864e614376cb6b1 (diff)
loplugin:const& make some params and methods const
Change-Id: I2973128a9c6c53187e1da400d1a5df763d515596 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104020 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/newhelp.cxx2
-rw-r--r--sfx2/source/appl/newhelp.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 72637cbcdcaf..10e53fa6c435 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -234,7 +234,7 @@ void ContentTabPage_Impl::InitRoot()
}
}
-void ContentTabPage_Impl::ClearChildren(weld::TreeIter* pParent)
+void ContentTabPage_Impl::ClearChildren(const weld::TreeIter* pParent)
{
std::unique_ptr<weld::TreeIter> xEntry = m_xContentBox->make_iterator(pParent);
bool bEntry = m_xContentBox->iter_children(*xEntry);
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx
index 73df300dd6e3..25be4e6e3e12 100644
--- a/sfx2/source/appl/newhelp.hxx
+++ b/sfx2/source/appl/newhelp.hxx
@@ -72,7 +72,7 @@ private:
DECL_LINK(ExpandingHdl, const weld::TreeIter&, bool);
DECL_LINK(CollapsingHdl, const weld::TreeIter&, bool);
- void ClearChildren(weld::TreeIter* pParent);
+ void ClearChildren(const weld::TreeIter* pParent);
void InitRoot();
public:
ContentTabPage_Impl(weld::Widget* pParent, SfxHelpIndexWindow_Impl* _pIdxWin);