summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-06-01 23:58:05 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-06-04 14:04:50 +0200
commitc35916de11632685571aaf9728f083fe3287c4c0 (patch)
tree8047a036fd99062d028d9c5ae63b5084fa9324ea /sd/source/filter/ppt
parentc42b1cf2464924b125aeae15968fb79cf795bc81 (diff)
tdf#42949 Fix IWYU warnings in sd/source/filter
Found with bin/find-unneeded-includes Removal proposals are dealt with, and necessary fallout management Change-Id: Ibf30bb929d2530572bbfee7ebeaad8a7fea7b3c2 Reviewed-on: https://gerrit.libreoffice.org/55208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sd/source/filter/ppt')
-rw-r--r--sd/source/filter/ppt/ppt97animations.hxx1
-rw-r--r--sd/source/filter/ppt/pptanimations.hxx2
-rw-r--r--sd/source/filter/ppt/pptatom.hxx5
-rw-r--r--sd/source/filter/ppt/pptin.cxx3
-rw-r--r--sd/source/filter/ppt/pptin.hxx2
-rw-r--r--sd/source/filter/ppt/pptinanimations.cxx4
-rw-r--r--sd/source/filter/ppt/pptinanimations.hxx10
7 files changed, 12 insertions, 15 deletions
diff --git a/sd/source/filter/ppt/ppt97animations.hxx b/sd/source/filter/ppt/ppt97animations.hxx
index d2c1c6eb25f6..0baef8965ecb 100644
--- a/sd/source/filter/ppt/ppt97animations.hxx
+++ b/sd/source/filter/ppt/ppt97animations.hxx
@@ -25,7 +25,6 @@
#include <tools/color.hxx>
class SdrObject;
-class Ppt97Animation;
class SvStream;
/// helper class for reading PPT AnimationInfoAtom
diff --git a/sd/source/filter/ppt/pptanimations.hxx b/sd/source/filter/ppt/pptanimations.hxx
index 34d750c42e29..8de13b56d090 100644
--- a/sd/source/filter/ppt/pptanimations.hxx
+++ b/sd/source/filter/ppt/pptanimations.hxx
@@ -22,8 +22,6 @@
#include <com/sun/star/uno/Any.h>
-#include <oox/ppt/pptfilterhelpers.hxx>
-
#include <map>
#include <sal/types.h>
diff --git a/sd/source/filter/ppt/pptatom.hxx b/sd/source/filter/ppt/pptatom.hxx
index 72b1238ac583..a177c443da3c 100644
--- a/sd/source/filter/ppt/pptatom.hxx
+++ b/sd/source/filter/ppt/pptatom.hxx
@@ -20,10 +20,7 @@
#ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PPTATOM_HXX
#define INCLUDED_SD_SOURCE_FILTER_PPT_PPTATOM_HXX
-#include <svx/msdffdef.hxx>
-#include <filter/msfilter/msdffimp.hxx>
-
-class SvStream;
+#include <filter/msfilter/dffrecordheader.hxx>
namespace ppt
{
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index cda8adb45b0e..ab97f71ce73d 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -83,6 +83,8 @@
#include <sfx2/docfac.hxx>
#define MAX_USER_MOVE 2
+#include <animations.hxx>
+#include "pptanimations.hxx"
#include "pptinanimations.hxx"
#include "ppt97animations.hxx"
@@ -94,6 +96,7 @@
#include <comphelper/string.hxx>
#include <oox/ole/olehelper.hxx>
+#include <oox/ppt/pptfilterhelpers.hxx>
#include <boost/optional.hpp>
diff --git a/sd/source/filter/ppt/pptin.hxx b/sd/source/filter/ppt/pptin.hxx
index f4b6de81d752..b620836b8791 100644
--- a/sd/source/filter/ppt/pptin.hxx
+++ b/sd/source/filter/ppt/pptin.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SD_SOURCE_FILTER_PPT_PPTIN_HXX
#include <filter/msfilter/svdfppt.hxx>
-#include <svx/msdffdef.hxx>
#include <diadef.h>
#include <svx/svdtypes.hxx>
#include <memory>
@@ -37,7 +36,6 @@ class SfxMedium;
class SdPage;
class SdAnimationInfo;
-struct PptInteractiveInfoAtom;
class Ppt97Animation;
typedef std::shared_ptr< Ppt97Animation > Ppt97AnimationPtr;
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx
index d1e00b043f7a..1c0c51da2411 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -32,6 +32,7 @@
#include <com/sun/star/animations/AnimationAdditiveMode.hpp>
#include <com/sun/star/animations/XIterateContainer.hpp>
#include <com/sun/star/animations/XAnimateSet.hpp>
+#include <com/sun/star/animations/XAnimationNode.hpp>
#include <com/sun/star/animations/XAudio.hpp>
#include <com/sun/star/animations/XCommand.hpp>
#include <com/sun/star/animations/XTransitionFilter.hpp>
@@ -55,6 +56,7 @@
#include <com/sun/star/presentation/TextAnimationType.hpp>
#include <comphelper/processfactory.hxx>
#include <oox/helper/addtosequence.hxx>
+#include <oox/ppt/pptfilterhelpers.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
@@ -62,6 +64,8 @@
#include <svx/svdotext.hxx>
#include <editeng/outlobj.hxx>
#include <editeng/editobj.hxx>
+#include <animations.hxx>
+#include "pptanimations.hxx"
#include "pptinanimations.hxx"
#include "pptatom.hxx"
#include "pptin.hxx"
diff --git a/sd/source/filter/ppt/pptinanimations.hxx b/sd/source/filter/ppt/pptinanimations.hxx
index 7a237fc14cee..c83807bd80ed 100644
--- a/sd/source/filter/ppt/pptinanimations.hxx
+++ b/sd/source/filter/ppt/pptinanimations.hxx
@@ -20,17 +20,15 @@
#ifndef INCLUDED_SD_SOURCE_FILTER_PPT_PPTINANIMATIONS_HXX
#define INCLUDED_SD_SOURCE_FILTER_PPT_PPTINANIMATIONS_HXX
-#include <com/sun/star/drawing/XDrawPage.hpp>
-
-#include "pptanimations.hxx"
-#include <animations.hxx>
+#include <oox/ppt/pptfilterhelpers.hxx>
#ifdef DBG_ANIM_LOG
#include <stdio.h>
#endif
-#include <filter/msfilter/svdfppt.hxx>
-#include <list>
+namespace com { namespace sun { namespace star { namespace animations { class XAnimationNode; } } } }
+namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
+namespace ppt { struct AnimationNode; }
class DffRecordHeader;
class SvStream;