summaryrefslogtreecommitdiff
path: root/include/oox/crypto/DocumentEncryption.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/crypto/DocumentEncryption.hxx')
-rw-r--r--include/oox/crypto/DocumentEncryption.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/oox/crypto/DocumentEncryption.hxx b/include/oox/crypto/DocumentEncryption.hxx
index 0d723656a81c..76bdfe3a67fb 100644
--- a/include/oox/crypto/DocumentEncryption.hxx
+++ b/include/oox/crypto/DocumentEncryption.hxx
@@ -16,6 +16,7 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <oox/crypto/CryptoEngine.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <rtl/ustring.hxx>
namespace com { namespace sun { namespace star {
@@ -34,9 +35,10 @@ private:
oox::ole::OleStorage& mrOleStorage;
std::unique_ptr<CryptoEngine> mEngine;
css::uno::Sequence< css::beans::NamedValue >& mMediaEncData;
+ css::uno::Reference< css::uno::XComponentContext > mxContext;
public:
- DocumentEncryption(
+ DocumentEncryption(const css::uno::Reference< css::uno::XComponentContext >& rxContext,
css::uno::Reference< css::io::XStream > const & xDocumentStream,
oox::ole::OleStorage& rOleStorage,
css::uno::Sequence< css::beans::NamedValue >& rMediaEncData);