summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc/UriReferenceFactory.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-06-27 09:46:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-27 12:04:02 +0200
commit69485e422c906a3bb290797725a0784f73d94b9f (patch)
tree86a94f6bee0582870d173ea66e8f3cc0f239fb4f /stoc/source/uriproc/UriReferenceFactory.cxx
parent04073c5fedd33654f242fecb7e39afb07cf0e273 (diff)
clang-tidy modernize-pass-by-value in stoc
Change-Id: Ia628b2af646e576d52b6c72352255710a885c23f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136452 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc/source/uriproc/UriReferenceFactory.cxx')
-rw-r--r--stoc/source/uriproc/UriReferenceFactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/uriproc/UriReferenceFactory.cxx b/stoc/source/uriproc/UriReferenceFactory.cxx
index 254097c179fe..ed739cdc32cf 100644
--- a/stoc/source/uriproc/UriReferenceFactory.cxx
+++ b/stoc/source/uriproc/UriReferenceFactory.cxx
@@ -284,8 +284,8 @@ class Factory:
{
public:
explicit Factory(
- css::uno::Reference< css::uno::XComponentContext > const & context):
- m_context(context) {}
+ css::uno::Reference< css::uno::XComponentContext > context):
+ m_context(std::move(context)) {}
Factory(const Factory&) = delete;
Factory& operator=(const Factory&) = delete;