summaryrefslogtreecommitdiff
path: root/comphelper
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 /comphelper
parent8fa4b0429b514c0d696ebfc2e47418292d7ec367 (diff)
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 'comphelper')
-rw-r--r--comphelper/source/container/namecontainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/container/namecontainer.cxx b/comphelper/source/container/namecontainer.cxx
index 0b51ba050e75..23b87df8b94c 100644
--- a/comphelper/source/container/namecontainer.cxx
+++ b/comphelper/source/container/namecontainer.cxx
@@ -34,7 +34,7 @@ namespace comphelper
class NameContainer : public ::cppu::WeakImplHelper< css::container::XNameContainer >
{
public:
- explicit NameContainer( css::uno::Type aType );
+ explicit NameContainer( const css::uno::Type& aType );
// XNameContainer
virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement ) override;
@@ -66,7 +66,7 @@ using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
-NameContainer::NameContainer( css::uno::Type aType )
+NameContainer::NameContainer( const css::uno::Type& aType )
: maType( aType )
{
}