diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 15:59:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 18:59:55 +0200 |
commit | 9f7f7d6cfa379a25730bfe8fb2d4638c08e59b90 (patch) | |
tree | 63a9c9364b850e8f011ffbed9e51221921fd74cf /sw/source/core/docnode | |
parent | eb96c8634a890071c72592a51afdacc2120a08b9 (diff) |
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I7e7cdfa5efaf18bb47d40947d4e1d91a2c9b5a57
Diffstat (limited to 'sw/source/core/docnode')
-rw-r--r-- | sw/source/core/docnode/retrievedinputstreamdata.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/docnode/retrieveinputstreamconsumer.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/docnode/retrievedinputstreamdata.cxx b/sw/source/core/docnode/retrievedinputstreamdata.cxx index 0838761767fb..f1ddb87e1c96 100644 --- a/sw/source/core/docnode/retrievedinputstreamdata.cxx +++ b/sw/source/core/docnode/retrievedinputstreamdata.cxx @@ -63,7 +63,7 @@ SwRetrievedInputStreamDataManager::tDataKey SwRetrievedInputStreamDataManager::R void SwRetrievedInputStreamDataManager::PushData( const tDataKey nDataKey, - css::uno::Reference<css::io::XInputStream> xInputStream, + css::uno::Reference<css::io::XInputStream> const & xInputStream, const bool bIsStreamReadOnly ) { osl::MutexGuard aGuard(maMutex); diff --git a/sw/source/core/docnode/retrieveinputstreamconsumer.cxx b/sw/source/core/docnode/retrieveinputstreamconsumer.cxx index 258768f34e2f..a6a69be55dc0 100644 --- a/sw/source/core/docnode/retrieveinputstreamconsumer.cxx +++ b/sw/source/core/docnode/retrieveinputstreamconsumer.cxx @@ -54,7 +54,7 @@ void SwAsyncRetrieveInputStreamThreadConsumer::CreateThread( const OUString& rUR } void SwAsyncRetrieveInputStreamThreadConsumer::ApplyInputStream( - css::uno::Reference<css::io::XInputStream> xInputStream, + css::uno::Reference<css::io::XInputStream> const & xInputStream, const bool bIsStreamReadOnly ) { mrGrfNode.ApplyInputStream( xInputStream, bIsStreamReadOnly ); |