diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-08 15:54:34 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-11 06:20:32 +0000 |
commit | f3a43c723eaf751d5ee28b13c0cc6f8014094bbe (patch) | |
tree | 8756af2a2975ea58c2214fdfcbf0e9c393cf5b27 /include/comphelper/configurationhelper.hxx | |
parent | f3dabe7507b578484805255eae31d8a1358e605c (diff) |
clang-tidy performance-unnecessary-value-param in comphelper
Change-Id: Iff26c89ea6079e0f12691dbc04bb36f02b85c305
Reviewed-on: https://gerrit.libreoffice.org/23920
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/comphelper/configurationhelper.hxx')
-rw-r--r-- | include/comphelper/configurationhelper.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/comphelper/configurationhelper.hxx b/include/comphelper/configurationhelper.hxx index c5cf9d4ed28b..45890ccfa5d7 100644 --- a/include/comphelper/configurationhelper.hxx +++ b/include/comphelper/configurationhelper.hxx @@ -120,7 +120,7 @@ public: * E.g. css::container::NoSuchElementException if the specified * key does not exists. */ - static css::uno::Any readRelativeKey(const css::uno::Reference< css::uno::XInterface > xCFG , + static css::uno::Any readRelativeKey(const css::uno::Reference< css::uno::XInterface >& xCFG , const OUString& sRelPath, const OUString& sKey ); @@ -150,7 +150,7 @@ public: * key does not exists or css::uno::Exception if the provided configuration * access does not allow writing for this key. */ - static void writeRelativeKey(const css::uno::Reference< css::uno::XInterface > xCFG , + static void writeRelativeKey(const css::uno::Reference< css::uno::XInterface >& xCFG , const OUString& sRelPath, const OUString& sKey , const css::uno::Any& aValue ); @@ -184,7 +184,7 @@ public: * E.g. css::uno::Exception if the provided configuration * access does not allow writing for this set. */ - static css::uno::Reference< css::uno::XInterface > makeSureSetNodeExists(const css::uno::Reference< css::uno::XInterface > xCFG , + static css::uno::Reference< css::uno::XInterface > makeSureSetNodeExists(const css::uno::Reference< css::uno::XInterface >& xCFG , const OUString& sRelPathToSet, const OUString& sSetNode ); |