diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-27 10:11:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-27 13:40:26 +0200 |
commit | eea6b27762cdd5f831f4a83b8c5d2979652aab03 (patch) | |
tree | 7bd5abed3f67eb8156df80496f7af3988e90780f /include/ucbhelper | |
parent | 35ca93f7892e8f19b871f7f687a9f7e4933a65ad (diff) |
clang-tidy modernize-pass-by-value in ucbhelper
Change-Id: I9f73760a800bee5a810add9ee0ebed3a778ddd8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136475
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/ucbhelper')
-rw-r--r-- | include/ucbhelper/contenthelper.hxx | 6 | ||||
-rw-r--r-- | include/ucbhelper/providerhelper.hxx | 2 | ||||
-rw-r--r-- | include/ucbhelper/resultsethelper.hxx | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/include/ucbhelper/contenthelper.hxx b/include/ucbhelper/contenthelper.hxx index 3f269e475d4a..b5906402cc52 100644 --- a/include/ucbhelper/contenthelper.hxx +++ b/include/ucbhelper/contenthelper.hxx @@ -293,9 +293,9 @@ public: * @param Identifier is the content identifier for the content. */ ContentImplHelper( - const css::uno::Reference< css::uno::XComponentContext >& rxContext, - const rtl::Reference< ContentProviderImplHelper >& rxProvider, - const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier ); + css::uno::Reference< css::uno::XComponentContext > xContext, + rtl::Reference< ContentProviderImplHelper > xProvider, + css::uno::Reference< css::ucb::XContentIdentifier > Identifier ); /** * Destructor. diff --git a/include/ucbhelper/providerhelper.hxx b/include/ucbhelper/providerhelper.hxx index 550da6c0ec13..36daec868049 100644 --- a/include/ucbhelper/providerhelper.hxx +++ b/include/ucbhelper/providerhelper.hxx @@ -130,7 +130,7 @@ public: ContentProviderImplHelper( - const css::uno::Reference< css::uno::XComponentContext >& rxContext ); + css::uno::Reference< css::uno::XComponentContext > xContext ); virtual ~ContentProviderImplHelper() override; diff --git a/include/ucbhelper/resultsethelper.hxx b/include/ucbhelper/resultsethelper.hxx index 486d07fe5f89..31f96790581a 100644 --- a/include/ucbhelper/resultsethelper.hxx +++ b/include/ucbhelper/resultsethelper.hxx @@ -118,9 +118,9 @@ public: * this resultset. */ ResultSetImplHelper( - const css::uno::Reference< - css::uno::XComponentContext >& rxContext, - const css::ucb::OpenCommandArgument2& rCommand ); + css::uno::Reference< + css::uno::XComponentContext > xContext, + css::ucb::OpenCommandArgument2 aCommand ); /** * Destructor. |