From 17a2c9e8e2361de27013a25e51f3a3ca729f1b31 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Jun 2017 08:34:22 +0200 Subject: clang-tidy performance-unnecessary-value-param Change-Id: I6ed8c54c7c45931d91709cc818f2483c70197192 Reviewed-on: https://gerrit.libreoffice.org/38400 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/inc/uiobject.hxx | 2 +- svx/source/engine3d/cube3d.cxx | 2 +- svx/source/uitest/uiobject.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'svx') diff --git a/svx/inc/uiobject.hxx b/svx/inc/uiobject.hxx index 6159a26f98a8..e0baae6815b0 100644 --- a/svx/inc/uiobject.hxx +++ b/svx/inc/uiobject.hxx @@ -18,7 +18,7 @@ class SvxShowCharSetUIObject : public WindowUIObject public: - SvxShowCharSetUIObject(VclPtr xCharSet); + SvxShowCharSetUIObject(const VclPtr& xCharSet); virtual StringMap get_state() override; diff --git a/svx/source/engine3d/cube3d.cxx b/svx/source/engine3d/cube3d.cxx index 5f493084007e..ec456e463e7c 100644 --- a/svx/source/engine3d/cube3d.cxx +++ b/svx/source/engine3d/cube3d.cxx @@ -35,7 +35,7 @@ sdr::contact::ViewContact* E3dCubeObj::CreateObjectSpecificViewContact() } -E3dCubeObj::E3dCubeObj(E3dDefaultAttributes& rDefault, basegfx::B3DPoint aPos, const basegfx::B3DVector& r3DSize) +E3dCubeObj::E3dCubeObj(E3dDefaultAttributes& rDefault, const basegfx::B3DPoint& aPos, const basegfx::B3DVector& r3DSize) : E3dCompoundObject(rDefault) { // Set Defaults diff --git a/svx/source/uitest/uiobject.cxx b/svx/source/uitest/uiobject.cxx index 701eb7ef891c..8ad4827df260 100644 --- a/svx/source/uitest/uiobject.cxx +++ b/svx/source/uitest/uiobject.cxx @@ -12,7 +12,7 @@ #include -SvxShowCharSetUIObject::SvxShowCharSetUIObject(VclPtr xCharSet): +SvxShowCharSetUIObject::SvxShowCharSetUIObject(const VclPtr& xCharSet): WindowUIObject(xCharSet), mxCharSet(xCharSet) { -- cgit