diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-06 13:09:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 18:35:45 +0200 |
commit | 2ac309188820036b1b99f983e8b793445e9b2ab2 (patch) | |
tree | 80db2a9f7f7726cb015f48f57e1cac8a77b01c58 /basctl/source | |
parent | 698e5d54182d96a1fd0c3b864ba0e618f82dd1f1 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |