diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 15:57:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 18:59:55 +0200 |
commit | 607ef95608592f2db88a8b4cf65dfc2e488b07a9 (patch) | |
tree | f5466dfe4d01cd84e2a40ac221283c367f402bcb /oox/source/crypto | |
parent | a2b2b7b07e0ddffdd836bd1b6009c0c8523fa1ae (diff) |
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I19eaebdb25db8881d84625a4b9d0df0a588aab4f
Diffstat (limited to 'oox/source/crypto')
-rw-r--r-- | oox/source/crypto/DocumentDecryption.cxx | 2 | ||||
-rw-r--r-- | oox/source/crypto/DocumentEncryption.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx index eea0c629d641..b07c74f89b5f 100644 --- a/oox/source/crypto/DocumentDecryption.cxx +++ b/oox/source/crypto/DocumentDecryption.cxx @@ -194,7 +194,7 @@ public: } // namespace -DocumentDecryption::DocumentDecryption(oox::ole::OleStorage& rOleStorage, Reference<XComponentContext> xContext) : +DocumentDecryption::DocumentDecryption(oox::ole::OleStorage& rOleStorage, Reference<XComponentContext> const & xContext) : mxContext(xContext), mrOleStorage(rOleStorage), mCryptoType(UNKNOWN) diff --git a/oox/source/crypto/DocumentEncryption.cxx b/oox/source/crypto/DocumentEncryption.cxx index 1c328fccd775..d9bb07bc9ea6 100644 --- a/oox/source/crypto/DocumentEncryption.cxx +++ b/oox/source/crypto/DocumentEncryption.cxx @@ -28,7 +28,7 @@ using namespace css::uno; using namespace std; -DocumentEncryption::DocumentEncryption(Reference< XStream > xDocumentStream, oox::ole::OleStorage& rOleStorage, const OUString& aPassword) : +DocumentEncryption::DocumentEncryption(Reference< XStream > const & xDocumentStream, oox::ole::OleStorage& rOleStorage, const OUString& aPassword) : mxDocumentStream(xDocumentStream), mrOleStorage(rOleStorage), maPassword(aPassword) |