summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/inc/uiobject.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-05 08:34:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-05 09:22:51 +0200
commit17a2c9e8e2361de27013a25e51f3a3ca729f1b31 (patch)
tree1c89bc104e5630fb71ff0a5b12c464ca2aceebc3 /chart2/source/controller/inc/uiobject.hxx
parentavmedia : Simplify Window::Window (diff)
downloadcore-17a2c9e8e2361de27013a25e51f3a3ca729f1b31.tar.gz
core-17a2c9e8e2361de27013a25e51f3a3ca729f1b31.zip
clang-tidy performance-unnecessary-value-param
Change-Id: I6ed8c54c7c45931d91709cc818f2483c70197192 Reviewed-on: https://gerrit.libreoffice.org/38400 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/inc/uiobject.hxx')
-rw-r--r--chart2/source/controller/inc/uiobject.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/inc/uiobject.hxx b/chart2/source/controller/inc/uiobject.hxx
index 580db5ea71ba..31d1561b08f3 100644
--- a/chart2/source/controller/inc/uiobject.hxx
+++ b/chart2/source/controller/inc/uiobject.hxx
@@ -19,7 +19,7 @@ class ChartUIObject : public UIObject
{
public:
- ChartUIObject(VclPtr<chart::ChartWindow> xChartWindow,
+ ChartUIObject(const VclPtr<chart::ChartWindow>& xChartWindow,
const OUString& rCID);
StringMap get_state() override;
@@ -48,7 +48,7 @@ class ChartWindowUIObject : public WindowUIObject
public:
- ChartWindowUIObject(VclPtr<chart::ChartWindow> xChartWindow);
+ ChartWindowUIObject(const VclPtr<chart::ChartWindow>& xChartWindow);
virtual StringMap get_state() override;