summaryrefslogtreecommitdiff
path: root/chart2/source/controller/uitest
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 12:04:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 13:23:25 +0200
commit620d032b1807477ef1e2b547ce772c284aa0da50 (patch)
tree92abc1d89840f27dae0dfb27269688fba197ae3b /chart2/source/controller/uitest
parent370c71f5b1e2618c49881ac221993692143d4e58 (diff)
loplugin:constparams in chart2
Change-Id: Ic325b79f04e04aa19e08a60db30b982d90f04c80 Reviewed-on: https://gerrit.libreoffice.org/40480 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/uitest')
-rw-r--r--chart2/source/controller/uitest/uiobject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/uitest/uiobject.cxx b/chart2/source/controller/uitest/uiobject.cxx
index fa04a13d747f..d3c2cfd5cbd0 100644
--- a/chart2/source/controller/uitest/uiobject.cxx
+++ b/chart2/source/controller/uitest/uiobject.cxx
@@ -145,7 +145,7 @@ std::unique_ptr<UIObject> ChartWindowUIObject::get_child(const OUString& rID)
namespace {
-void recursiveAdd(chart::ObjectIdentifier& rID, std::set<OUString>& rChildren, const chart::ObjectHierarchy& rHierarchy)
+void recursiveAdd(chart::ObjectIdentifier const & rID, std::set<OUString>& rChildren, const chart::ObjectHierarchy& rHierarchy)
{
std::vector<chart::ObjectIdentifier> aChildIndentifiers = rHierarchy.getChildren(rID);
std::transform(aChildIndentifiers.begin(), aChildIndentifiers.end(), std::inserter(rChildren, rChildren.begin()),