summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/IwyuFilter_oox.yaml22
-rw-r--r--oox/inc/drawingml/hatchmap.hxx2
-rw-r--r--oox/qa/unit/vba_encryption.cxx1
-rw-r--r--oox/source/core/xmlfilterbase.cxx1
-rw-r--r--oox/source/crypto/DocumentDecryption.cxx9
-rw-r--r--oox/source/drawingml/chart/titlecontext.cxx1
-rw-r--r--oox/source/drawingml/fillproperties.cxx1
-rw-r--r--oox/source/export/chartexport.cxx1
-rw-r--r--oox/source/export/shapes.cxx1
-rw-r--r--oox/source/helper/propertymap.cxx1
10 files changed, 25 insertions, 15 deletions
diff --git a/oox/IwyuFilter_oox.yaml b/oox/IwyuFilter_oox.yaml
index 5698da55f684..d652ce192592 100644
--- a/oox/IwyuFilter_oox.yaml
+++ b/oox/IwyuFilter_oox.yaml
@@ -7,6 +7,9 @@ excludelist:
oox/source/core/filterbase.cxx:
# Actually used
- comphelper/scopeguard.hxx
+ oox/source/core/fragmenthandler2.cxx:
+ # Needed for template
+ - com/sun/star/frame/XModel.hpp
oox/source/core/xmlfilterbase.cxx:
# Actually used
- com/sun/star/xml/sax/XFastSAXSerializable.hpp
@@ -50,6 +53,9 @@ excludelist:
# Actually used
- com/sun/star/graphic/XGraphic.hpp
- com/sun/star/style/ParagraphAdjust.hpp
+ oox/source/drawingml/textrun.cxx:
+ # Actually used
+ - com/sun/star/frame/XModel.hpp
oox/source/drawingml/chart/axisconverter.cxx:
# Actually used
- com/sun/star/chart2/XCoordinateSystem.hpp
@@ -135,9 +141,25 @@ excludelist:
oox/source/ppt/pptimport.cxx:
# Actually used
- comphelper/scopeguard.hxx
+ oox/source/ppt/pptshape.cxx:
+ # Needed for template
+ - com/sun/star/frame/XModel.hpp
+ - com/sun/star/drawing/XDrawPage.hpp
+ oox/source/ppt/presPropsfragmenthandler.cxx:
+ # Needed for template
+ - com/sun/star/frame/XModel.hpp
+ oox/source/ppt/slidepersist.cxx:
+ # Needed for template
+ - com/sun/star/frame/XModel.hpp
oox/source/ppt/slidetransition.cxx:
# Actually used
- com/sun/star/animations/XTransitionFilter.hpp
+ oox/source/shape/ShapeFilterBase.cxx:
+ # Needed for template
+ - com/sun/star/frame/XModel.hpp
+ oox/qa/unit/shape.cxx:
+ # Needed for rtl::math::round
+ - rtl/math.hxx
oox/source/shape/ShapeContextHandler.cxx:
# Actually used
- com/sun/star/xml/dom/XDocument.hpp
diff --git a/oox/inc/drawingml/hatchmap.hxx b/oox/inc/drawingml/hatchmap.hxx
index f0621f872b0a..64e2722fe769 100644
--- a/oox/inc/drawingml/hatchmap.hxx
+++ b/oox/inc/drawingml/hatchmap.hxx
@@ -10,6 +10,8 @@
#include <com/sun/star/drawing/Hatch.hpp>
#include <oox/token/tokens.hxx>
+#include <tools/color.hxx>
+
using namespace com::sun::star;
using namespace oox;
diff --git a/oox/qa/unit/vba_encryption.cxx b/oox/qa/unit/vba_encryption.cxx
index 326711cae9fc..0797cc02f6a2 100644
--- a/oox/qa/unit/vba_encryption.cxx
+++ b/oox/qa/unit/vba_encryption.cxx
@@ -12,7 +12,6 @@
#include <cppunit/TestFixture.h>
#include <oox/ole/vbaexport.hxx>
-#include <algorithm>
class TestVbaEncryption : public CppUnit::TestFixture
{
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index d1d1e82f0bb9..1eb6fddaf1b6 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -20,7 +20,6 @@
#include <oox/core/xmlfilterbase.hxx>
#include <cstdio>
-#include <set>
#include <com/sun/star/beans/XPropertyAccess.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/Pair.hpp>
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx
index feec8de10691..7dd653099fdc 100644
--- a/oox/source/crypto/DocumentDecryption.cxx
+++ b/oox/source/crypto/DocumentDecryption.cxx
@@ -16,17 +16,10 @@
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/IOException.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/packages/XPackageEncryption.hpp>
#include <oox/ole/olestorage.hxx>
#include <oox/helper/binaryinputstream.hxx>
-#include <filter/msfilter/mscodec.hxx>
-
-#include <com/sun/star/task/PasswordRequestMode.hpp>
-#include <comphelper/docpasswordrequest.hxx>
-#include <comphelper/stillreadwriteinteraction.hxx>
-#include <com/sun/star/task/InteractionHandler.hpp>
-#include <com/sun/star/task/PasswordContainer.hpp>
-#include <com/sun/star/task/XInteractionHandler.hpp>
#include <sal/log.hxx>
diff --git a/oox/source/drawingml/chart/titlecontext.cxx b/oox/source/drawingml/chart/titlecontext.cxx
index 35ba44cf60fc..04a4ea7069a3 100644
--- a/oox/source/drawingml/chart/titlecontext.cxx
+++ b/oox/source/drawingml/chart/titlecontext.cxx
@@ -23,7 +23,6 @@
#include <drawingml/textbodycontext.hxx>
#include <drawingml/chart/datasourcecontext.hxx>
#include <drawingml/chart/titlemodel.hxx>
-#include <oox/core/xmlfilterbase.hxx>
#include <oox/helper/attributelist.hxx>
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx
index fe19a556609d..3efd64878326 100644
--- a/oox/source/drawingml/fillproperties.cxx
+++ b/oox/source/drawingml/fillproperties.cxx
@@ -31,7 +31,6 @@
#include <com/sun/star/drawing/BitmapMode.hpp>
#include <com/sun/star/drawing/ColorMode.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
-#include <com/sun/star/drawing/Hatch.hpp>
#include <com/sun/star/drawing/RectanglePoint.hpp>
#include <com/sun/star/graphic/XGraphicTransformer.hpp>
#include <oox/helper/graphichelper.hxx>
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index f13cbca60d8c..491f79e6090f 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -27,7 +27,6 @@
#include <drawingml/chart/typegroupconverter.hxx>
#include <cstdio>
-#include <iterator>
#include <com/sun/star/awt/Gradient.hpp>
#include <com/sun/star/chart/XChartDocument.hpp>
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 00f94294f1fe..41b6fc8f2724 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -72,7 +72,6 @@
#include <svx/unoapi.hxx>
#include <oox/export/chartexport.hxx>
#include <oox/mathml/export.hxx>
-#include <drawingml/presetgeometrynames.hxx>
#include <basegfx/numeric/ftools.hxx>
using namespace ::css;
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index cadb439e0a1a..3bc994aabc19 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -47,7 +47,6 @@ using ::com::sun::star::text::WritingMode;
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <sal/log.hxx>
-#include <tools/long.hxx>
#include <oox/token/properties.hxx>
#include <oox/token/propertynames.hxx>
using ::com::sun::star::uno::Any;