From 2ac309188820036b1b99f983e8b793445e9b2ab2 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 6 Oct 2020 13:09:02 +0200 Subject: loplugin:const* make some params and methods const Change-Id: Idec482c21c270912f9bcaeb980077c1616f67c8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104022 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basctl/source/basicide/baside2.hxx | 2 +- basctl/source/basicide/baside2b.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'basctl/source') diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index 49e9c3759f6d..b999767aaeb1 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -206,7 +206,7 @@ private: SbxBase* ImplGetSBXForEntry(const weld::TreeIter& rEntry, bool& rbArrayElement); - void implEnableChildren(weld::TreeIter& rEntry, bool bEnable); + void implEnableChildren(const weld::TreeIter& rEntry, bool bEnable); DECL_STATIC_LINK(WatchWindow, ButtonHdl, weld::Button&, void); DECL_LINK(TreeListHdl, weld::TreeView&, void); diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 8c2f9514843b..391a8fe0a91e 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2341,7 +2341,7 @@ OUString implCreateTypeStringForDimArray( WatchItem* pItem, SbxDataType eType ) } // namespace -void WatchWindow::implEnableChildren(weld::TreeIter& rEntry, bool bEnable) +void WatchWindow::implEnableChildren(const weld::TreeIter& rEntry, bool bEnable) { if (bEnable) { -- cgit