summaryrefslogtreecommitdiff
path: root/include/oox/crypto/DocumentDecryption.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/crypto/DocumentDecryption.hxx')
-rw-r--r--include/oox/crypto/DocumentDecryption.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/oox/crypto/DocumentDecryption.hxx b/include/oox/crypto/DocumentDecryption.hxx
index 791a119b0c6d..248f33f61734 100644
--- a/include/oox/crypto/DocumentDecryption.hxx
+++ b/include/oox/crypto/DocumentDecryption.hxx
@@ -35,14 +35,16 @@ namespace core {
class OOX_DLLPUBLIC DocumentDecryption
{
private:
- oox::ole::OleStorage& mrOleStorage;
- std::unique_ptr<CryptoEngine> mEngine;
- OUString msEngineName;
+ oox::ole::OleStorage& mrOleStorage;
+ css::uno::Sequence<css::beans::NamedValue> maStreamsSequence;
+ std::unique_ptr<CryptoEngine> mEngine;
+ OUString msEngineName;
+ css::uno::Reference< css::uno::XComponentContext > mxContext;
void readStrongEncryptionInfo();
public:
- DocumentDecryption(oox::ole::OleStorage& rOleStorage);
+ DocumentDecryption(const css::uno::Reference< css::uno::XComponentContext >& rxContext, oox::ole::OleStorage& rOleStorage);
bool decrypt(const css::uno::Reference< css::io::XStream >& xDocumentStream);
bool readEncryptionInfo();