diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-07-29 09:36:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-07-29 20:53:40 +0200 |
commit | ed4bf43b0b75b26fea236204bf4fedfc7568eb98 (patch) | |
tree | 78462bb11bd2524fdb62ca7fc464ce2f122909e6 /xmlhelp | |
parent | 09607592b9fb0a7346e8dd2175adf15ace2d24dd (diff) |
cid#1507489 Big parameter passed by value
and
cid#1507490 Big parameter passed by value
Change-Id: I53a8ee3fd0312de6fecd39238eff90cfff5b3261
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137588
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/content.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/content.cxx b/xmlhelp/source/cxxhelp/provider/content.cxx index 449c86da2df5..6d12041de9ec 100644 --- a/xmlhelp/source/cxxhelp/provider/content.cxx +++ b/xmlhelp/source/cxxhelp/provider/content.cxx @@ -143,12 +143,12 @@ public: uno::Reference< uno::XComponentContext > xContext, uno::Reference< ucb::XContentProvider > xProvider, const uno::Sequence< beans::Property >& seq, - URLParameter aURLParameter, + const URLParameter& rURLParameter, Databases* pDatabases ) : m_xContext(std::move( xContext )), m_xProvider(std::move( xProvider )), m_seq( seq ), - m_aURLParameter(std::move( aURLParameter )), + m_aURLParameter(rURLParameter), m_pDatabases( pDatabases ) { } @@ -180,12 +180,12 @@ public: uno::Reference< uno::XComponentContext > xContext, uno::Reference< ucb::XContentProvider > xProvider, const uno::Sequence< beans::Property >& seq, - URLParameter aURLParameter, + const URLParameter& rURLParameter, Databases* pDatabases ) : m_xContext(std::move( xContext )), m_xProvider(std::move( xProvider )), m_seq( seq ), - m_aURLParameter(std::move( aURLParameter )), + m_aURLParameter(rURLParameter), m_pDatabases( pDatabases ) { } |