diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-05-21 11:03:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-24 09:04:29 +0200 |
commit | 23d51ad9343f9be1bac30e0bb2b21963699fdade (patch) | |
tree | 22d320136e3747acdb9d711ce48834dc7bb3c3c2 /sd/inc | |
parent | bb89376797b3eace17afacf764b833287376a486 (diff) |
tdf#42949 Fix IWYU warnings in sd/inc/*
Found with bin/find-unneeded-includes
Removal proposals are dealt with here
With fallout management as necessary
Change-Id: Iaef9eec626334c480dd5a2def63bb476350ceebb
Reviewed-on: https://gerrit.libreoffice.org/54617
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/CustomAnimationEffect.hxx | 1 | ||||
-rw-r--r-- | sd/inc/CustomAnimationPreset.hxx | 1 | ||||
-rw-r--r-- | sd/inc/DocumentRenderer.hrc | 2 | ||||
-rw-r--r-- | sd/inc/EffectMigration.hxx | 1 | ||||
-rw-r--r-- | sd/inc/SdShapeTypes.hxx | 4 | ||||
-rw-r--r-- | sd/inc/TransitionPreset.hxx | 2 | ||||
-rw-r--r-- | sd/inc/anminfo.hxx | 3 | ||||
-rw-r--r-- | sd/inc/cusshow.hxx | 1 | ||||
-rw-r--r-- | sd/inc/glob.hxx | 3 | ||||
-rw-r--r-- | sd/inc/helpids.h | 3 | ||||
-rw-r--r-- | sd/inc/imapinfo.hxx | 1 | ||||
-rw-r--r-- | sd/inc/sdattr.hxx | 4 | ||||
-rw-r--r-- | sd/inc/stlfamily.hxx | 4 | ||||
-rw-r--r-- | sd/inc/stlpool.hxx | 6 | ||||
-rw-r--r-- | sd/inc/stlsheet.hxx | 3 | ||||
-rw-r--r-- | sd/inc/textapi.hxx | 5 | ||||
-rw-r--r-- | sd/inc/undo/undomanager.hxx | 3 | ||||
-rw-r--r-- | sd/inc/undo/undoobjects.hxx | 3 |
18 files changed, 2 insertions, 48 deletions
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx index 53e08b70c4af..91dc355b8cc7 100644 --- a/sd/inc/CustomAnimationEffect.hxx +++ b/sd/inc/CustomAnimationEffect.hxx @@ -30,7 +30,6 @@ #include <list> #include <vector> #include <map> -#include <memory> class SdrPathObj; class SdrModel; diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx index b5d9b4d60008..2685dd2be4d3 100644 --- a/sd/inc/CustomAnimationPreset.hxx +++ b/sd/inc/CustomAnimationPreset.hxx @@ -22,7 +22,6 @@ #include <sal/config.h> -#include <memory> #include <vector> #include <com/sun/star/lang/XMultiServiceFactory.hpp> diff --git a/sd/inc/DocumentRenderer.hrc b/sd/inc/DocumentRenderer.hrc index 03c83f0f903f..137f406e35d5 100644 --- a/sd/inc/DocumentRenderer.hrc +++ b/sd/inc/DocumentRenderer.hrc @@ -20,8 +20,6 @@ #ifndef INCLUDED_SD_INC_DOCUMENTRENDERER_HRC #define INCLUDED_SD_INC_DOCUMENTRENDERER_HRC -#include <utility> - #define NC_(Context, String) (Context "\004" u8##String) const char* STR_IMPRESS_PRINT_UI_CONTENT_CHOICES[] = diff --git a/sd/inc/EffectMigration.hxx b/sd/inc/EffectMigration.hxx index 9dc388c0ecb2..adc8bbd4eaa3 100644 --- a/sd/inc/EffectMigration.hxx +++ b/sd/inc/EffectMigration.hxx @@ -28,7 +28,6 @@ class SdDrawDocument; class SdPage; class SvxShape; class SdAnimationInfo; -class SdrObject; class SdrPathObj; class SdrObjGroup; diff --git a/sd/inc/SdShapeTypes.hxx b/sd/inc/SdShapeTypes.hxx index 6fbcc3de2c13..df89b4499f44 100644 --- a/sd/inc/SdShapeTypes.hxx +++ b/sd/inc/SdShapeTypes.hxx @@ -20,10 +20,6 @@ #ifndef INCLUDED_SD_INC_SDSHAPETYPES_HXX #define INCLUDED_SD_INC_SDSHAPETYPES_HXX -#include <svx/ShapeTypeHandler.hxx> -#include <svx/AccessibleShape.hxx> -#include <com/sun/star/accessibility/XAccessible.hpp> - namespace accessibility { /** Register the SD presentation shape types with the ShapeTypeHandler singleton. diff --git a/sd/inc/TransitionPreset.hxx b/sd/inc/TransitionPreset.hxx index 623989f8e93a..d4c5381c7039 100644 --- a/sd/inc/TransitionPreset.hxx +++ b/sd/inc/TransitionPreset.hxx @@ -31,8 +31,6 @@ namespace com { namespace sun { namespace star { namespace uno { template<class X> class Reference; } } } } -class SdPage; - namespace sd { class TransitionPreset; diff --git a/sd/inc/anminfo.hxx b/sd/inc/anminfo.hxx index 0fe0f2993f7d..03dd4fce8783 100644 --- a/sd/inc/anminfo.hxx +++ b/sd/inc/anminfo.hxx @@ -28,9 +28,6 @@ #include <tools/color.hxx> #include "sddllapi.h" -class SdrObject; -class SdrPathObj; - class SD_DLLPUBLIC SdAnimationInfo : public SdrObjUserData { public: diff --git a/sd/inc/cusshow.hxx b/sd/inc/cusshow.hxx index a4ab36d38f52..612798bdc473 100644 --- a/sd/inc/cusshow.hxx +++ b/sd/inc/cusshow.hxx @@ -24,7 +24,6 @@ #include <cppuhelper/weakref.hxx> #include "sddllapi.h" -class SdDrawDocument; class SdPage; class SD_DLLPUBLIC SdCustomShow final diff --git a/sd/inc/glob.hxx b/sd/inc/glob.hxx index 32e2d7f54d2f..4708196316d0 100644 --- a/sd/inc/glob.hxx +++ b/sd/inc/glob.hxx @@ -20,9 +20,6 @@ #ifndef INCLUDED_SD_INC_GLOB_HXX #define INCLUDED_SD_INC_GLOB_HXX -#include <svl/style.hxx> -#include <sal/types.h> - #define SD_IF_SDAPP SFX_INTERFACE_SD_START + SfxInterfaceId(0) #define SD_IF_SDDRAWDOCSHELL SFX_INTERFACE_SD_START + SfxInterfaceId(1) #define SD_IF_SDDRAWVIEWSHELL SFX_INTERFACE_SD_START + SfxInterfaceId(3) diff --git a/sd/inc/helpids.h b/sd/inc/helpids.h index 64678d7733ad..0b2622f4c4c3 100644 --- a/sd/inc/helpids.h +++ b/sd/inc/helpids.h @@ -20,9 +20,6 @@ #ifndef INCLUDED_SD_INC_HELPIDS_H #define INCLUDED_SD_INC_HELPIDS_H -#include <svx/svxcommands.h> -#include "sdcommands.h" - #define HID_SDDRAWVIEWSHELL "SD_HID_SDDRAWVIEWSHELL" #define HID_SDGRAPHICVIEWSHELL "SD_HID_SDGRAPHICVIEWSHELL" #define HID_SDOUTLINEVIEWSHELL "SD_HID_SDOUTLINEVIEWSHELL" diff --git a/sd/inc/imapinfo.hxx b/sd/inc/imapinfo.hxx index 77c6c203b43f..2db510b2dc20 100644 --- a/sd/inc/imapinfo.hxx +++ b/sd/inc/imapinfo.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SD_INC_IMAPINFO_HXX #define INCLUDED_SD_INC_IMAPINFO_HXX -#include "sdiocmpt.hxx" #include "glob.hxx" #include <svx/svdobj.hxx> #include <svtools/imap.hxx> diff --git a/sd/inc/sdattr.hxx b/sd/inc/sdattr.hxx index adbcd403646a..a7b0614114e2 100644 --- a/sd/inc/sdattr.hxx +++ b/sd/inc/sdattr.hxx @@ -20,14 +20,10 @@ #ifndef INCLUDED_SD_INC_SDATTR_HXX #define INCLUDED_SD_INC_SDATTR_HXX -#include <svl/intitem.hxx> #include <svl/eitem.hxx> #include <svl/stritem.hxx> #include "sdattr.hrc" -#include "glob.hxx" -#include "fadedef.h" -#include "diadef.h" // layer attributes inline SfxStringItem makeSdAttrLayerName( const OUString& aStr ) diff --git a/sd/inc/stlfamily.hxx b/sd/inc/stlfamily.hxx index 3367b49a2d44..fbaa825505cc 100644 --- a/sd/inc/stlfamily.hxx +++ b/sd/inc/stlfamily.hxx @@ -22,10 +22,8 @@ #include <memory> #include <com/sun/star/uno/Any.hxx> -#include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/container/XIndexAccess.hpp> @@ -38,8 +36,6 @@ #include <svl/style.hxx> -#include <editeng/unoipset.hxx> - class SdStyleSheet; class SdPage; struct SdStyleFamilyImpl; diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx index 506d4d47eb11..cfe639038f9a 100644 --- a/sd/inc/stlpool.hxx +++ b/sd/inc/stlpool.hxx @@ -22,11 +22,7 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/container/XIndexAccess.hpp> -#include <com/sun/star/container/XNameContainer.hpp> -#include <com/sun/star/container/XNamed.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XComponent.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <cppuhelper/implbase.hxx> #include <map> @@ -37,10 +33,8 @@ #include "sddllapi.h" -class SdStyleSheet; class SdDrawDocument; class SdPage; -class SfxStyleSheetBase; class SvxNumberFormat; typedef std::map< const SdPage*, SdStyleFamilyRef > SdStyleFamilyMap; diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx index b6b1d599a71c..b86314383ca5 100644 --- a/sd/inc/stlsheet.hxx +++ b/sd/inc/stlsheet.hxx @@ -35,13 +35,12 @@ #include <svl/style.hxx> -#include <editeng/unoipset.hxx> - #include <memory> #include "prlayout.hxx" class ModifyListenerForewarder; +struct SfxItemPropertySimpleEntry; typedef cppu::ImplInheritanceHelper< SfxUnoStyleSheet, css::beans::XPropertySet, diff --git a/sd/inc/textapi.hxx b/sd/inc/textapi.hxx index 6906ffa2112e..df771dc55e50 100644 --- a/sd/inc/textapi.hxx +++ b/sd/inc/textapi.hxx @@ -20,14 +20,9 @@ #ifndef INCLUDED_SD_INC_TEXTAPI_HXX #define INCLUDED_SD_INC_TEXTAPI_HXX -#include <editeng/unoedsrc.hxx> #include <editeng/unotext.hxx> -#include <editeng/eeitem.hxx> #include <rtl/ref.hxx> #include <editeng/outliner.hxx> -#include <editeng/unoprnms.hxx> -#include <editeng/unoforou.hxx> -#include <editeng/unoipset.hxx> class SdDrawDocument; diff --git a/sd/inc/undo/undomanager.hxx b/sd/inc/undo/undomanager.hxx index ea996f258e9f..d2519a7b0b6d 100644 --- a/sd/inc/undo/undomanager.hxx +++ b/sd/inc/undo/undomanager.hxx @@ -20,12 +20,9 @@ #ifndef INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX #define INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX -#include <misc/scopelock.hxx> #include <svx/sdrundomanager.hxx> #include <sddllapi.h> -class SfxViewShell; - namespace sd { diff --git a/sd/inc/undo/undoobjects.hxx b/sd/inc/undo/undoobjects.hxx index 59c120816415..15ae5c6c1d4b 100644 --- a/sd/inc/undo/undoobjects.hxx +++ b/sd/inc/undo/undoobjects.hxx @@ -22,9 +22,8 @@ #include <memory> #include <svx/svdundo.hxx> -#include <svx/svdpage.hxx> -#include <svx/svdobj.hxx> #include <pres.hxx> +#include <tools/weakbase.hxx> class SdrObjUserCall; class SdPage; |