diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 09:28:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 10:34:58 +0200 |
commit | 8302f334b66f9d16e208a7cf4d4d1033664eb0e4 (patch) | |
tree | b29579b478229b6716601ffd70bc996f04114251 /oox/source/crypto | |
parent | 9fd9d25d04709a3ec6957f6b40d5534bec86ed6a (diff) |
loplugin:constparams in oox
Change-Id: I43984b4ece82da39ca61a91fa14e4660298509dd
Reviewed-on: https://gerrit.libreoffice.org/40581
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/crypto')
-rw-r--r-- | oox/source/crypto/DocumentDecryption.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx index f06516c51757..89b81e2db648 100644 --- a/oox/source/crypto/DocumentDecryption.cxx +++ b/oox/source/crypto/DocumentDecryption.cxx @@ -39,7 +39,7 @@ using namespace css::xml; namespace { -std::vector<sal_uInt8> convertToVector(Sequence<sal_Int8>& input) +std::vector<sal_uInt8> convertToVector(Sequence<sal_Int8> const & input) { const sal_uInt8* inputArray = reinterpret_cast<const sal_uInt8*>(input.getConstArray()); return std::vector<sal_uInt8>(inputArray, inputArray + input.getLength()); @@ -191,7 +191,7 @@ bool DocumentDecryption::generateEncryptionKey(const OUString& rPassword) return false; } -bool DocumentDecryption::readAgileEncryptionInfo(Reference< XInputStream >& xInputStream) +bool DocumentDecryption::readAgileEncryptionInfo(Reference< XInputStream > const & xInputStream) { AgileEngine* engine = new AgileEngine; mEngine.reset(engine); |