summaryrefslogtreecommitdiff
path: root/include/oox/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 /include/oox/crypto
parenta2b2b7b07e0ddffdd836bd1b6009c0c8523fa1ae (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I19eaebdb25db8881d84625a4b9d0df0a588aab4f
Diffstat (limited to 'include/oox/crypto')
-rw-r--r--include/oox/crypto/DocumentDecryption.hxx2
-rw-r--r--include/oox/crypto/DocumentEncryption.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/oox/crypto/DocumentDecryption.hxx b/include/oox/crypto/DocumentDecryption.hxx
index 4e4abae43380..fbd5e36eb747 100644
--- a/include/oox/crypto/DocumentDecryption.hxx
+++ b/include/oox/crypto/DocumentDecryption.hxx
@@ -55,7 +55,7 @@ private:
public:
DocumentDecryption(
oox::ole::OleStorage& rOleStorage,
- css::uno::Reference< css::uno::XComponentContext > xContext);
+ css::uno::Reference< css::uno::XComponentContext > const & xContext);
bool decrypt(const css::uno::Reference< css::io::XStream >& xDocumentStream);
bool readEncryptionInfo();
diff --git a/include/oox/crypto/DocumentEncryption.hxx b/include/oox/crypto/DocumentEncryption.hxx
index a738ede38956..287e7db9e434 100644
--- a/include/oox/crypto/DocumentEncryption.hxx
+++ b/include/oox/crypto/DocumentEncryption.hxx
@@ -37,7 +37,7 @@ private:
public:
DocumentEncryption(
- css::uno::Reference< css::io::XStream > xDocumentStream,
+ css::uno::Reference< css::io::XStream > const & xDocumentStream,
oox::ole::OleStorage& rOleStorage,
const OUString& aPassword);