summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2021-12-16 20:59:35 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-12-20 10:06:34 +0100
commit807f238f12e0774fabf507a17ca0ba9204d47833 (patch)
tree37f51c4539aa07ce707dcf81d2e9dc4e16186d15 /include/oox
parent309c8bd4fc5cc7034754b90d6306bbe4084be4d9 (diff)
Recheck include/[e-r]* with IWYU
See tdf#42949 for motivation Change-Id: I44e4e3a88067c1c29ce9d563b22741e984b43576 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126964 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/core/fragmenthandler2.hxx2
-rw-r--r--include/oox/drawingml/drawingmltypes.hxx1
-rw-r--r--include/oox/export/drawingml.hxx1
-rw-r--r--include/oox/export/utils.hxx2
-rw-r--r--include/oox/ppt/pptimport.hxx1
-rw-r--r--include/oox/shape/ShapeContextHandler.hxx2
-rw-r--r--include/oox/shape/ShapeFilterBase.hxx1
7 files changed, 4 insertions, 6 deletions
diff --git a/include/oox/core/fragmenthandler2.hxx b/include/oox/core/fragmenthandler2.hxx
index 598426ee681e..05b2b2d0bef3 100644
--- a/include/oox/core/fragmenthandler2.hxx
+++ b/include/oox/core/fragmenthandler2.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_OOX_CORE_FRAGMENTHANDLER2_HXX
#define INCLUDED_OOX_CORE_FRAGMENTHANDLER2_HXX
-#include <vector>
-
#include <com/sun/star/uno/Reference.hxx>
#include <oox/core/contexthandler.hxx>
#include <oox/core/contexthandler2.hxx>
diff --git a/include/oox/drawingml/drawingmltypes.hxx b/include/oox/drawingml/drawingmltypes.hxx
index 4350b8d033a7..7f7aab4ef7d1 100644
--- a/include/oox/drawingml/drawingmltypes.hxx
+++ b/include/oox/drawingml/drawingmltypes.hxx
@@ -32,7 +32,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <o3tl/unit_conversion.hxx>
#include <oox/dllapi.h>
-#include <oox/helper/helper.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx
index b71490752708..eb1da4a61f8e 100644
--- a/include/oox/export/drawingml.hxx
+++ b/include/oox/export/drawingml.hxx
@@ -42,6 +42,7 @@
#include <svx/msdffdef.hxx>
#include <vcl/checksum.hxx>
#include <tools/gen.hxx>
+#include <tools/color.hxx>
#include <vcl/mapmod.hxx>
class Graphic;
diff --git a/include/oox/export/utils.hxx b/include/oox/export/utils.hxx
index 1a9a790d2182..00fd953a04e7 100644
--- a/include/oox/export/utils.hxx
+++ b/include/oox/export/utils.hxx
@@ -26,6 +26,8 @@
#include <rtl/string.hxx>
#include <sal/types.h>
+#include <cmath>
+
inline OString I32SHEX(sal_Int32 x)
{
OString aStr = OString::number(x, 16);
diff --git a/include/oox/ppt/pptimport.hxx b/include/oox/ppt/pptimport.hxx
index 29ef3c5732a6..3b81f26ec5e8 100644
--- a/include/oox/ppt/pptimport.hxx
+++ b/include/oox/ppt/pptimport.hxx
@@ -31,7 +31,6 @@
#include <oox/drawingml/drawingmltypes.hxx>
#include <oox/drawingml/theme.hxx>
#include <oox/ppt/slidepersist.hxx>
-#include <oox/ppt/pptshape.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
diff --git a/include/oox/shape/ShapeContextHandler.hxx b/include/oox/shape/ShapeContextHandler.hxx
index dadaf7f64cb3..934ea374fd7c 100644
--- a/include/oox/shape/ShapeContextHandler.hxx
+++ b/include/oox/shape/ShapeContextHandler.hxx
@@ -23,8 +23,6 @@
#include <oox/drawingml/graphicshapecontext.hxx>
#include <oox/core/fragmenthandler2.hxx>
#include <oox/core/xmlfilterbase.hxx>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/graphic/XGraphicMapper.hpp>
#include <com/sun/star/drawing/XDrawPage.hpp>
diff --git a/include/oox/shape/ShapeFilterBase.hxx b/include/oox/shape/ShapeFilterBase.hxx
index 5ae3b20c711d..4b6153a58d2f 100644
--- a/include/oox/shape/ShapeFilterBase.hxx
+++ b/include/oox/shape/ShapeFilterBase.hxx
@@ -27,6 +27,7 @@
#include <oox/drawingml/drawingmltypes.hxx>
#include <com/sun/star/graphic/XGraphicMapper.hpp>
#include <rtl/ref.hxx>
+#include <tools/color.hxx>
namespace oox::drawingml::table {