diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-01 09:09:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-01 13:05:05 +0200 |
commit | b4b4c129e9f00189978cd7b71fd74d0dca4c9ebc (patch) | |
tree | 1afab2d8c7eee21866030fd498faa53af6f9be66 /ucb/source/ucp/image/ucpimage.cxx | |
parent | 915f3959fe6b3e756b9797a9222b95d9b8c3d293 (diff) |
clang-tidy modernize-pass-by-value in ucb
Change-Id: I641d05e360c3208845a2fa6721ac8ba1ad0f3309
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137667
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/image/ucpimage.cxx')
-rw-r--r-- | ucb/source/ucp/image/ucpimage.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/ucp/image/ucpimage.cxx b/ucb/source/ucp/image/ucpimage.cxx index db8ca00d414b..acdb03093449 100644 --- a/ucb/source/ucp/image/ucpimage.cxx +++ b/ucb/source/ucp/image/ucpimage.cxx @@ -20,6 +20,7 @@ #include <cppuhelper/supportsservice.hxx> #include <rtl/uri.hxx> #include <rtl/ustrbuf.hxx> +#include <utility> #include <vcl/ImageTree.hxx> #include <vcl/svapp.hxx> #include <ucbhelper/content.hxx> @@ -40,8 +41,8 @@ class Provider final: { public: explicit Provider( - css::uno::Reference<css::uno::XComponentContext> const & context): - context_(context) + css::uno::Reference<css::uno::XComponentContext> context): + context_(std::move(context)) {} private: |