summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-07-07 16:28:12 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-07-17 09:13:27 +0200
commitef8f88a7df19559f6a748c3c1dad2b245d3d30d8 (patch)
tree465e7aa0b38e27d2a324eb13e9a4a95629e18a1b /include/oox
parent0ee0ca3036629b69bf20b448d74991fd133f08ac (diff)
tdf#42949 Fix IWYU warnings in include/oox
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I89303217fd1141b2cfe248e5e6c0818ba01cf9d9 Reviewed-on: https://gerrit.libreoffice.org/75178 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/core/contexthandler.hxx3
-rw-r--r--include/oox/core/contexthandler2.hxx3
-rw-r--r--include/oox/core/fastparser.hxx4
-rw-r--r--include/oox/core/fasttokenhandler.hxx3
-rw-r--r--include/oox/core/filterbase.hxx4
-rw-r--r--include/oox/core/filterdetect.hxx3
-rw-r--r--include/oox/core/fragmenthandler.hxx4
-rw-r--r--include/oox/core/fragmenthandler2.hxx3
-rw-r--r--include/oox/core/recordparser.hxx3
-rw-r--r--include/oox/core/relationshandler.hxx4
-rw-r--r--include/oox/core/xmlfilterbase.hxx1
-rw-r--r--include/oox/crypto/CryptTools.hxx1
-rw-r--r--include/oox/crypto/DocumentEncryption.hxx1
-rw-r--r--include/oox/crypto/Standard2007Engine.hxx1
-rw-r--r--include/oox/drawingml/diagram/diagram.hxx2
-rw-r--r--include/oox/drawingml/shapepropertymap.hxx3
-rw-r--r--include/oox/dump/xlsbdumper.hxx2
-rw-r--r--include/oox/export/utils.hxx1
-rw-r--r--include/oox/helper/graphichelper.hxx1
-rw-r--r--include/oox/helper/helper.hxx2
-rw-r--r--include/oox/ole/olehelper.hxx1
-rw-r--r--include/oox/ppt/pptimport.hxx2
-rw-r--r--include/oox/shape/ShapeFilterBase.hxx1
-rw-r--r--include/oox/vml/vmlinputstream.hxx6
24 files changed, 1 insertions, 58 deletions
diff --git a/include/oox/core/contexthandler.hxx b/include/oox/core/contexthandler.hxx
index 73989fa1c2fc..51f442f4731f 100644
--- a/include/oox/core/contexthandler.hxx
+++ b/include/oox/core/contexthandler.hxx
@@ -20,14 +20,11 @@
#ifndef INCLUDED_OOX_CORE_CONTEXTHANDLER_HXX
#define INCLUDED_OOX_CORE_CONTEXTHANDLER_HXX
-#include <exception>
#include <memory>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XFastContextHandler.hpp>
#include <cppuhelper/implbase.hxx>
#include <oox/dllapi.h>
diff --git a/include/oox/core/contexthandler2.hxx b/include/oox/core/contexthandler2.hxx
index cc479e88b93e..678aed1380c2 100644
--- a/include/oox/core/contexthandler2.hxx
+++ b/include/oox/core/contexthandler2.hxx
@@ -21,13 +21,10 @@
#define INCLUDED_OOX_CORE_CONTEXTHANDLER2_HXX
#include <cstddef>
-#include <exception>
#include <memory>
#include <vector>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
-#include <com/sun/star/xml/sax/SAXException.hpp>
#include <oox/core/contexthandler.hxx>
#include <oox/dllapi.h>
#include <rtl/ustring.hxx>
diff --git a/include/oox/core/fastparser.hxx b/include/oox/core/fastparser.hxx
index b2a9bab30ab6..db8057da0d25 100644
--- a/include/oox/core/fastparser.hxx
+++ b/include/oox/core/fastparser.hxx
@@ -20,11 +20,7 @@
#ifndef INCLUDED_OOX_CORE_FASTPARSER_HXX
#define INCLUDED_OOX_CORE_FASTPARSER_HXX
-#include <com/sun/star/io/IOException.hpp>
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
-#include <com/sun/star/xml/sax/SAXException.hpp>
#include <rtl/ustring.hxx>
#include <rtl/ref.hxx>
#include <sal/types.h>
diff --git a/include/oox/core/fasttokenhandler.hxx b/include/oox/core/fasttokenhandler.hxx
index 6e8e457ca517..5972e07a71a2 100644
--- a/include/oox/core/fasttokenhandler.hxx
+++ b/include/oox/core/fasttokenhandler.hxx
@@ -20,12 +20,9 @@
#ifndef INCLUDED_OOX_CORE_FASTTOKENHANDLER_HXX
#define INCLUDED_OOX_CORE_FASTTOKENHANDLER_HXX
-#include <exception>
-
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
#include <cppuhelper/implbase.hxx>
#include <oox/dllapi.h>
diff --git a/include/oox/core/filterbase.hxx b/include/oox/core/filterbase.hxx
index f00885cf3adc..ed4e35f3b52d 100644
--- a/include/oox/core/filterbase.hxx
+++ b/include/oox/core/filterbase.hxx
@@ -20,19 +20,15 @@
#ifndef INCLUDED_OOX_CORE_FILTERBASE_HXX
#define INCLUDED_OOX_CORE_FILTERBASE_HXX
-#include <exception>
#include <memory>
#include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XImporter.hpp>
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/Any.hxx>
-#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/implbase.hxx>
diff --git a/include/oox/core/filterdetect.hxx b/include/oox/core/filterdetect.hxx
index 1df0d5c6b335..e826705cc926 100644
--- a/include/oox/core/filterdetect.hxx
+++ b/include/oox/core/filterdetect.hxx
@@ -20,16 +20,13 @@
#ifndef INCLUDED_OOX_CORE_FILTERDETECT_HXX
#define INCLUDED_OOX_CORE_FILTERDETECT_HXX
-#include <exception>
#include <vector>
#include <com/sun/star/document/XExtendedFilterDetection.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
#include <cppuhelper/implbase.hxx>
#include <oox/dllapi.h>
diff --git a/include/oox/core/fragmenthandler.hxx b/include/oox/core/fragmenthandler.hxx
index 6501c0761682..30f182a71fa3 100644
--- a/include/oox/core/fragmenthandler.hxx
+++ b/include/oox/core/fragmenthandler.hxx
@@ -20,13 +20,9 @@
#ifndef INCLUDED_OOX_CORE_FRAGMENTHANDLER_HXX
#define INCLUDED_OOX_CORE_FRAGMENTHANDLER_HXX
-#include <exception>
-
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
#include <cppuhelper/implbase.hxx>
#include <oox/core/contexthandler.hxx>
diff --git a/include/oox/core/fragmenthandler2.hxx b/include/oox/core/fragmenthandler2.hxx
index a08111395e8d..7c64c200041d 100644
--- a/include/oox/core/fragmenthandler2.hxx
+++ b/include/oox/core/fragmenthandler2.hxx
@@ -20,12 +20,9 @@
#ifndef INCLUDED_OOX_CORE_FRAGMENTHANDLER2_HXX
#define INCLUDED_OOX_CORE_FRAGMENTHANDLER2_HXX
-#include <exception>
#include <vector>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
-#include <com/sun/star/xml/sax/SAXException.hpp>
#include <oox/core/contexthandler.hxx>
#include <oox/core/contexthandler2.hxx>
#include <oox/core/fragmenthandler.hxx>
diff --git a/include/oox/core/recordparser.hxx b/include/oox/core/recordparser.hxx
index e0069a6ebe9f..d8525ac8e5d9 100644
--- a/include/oox/core/recordparser.hxx
+++ b/include/oox/core/recordparser.hxx
@@ -23,9 +23,6 @@
#include <map>
#include <memory>
-#include <com/sun/star/io/IOException.hpp>
-#include <com/sun/star/uno/RuntimeException.hpp>
-#include <com/sun/star/xml/sax/SAXException.hpp>
#include <oox/helper/binaryinputstream.hxx>
#include <oox/core/fragmenthandler.hxx>
#include <rtl/ref.hxx>
diff --git a/include/oox/core/relationshandler.hxx b/include/oox/core/relationshandler.hxx
index 1aa84ad1aa48..f4cb10302f17 100644
--- a/include/oox/core/relationshandler.hxx
+++ b/include/oox/core/relationshandler.hxx
@@ -20,11 +20,7 @@
#ifndef INCLUDED_OOX_CORE_RELATIONSHANDLER_HXX
#define INCLUDED_OOX_CORE_RELATIONSHANDLER_HXX
-#include <exception>
-
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
-#include <com/sun/star/xml/sax/SAXException.hpp>
#include <oox/core/fragmenthandler.hxx>
#include <oox/core/relations.hxx>
#include <sal/types.h>
diff --git a/include/oox/core/xmlfilterbase.hxx b/include/oox/core/xmlfilterbase.hxx
index e2be8d14f9c8..4f828abf82eb 100644
--- a/include/oox/core/xmlfilterbase.hxx
+++ b/include/oox/core/xmlfilterbase.hxx
@@ -24,7 +24,6 @@
#include <vector>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <oox/core/filterbase.hxx>
#include <oox/core/relations.hxx>
#include <oox/dllapi.h>
diff --git a/include/oox/crypto/CryptTools.hxx b/include/oox/crypto/CryptTools.hxx
index 80d52cbeed74..1fded8d32149 100644
--- a/include/oox/crypto/CryptTools.hxx
+++ b/include/oox/crypto/CryptTools.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_OOX_CRYPTO_CRYPTTOOLS_HXX
#define INCLUDED_OOX_CRYPTO_CRYPTTOOLS_HXX
-#include <config_oox.h>
#include <oox/dllapi.h>
#include <sal/types.h>
diff --git a/include/oox/crypto/DocumentEncryption.hxx b/include/oox/crypto/DocumentEncryption.hxx
index a59f1b118304..944e6b06c910 100644
--- a/include/oox/crypto/DocumentEncryption.hxx
+++ b/include/oox/crypto/DocumentEncryption.hxx
@@ -15,7 +15,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <oox/crypto/Standard2007Engine.hxx>
-#include <oox/crypto/AgileEngine.hxx>
#include <rtl/ustring.hxx>
namespace com { namespace sun { namespace star {
diff --git a/include/oox/crypto/Standard2007Engine.hxx b/include/oox/crypto/Standard2007Engine.hxx
index 68871d2e1ab8..88c45a46889b 100644
--- a/include/oox/crypto/Standard2007Engine.hxx
+++ b/include/oox/crypto/Standard2007Engine.hxx
@@ -14,7 +14,6 @@
#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>
diff --git a/include/oox/drawingml/diagram/diagram.hxx b/include/oox/drawingml/diagram/diagram.hxx
index 3db8d5f69fc1..a449014e4be9 100644
--- a/include/oox/drawingml/diagram/diagram.hxx
+++ b/include/oox/drawingml/diagram/diagram.hxx
@@ -21,8 +21,8 @@
#define INCLUDED_OOX_DRAWINGML_DIAGRAM_DIAGRAM_HXX
#include <rtl/ustring.hxx>
-#include <oox/drawingml/shape.hxx>
#include <oox/core/xmlfilterbase.hxx>
+#include <oox/drawingml/drawingmltypes.hxx>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/uno/Reference.hxx>
diff --git a/include/oox/drawingml/shapepropertymap.hxx b/include/oox/drawingml/shapepropertymap.hxx
index 8470f07ea154..eff203a4643d 100644
--- a/include/oox/drawingml/shapepropertymap.hxx
+++ b/include/oox/drawingml/shapepropertymap.hxx
@@ -20,9 +20,6 @@
#ifndef INCLUDED_OOX_DRAWINGML_SHAPEPROPERTYMAP_HXX
#define INCLUDED_OOX_DRAWINGML_SHAPEPROPERTYMAP_HXX
-#include <cstddef>
-#include <vector>
-
#include <com/sun/star/uno/Any.hxx>
#include <o3tl/enumarray.hxx>
#include <oox/dllapi.h>
diff --git a/include/oox/dump/xlsbdumper.hxx b/include/oox/dump/xlsbdumper.hxx
index 5992e879de5e..2b3353173520 100644
--- a/include/oox/dump/xlsbdumper.hxx
+++ b/include/oox/dump/xlsbdumper.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_OOX_DUMP_XLSBDUMPER_HXX
#define INCLUDED_OOX_DUMP_XLSBDUMPER_HXX
-#include <memory>
-
#include <com/sun/star/uno/Reference.hxx>
#include <oox/dump/dumperbase.hxx>
#include <rtl/ustring.hxx>
diff --git a/include/oox/export/utils.hxx b/include/oox/export/utils.hxx
index 357597e7a5d4..e75a3f83a120 100644
--- a/include/oox/export/utils.hxx
+++ b/include/oox/export/utils.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_OOX_EXPORT_UTILS_HXX
#include <rtl/string.hxx>
-#include <rtl/textenc.h>
#include <sal/types.h>
inline OString I32SHEX(sal_Int32 x)
diff --git a/include/oox/helper/graphichelper.hxx b/include/oox/helper/graphichelper.hxx
index cafcef22168c..4854985d1014 100644
--- a/include/oox/helper/graphichelper.hxx
+++ b/include/oox/helper/graphichelper.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_OOX_HELPER_GRAPHICHELPER_HXX
#define INCLUDED_OOX_HELPER_GRAPHICHELPER_HXX
-#include <deque>
#include <map>
#include <com/sun/star/awt/DeviceInfo.hpp>
diff --git a/include/oox/helper/helper.hxx b/include/oox/helper/helper.hxx
index a0c79e0bc6f7..bc208af02662 100644
--- a/include/oox/helper/helper.hxx
+++ b/include/oox/helper/helper.hxx
@@ -22,13 +22,11 @@
#include <sal/config.h>
-#include <algorithm>
#include <cstring>
#include <limits>
#include <osl/endian.h>
#include <rtl/math.hxx>
-#include <rtl/string.hxx>
#include <rtl/textenc.h>
#include <sal/macros.h>
#include <sal/types.h>
diff --git a/include/oox/ole/olehelper.hxx b/include/oox/ole/olehelper.hxx
index 16e50630d0bf..4995db760547 100644
--- a/include/oox/ole/olehelper.hxx
+++ b/include/oox/ole/olehelper.hxx
@@ -25,7 +25,6 @@
#include <oox/dllapi.h>
#include <oox/helper/binarystreambase.hxx>
#include <oox/helper/graphichelper.hxx>
-#include <oox/helper/helper.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <tools/ref.hxx>
diff --git a/include/oox/ppt/pptimport.hxx b/include/oox/ppt/pptimport.hxx
index 49b801b5179c..c97a6f8c4f57 100644
--- a/include/oox/ppt/pptimport.hxx
+++ b/include/oox/ppt/pptimport.hxx
@@ -20,13 +20,11 @@
#ifndef INCLUDED_OOX_PPT_PPTIMPORT_HXX
#define INCLUDED_OOX_PPT_PPTIMPORT_HXX
-#include <exception>
#include <map>
#include <memory>
#include <vector>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <oox/core/filterbase.hxx>
#include <oox/core/xmlfilterbase.hxx>
diff --git a/include/oox/shape/ShapeFilterBase.hxx b/include/oox/shape/ShapeFilterBase.hxx
index 1dc7653bd314..50d80f39cae9 100644
--- a/include/oox/shape/ShapeFilterBase.hxx
+++ b/include/oox/shape/ShapeFilterBase.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_OOX_SHAPE_SHAPEFILTERBASE_HXX
#include <memory>
-#include <rtl/ref.hxx>
#include <oox/dllapi.h>
#include <oox/vml/vmldrawing.hxx>
#include <oox/core/xmlfilterbase.hxx>
diff --git a/include/oox/vml/vmlinputstream.hxx b/include/oox/vml/vmlinputstream.hxx
index 54b93bbe4344..85c8116634e4 100644
--- a/include/oox/vml/vmlinputstream.hxx
+++ b/include/oox/vml/vmlinputstream.hxx
@@ -20,15 +20,9 @@
#ifndef INCLUDED_OOX_VML_VMLINPUTSTREAM_HXX
#define INCLUDED_OOX_VML_VMLINPUTSTREAM_HXX
-#include <exception>
-
-#include <com/sun/star/io/BufferSizeExceededException.hpp>
-#include <com/sun/star/io/IOException.hpp>
-#include <com/sun/star/io/NotConnectedException.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <cppuhelper/implbase.hxx>
#include <rtl/string.hxx>