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>
This commit is contained in:
Caolán McNamara 2022-07-29 09:36:25 +01:00
parent 09607592b9
commit ed4bf43b0b

View file

@ -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 )
{
}