From 6a4a15c87c03feffb90cc416ce22d2819e41442d Mon Sep 17 00:00:00 2001 From: Jorenz Paragas Date: Mon, 25 Apr 2016 23:41:12 -0700 Subject: 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 Reviewed-by: Michael Stahl --- include/oox/crypto/DocumentEncryption.hxx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'include/oox/crypto/DocumentEncryption.hxx') 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 -#include - -#include -#include - -#include +#include #include +#include -#include +namespace com { namespace sun { namespace star { + namespace io { class XStream; } +} } } +namespace oox { namespace ole { class OleStorage; } } namespace oox { namespace core { -- cgit