diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2019-09-23 20:48:41 +0300 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2019-12-04 13:43:21 +0100 |
commit | 78149c3847533639542ea55d97c168e0fbcd9822 (patch) | |
tree | dda90afb80aea5731329df9d764ec7b169b23eb3 /include/oox/crypto/CryptoEngine.hxx | |
parent | 74b6308b8e86da2bd36d241424ff03cae8a52dd2 (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 'include/oox/crypto/CryptoEngine.hxx')
-rw-r--r-- | include/oox/crypto/CryptoEngine.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/oox/crypto/CryptoEngine.hxx b/include/oox/crypto/CryptoEngine.hxx index 7b97083a1ee4..f985f2d7fb45 100644 --- a/include/oox/crypto/CryptoEngine.hxx +++ b/include/oox/crypto/CryptoEngine.hxx @@ -30,9 +30,6 @@ namespace core { class CryptoEngine { -protected: - std::vector<sal_uInt8> mKey; - public: CryptoEngine() {} @@ -41,7 +38,7 @@ public: {} // Decryption - virtual bool readEncryptionInfo(oox::ole::OleStorage& rOleStorage) = 0; + virtual bool readEncryptionInfo(css::uno::Sequence<css::beans::NamedValue> aStreams) = 0; virtual bool generateEncryptionKey(const OUString& rPassword) = 0; |