summaryrefslogtreecommitdiff
path: root/oox/source/core/filterdetect.cxx
diff options
context:
space:
mode:
authorVasily Melenchuk <vasily.melenchuk@cib.de>2019-09-23 20:48:41 +0300
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-12-04 13:43:21 +0100
commit78149c3847533639542ea55d97c168e0fbcd9822 (patch)
treedda90afb80aea5731329df9d764ec7b169b23eb3 /oox/source/core/filterdetect.cxx
parent74b6308b8e86da2bd36d241424ff03cae8a52dd2 (diff)
irm: refactoring of decrypt methods
to allow usage of decryt methods outside of LO we should avoid direct usage of OleStorage in CryptoEngine: it is not accessible outside of core. Change-Id: Id60b338445a5950aa40b84d788c94b8fa025e717
Diffstat (limited to 'oox/source/core/filterdetect.cxx')
-rw-r--r--oox/source/core/filterdetect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/core/filterdetect.cxx b/oox/source/core/filterdetect.cxx
index 4537e61a93c8..7e72d28482df 100644
--- a/oox/source/core/filterdetect.cxx
+++ b/oox/source/core/filterdetect.cxx
@@ -300,7 +300,7 @@ Reference< XInputStream > FilterDetect::extractUnencryptedPackage( MediaDescript
{
try
{
- DocumentDecryption aDecryptor(aOleStorage);
+ DocumentDecryption aDecryptor(mxContext, aOleStorage);
if( aDecryptor.readEncryptionInfo() )
{