From 3ba169bd68d81980a112998a57ff5d2b638252fa Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 6 Oct 2015 17:06:16 +0200 Subject: add initial tests for vba encryption Change-Id: Ic6128ecade39e8947863c9162523e0d9690f0026 --- include/oox/ole/vbaexport.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/oox/ole') 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(); -- cgit