summaryrefslogtreecommitdiffstats
path: root/starmath/source/uiobject.cxx
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 /starmath/source/uiobject.cxx
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 'starmath/source/uiobject.cxx')
-rw-r--r--starmath/source/uiobject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/uiobject.cxx b/starmath/source/uiobject.cxx
index d505ed9d95eb..51b0733ff545 100644
--- a/starmath/source/uiobject.cxx
+++ b/starmath/source/uiobject.cxx
@@ -12,7 +12,7 @@
#include "ElementsDockingWindow.hxx"
-ElementUIObject::ElementUIObject(VclPtr<SmElementsControl> xElementSelector,
+ElementUIObject::ElementUIObject(const VclPtr<SmElementsControl>& xElementSelector,
const OUString& rID):
mxElementsSelector(xElementSelector),
maID(rID)
@@ -52,7 +52,7 @@ void ElementUIObject::execute(const OUString& rAction,
}
}
-ElementSelectorUIObject::ElementSelectorUIObject(VclPtr<SmElementsControl> xElementSelector):
+ElementSelectorUIObject::ElementSelectorUIObject(const VclPtr<SmElementsControl>& xElementSelector):
WindowUIObject(xElementSelector),
mxElementsSelector(xElementSelector)
{