diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/core/filterdetect.cxx | 2 | ||||
-rw-r--r-- | oox/source/crypto/DocumentDecryption.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/oox/source/core/filterdetect.cxx b/oox/source/core/filterdetect.cxx index 805d2fb4b01d..0f1fe8625b7c 100644 --- a/oox/source/core/filterdetect.cxx +++ b/oox/source/core/filterdetect.cxx @@ -318,7 +318,7 @@ Reference< XInputStream > FilterDetect::extractUnencryptedPackage( MediaDescript { try { - DocumentDecryption aDecryptor(aOleStorage, mxContext); + DocumentDecryption aDecryptor(aOleStorage); if( aDecryptor.readEncryptionInfo() ) { diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx index 16cc29551b21..a8462b657329 100644 --- a/oox/source/crypto/DocumentDecryption.cxx +++ b/oox/source/crypto/DocumentDecryption.cxx @@ -26,8 +26,7 @@ namespace core { using namespace css; -DocumentDecryption::DocumentDecryption(oox::ole::OleStorage& rOleStorage, uno::Reference<uno::XComponentContext> const & xContext) : - mxContext(xContext), +DocumentDecryption::DocumentDecryption(oox::ole::OleStorage& rOleStorage) : mrOleStorage(rOleStorage), mCryptoType(UNKNOWN) {} |