summaryrefslogtreecommitdiff
path: root/include/oox/crypto/DocumentEncryption.hxx
diff options
context:
space:
mode:
authorJorenz Paragas <j.paragas.237@gmail.com>2016-04-25 23:41:12 -0700
committerMichael Stahl <mstahl@redhat.com>2016-04-26 11:53:52 +0000
commit6a4a15c87c03feffb90cc416ce22d2819e41442d (patch)
tree3a580524af4fbbbd43ad0f3d0586d654d424f2bf /include/oox/crypto/DocumentEncryption.hxx
parentc3572701cf5481edc7432b062e0fa69697c212be (diff)
tdf#42949: clean up includes in include/oox/crypto with iwyu
The includes in CryptTools.hxx that are within #if/#endif directives are not altered. iwyu suggested replacing the includes for nss.h, pk11pub.h, and sechash.h with hasht.h, pkcs11t.h, seccomon.h, and secmodt.h. I decided not to because it might make CryptTools.hxx harder to refactor in exchange for little gain. Before creating this commit, I ran 'make check' after passing --with-tls=openssl to ./autogen.sh to ensure that building with either OpenSSL or NSS (the default except on iOS and Android) works. Change-Id: I20260d18f073ffd8077bbcc597e7a8e4954e2ec5 Reviewed-on: https://gerrit.libreoffice.org/24386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/oox/crypto/DocumentEncryption.hxx')
-rw-r--r--include/oox/crypto/DocumentEncryption.hxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/oox/crypto/DocumentEncryption.hxx b/include/oox/crypto/DocumentEncryption.hxx
index 720cb38b9e14..42646f367d1a 100644
--- a/include/oox/crypto/DocumentEncryption.hxx
+++ b/include/oox/crypto/DocumentEncryption.hxx
@@ -13,16 +13,15 @@
#include <oox/dllapi.h>
-#include <oox/ole/olestorage.hxx>
-
-#include <com/sun/star/io/XStream.hpp>
-#include <com/sun/star/beans/NamedValue.hpp>
-
-#include <oox/crypto/CryptTools.hxx>
+#include <com/sun/star/uno/Reference.h>
#include <oox/crypto/Standard2007Engine.hxx>
+#include <rtl/ustring.hxx>
-#include <vector>
+namespace com { namespace sun { namespace star {
+ namespace io { class XStream; }
+} } }
+namespace oox { namespace ole { class OleStorage; } }
namespace oox {
namespace core {