summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-06-22 16:15:38 +0200
committerTomaž Vajngerl <quikee@gmail.com>2018-06-22 23:42:24 +0200
commit057c33b6609fe49efb6fa757db5f336acddb2a3d (patch)
treed700a101f7bcc53bc16cd4e41feb6fe5dc26c7a3 /include
parent32f556667cb09587bd636239da9d463d8c15679a (diff)
oox: encryption/decryption test for Standard2007Engine
Change-Id: I8de25182c40004edffad4452179f191a75f130d9 Reviewed-on: https://gerrit.libreoffice.org/56300 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/oox/crypto/Standard2007Engine.hxx5
-rw-r--r--include/oox/helper/binaryoutputstream.hxx4
2 files changed, 5 insertions, 4 deletions
diff --git a/include/oox/crypto/Standard2007Engine.hxx b/include/oox/crypto/Standard2007Engine.hxx
index 40aba8137161..ea92c4b5df51 100644
--- a/include/oox/crypto/Standard2007Engine.hxx
+++ b/include/oox/crypto/Standard2007Engine.hxx
@@ -11,8 +11,9 @@
#ifndef INCLUDED_OOX_CRYPTO_STANDARD2007ENGINE_HXX
#define INCLUDED_OOX_CRYPTO_STANDARD2007ENGINE_HXX
-#include <filter/msfilter/mscodec.hxx>
+#include <oox/dllapi.h>
#include <oox/crypto/CryptoEngine.hxx>
+#include <filter/msfilter/mscodec.hxx>
#include <rtl/digest.h>
#include <rtl/ustring.hxx>
#include <sal/types.h>
@@ -25,7 +26,7 @@ namespace oox {
namespace oox {
namespace core {
-class Standard2007Engine : public CryptoEngine
+class OOX_DLLPUBLIC Standard2007Engine : public CryptoEngine
{
msfilter::StandardEncryptionInfo mInfo;
diff --git a/include/oox/helper/binaryoutputstream.hxx b/include/oox/helper/binaryoutputstream.hxx
index fe0ce9ae34c5..7041131d81e3 100644
--- a/include/oox/helper/binaryoutputstream.hxx
+++ b/include/oox/helper/binaryoutputstream.hxx
@@ -42,7 +42,7 @@ namespace oox {
The binary data in the stream is written in little-endian format.
*/
-class BinaryOutputStream : public virtual BinaryStreamBase
+class OOX_DLLPUBLIC BinaryOutputStream : public virtual BinaryStreamBase
{
public:
/** Derived classes implement writing the contents of the passed data
@@ -125,7 +125,7 @@ void BinaryOutputStream::writeValue( Type nValue )
The binary data in the stream is written in little-endian format.
*/
-class BinaryXOutputStream : public BinaryXSeekableStream, public BinaryOutputStream
+class OOX_DLLPUBLIC BinaryXOutputStream : public BinaryXSeekableStream, public BinaryOutputStream
{
public:
/** Constructs the wrapper object for the passed output stream.