summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-10-06 17:06:16 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-10-08 17:45:52 +0200
commit3ba169bd68d81980a112998a57ff5d2b638252fa (patch)
treef65e7d1a776e7986e5314ca7490401ddf429bf40 /include
parentImplement encryption for the VBA export (diff)
downloadcore-3ba169bd68d81980a112998a57ff5d2b638252fa.tar.gz
core-3ba169bd68d81980a112998a57ff5d2b638252fa.zip
add initial tests for vba encryption
Change-Id: Ic6128ecade39e8947863c9162523e0d9690f0026
Diffstat (limited to 'include')
-rw-r--r--include/oox/ole/vbaexport.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/oox/ole/vbaexport.hxx b/include/oox/ole/vbaexport.hxx
index 2c03cc274e11..2275c137661c 100644
--- a/include/oox/ole/vbaexport.hxx
+++ b/include/oox/ole/vbaexport.hxx
@@ -111,13 +111,14 @@ private:
SvMemoryStream& mrUncompressedStream;
};
-class VBAEncryption
+class OOX_DLLPUBLIC VBAEncryption
{
public:
VBAEncryption(const sal_uInt8* pData,
const sal_uInt16 nLength,
- SvStream& rEncryptedData
- );
+ SvStream& rEncryptedData,
+ sal_uInt8* pSeed,
+ sal_uInt8 nProjKey);
void write();