summaryrefslogtreecommitdiff
path: root/oox/source/crypto
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:57:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit607ef95608592f2db88a8b4cf65dfc2e488b07a9 (patch)
treef5466dfe4d01cd84e2a40ac221283c367f402bcb /oox/source/crypto
parenta2b2b7b07e0ddffdd836bd1b6009c0c8523fa1ae (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.cxx2
-rw-r--r--oox/source/crypto/DocumentEncryption.cxx2
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)