summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/templdlg.cxx
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/dialog/templdlg.cxx
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/dialog/templdlg.cxx')
-rw-r--r--sfx2/source/dialog/templdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 62d02b67aae7..e9bfc17fa876 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -384,7 +384,7 @@ void SfxTemplatePanelControl::dispose()
PanelLayout::dispose();
}
-static void MakeExpanded_Impl(weld::TreeView& rBox, std::vector<OUString>& rEntries)
+static void MakeExpanded_Impl(const weld::TreeView& rBox, std::vector<OUString>& rEntries)
{
std::unique_ptr<weld::TreeIter> xEntry = rBox.make_iterator();
if (rBox.get_iter_first(*xEntry))
@@ -487,7 +487,7 @@ static void FillBox_Impl(weld::TreeView& rBox,
StyleTree_Impl* pEntry,
const std::vector<OUString>& rEntries,
SfxStyleFamily eStyleFamily,
- weld::TreeIter* pParent)
+ const weld::TreeIter* pParent)
{
std::unique_ptr<weld::TreeIter> xResult = rBox.make_iterator();
const OUString& rName = pEntry->getName();