summaryrefslogtreecommitdiff
path: root/oox/source/crypto
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 09:23:29 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 11:38:57 +0200
commit9f877f677346968774d4366f105114fe7f36dd69 (patch)
treed8fb1f3924b5956c8f693acb8df33ba9757f9dc1 /oox/source/crypto
parentb9d091e7d4eb3014aa6198f64f414702105b5aab (diff)
clang-tidy performance-unnecessary-value-param in oox
Change-Id: I1ac86906ea21c00f8d77834c94583be7d9e9974e
Diffstat (limited to 'oox/source/crypto')
-rw-r--r--oox/source/crypto/DocumentDecryption.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx
index 8dcf4cadaa44..a57b5671063d 100644
--- a/oox/source/crypto/DocumentDecryption.cxx
+++ b/oox/source/crypto/DocumentDecryption.cxx
@@ -360,7 +360,7 @@ Sequence<NamedValue> DocumentDecryption::createEncryptionData(const OUString& rP
return aEncryptionData.getAsConstNamedValueList();
}
-bool DocumentDecryption::decrypt(Reference<XStream> xDocumentStream)
+bool DocumentDecryption::decrypt(const Reference<XStream>& xDocumentStream)
{
bool aResult = false;