diff options
Diffstat (limited to 'oox/source/crypto/DocumentDecryption.cxx')
-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); |