diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-05-27 16:44:14 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-30 09:37:11 +0200 |
commit | 5d7a28fd2dd7f0c1696d4d8989a5a547e3f2e531 (patch) | |
tree | d0cc01307d19e76b3c01d2a59351fa9301b2405a /sd/inc | |
parent | 93e33ba279e837356e157745177d7f6061d442b7 (diff) |
tdf#42949 Fix more IWYU warnings in sd/inc/
Found with bin/find-unneeded-includes
A lot of fallout needed fixing, unfortunately
Change-Id: I528cf5fe77199ee72f19fce3de08fe67e7f63dbe
Reviewed-on: https://gerrit.libreoffice.org/54884
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/Outliner.hxx | 2 | ||||
-rw-r--r-- | sd/inc/drawdoc.hxx | 39 | ||||
-rw-r--r-- | sd/inc/sdabstdlg.hxx | 15 | ||||
-rw-r--r-- | sd/inc/sddll.hxx | 1 | ||||
-rw-r--r-- | sd/inc/sdfilter.hxx | 2 | ||||
-rw-r--r-- | sd/inc/sdgrffilter.hxx | 4 | ||||
-rw-r--r-- | sd/inc/sdmod.hxx | 2 | ||||
-rw-r--r-- | sd/inc/sdpage.hxx | 3 | ||||
-rw-r--r-- | sd/inc/sdresid.hxx | 2 | ||||
-rw-r--r-- | sd/inc/sdxmlwrp.hxx | 4 |
10 files changed, 29 insertions, 45 deletions
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx index 672fd1ac4dbb..adbf0c31ab1a 100644 --- a/sd/inc/Outliner.hxx +++ b/sd/inc/Outliner.hxx @@ -20,14 +20,12 @@ #ifndef INCLUDED_SD_INC_OUTLINER_HXX #define INCLUDED_SD_INC_OUTLINER_HXX -#include <svx/svdobj.hxx> #include <svx/svdoutl.hxx> #include "pres.hxx" #include "OutlinerIterator.hxx" #include <editeng/SpellPortions.hxx> #include <memory> -class Dialog; class SdrObject; class SdrTextObj; class SdDrawDocument; diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index a302fa6eb726..625c2289c3b4 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -20,25 +20,21 @@ #ifndef INCLUDED_SD_INC_DRAWDOC_HXX #define INCLUDED_SD_INC_DRAWDOC_HXX -#include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/text/WritingMode.hpp> -#include <vcl/print.hxx> -#include <vcl/idle.hxx> -#include <svx/fmmodel.hxx> -#include "pres.hxx" -#include <svx/pageitem.hxx> -#include <unotools/charclass.hxx> -#include <sot/storage.hxx> #include <svl/style.hxx> -#include <com/sun/star/xml/dom/XNode.hpp> - -#include <svx/svdundo.hxx> +#include <svx/fmmodel.hxx> +#include <vcl/prntypes.hxx> +#include <xmloff/autolayout.hxx> #include <vector> #include <memory> #include "sddllapi.h" -#include "sdpage.hxx" +#include "pres.hxx" + +namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XNode; } } } } } +namespace com { namespace sun { namespace star { namespace uno { class XInterface; } } } } +namespace vcl { class Font; } namespace com { @@ -54,11 +50,6 @@ namespace com } } -namespace sd -{ - class FrameView; -} - class SdOutliner; class Timer; class SfxObjectShell; @@ -71,13 +62,21 @@ class SfxMedium; class SvxSearchItem; class EditStatus; class Point; -namespace vcl { class Window; } class SdTransferable; struct SpellCallbackInfo; -class SdDrawDocument; -class SdCustomShow; class SdCustomShowList; class SdUndoGroup; +class SdrObject; +class CharClass; +class Idle; +class ImageMap; +class Outliner; +class SdrModel; +class SdrOutliner; +class SdrPage; +class SdrTextObj; +class SfxItemPool; +class Size; namespace sd { diff --git a/sd/inc/sdabstdlg.hxx b/sd/inc/sdabstdlg.hxx index 076555758960..332312ae77ba 100644 --- a/sd/inc/sdabstdlg.hxx +++ b/sd/inc/sdabstdlg.hxx @@ -21,15 +21,12 @@ #include <vector> -#include <rtl/ref.hxx> #include <rtl/string.hxx> +#include <sfx2/tabdlg.hxx> +#include <svl/itemset.hxx> #include <tools/solar.h> -#include <sfx2/sfxdlg.hxx> -#include <com/sun/star/uno/Sequence.h> -#include <com/sun/star/beans/NamedValue.hpp> -#include <com/sun/star/beans/XPropertyAccess.hpp> +#include <vcl/abstdlg.hxx> #include "prlayout.hxx" -#include "sdenumdef.hxx" #include "pres.hxx" #include "sddllapi.h" @@ -41,10 +38,8 @@ namespace sd { } class SfxObjectShell; -class SfxObjectShellLock; class SvxFieldData; class GDIMetaFile; -class XColorList; class SdDrawDocument; class SfxMedium; class SdrObject; @@ -53,11 +48,11 @@ class SfxStyleSheetBase; class SdrModel; class SdrView; class Bitmap; -class List; namespace vcl { class Window; } class SdPage; -class TabPage; class SdCustomShowList; +class SfxAbstractDialog; +class SfxAbstractTabDialog; class AbstractCopyDlg : public VclAbstractDialog { diff --git a/sd/inc/sddll.hxx b/sd/inc/sddll.hxx index 8fa1f6247f95..5c3b876d6c66 100644 --- a/sd/inc/sddll.hxx +++ b/sd/inc/sddll.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SD_INC_SDDLL_HXX #define INCLUDED_SD_INC_SDDLL_HXX -#include <sfx2/module.hxx> #include "sddllapi.h" class SdModule; diff --git a/sd/inc/sdfilter.hxx b/sd/inc/sdfilter.hxx index df1421f51727..dbf6d27a9ff4 100644 --- a/sd/inc/sdfilter.hxx +++ b/sd/inc/sdfilter.hxx @@ -20,11 +20,9 @@ #ifndef INCLUDED_SD_INC_SDFILTER_HXX #define INCLUDED_SD_INC_SDFILTER_HXX -#include <sal/types.h> #include <rtl/ustring.hxx> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/task/XStatusIndicator.hpp> -#include <com/sun/star/task/XStatusIndicatorSupplier.hpp> // SdFilter class SfxMedium; diff --git a/sd/inc/sdgrffilter.hxx b/sd/inc/sdgrffilter.hxx index 2846914e24cd..2b34ecf93e52 100644 --- a/sd/inc/sdgrffilter.hxx +++ b/sd/inc/sdgrffilter.hxx @@ -20,10 +20,8 @@ #ifndef INCLUDED_SD_INC_SDGRFFILTER_HXX #define INCLUDED_SD_INC_SDGRFFILTER_HXX -#include <com/sun/star/drawing/XShape.hpp> - -#include <vcl/errinf.hxx> #include "sdfilter.hxx" +class ErrCode; // SdCGMFilter class SdGRFFilter : public SdFilter diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx index 51085fcc1cf1..74160c6a512b 100644 --- a/sd/inc/sdmod.hxx +++ b/sd/inc/sdmod.hxx @@ -28,8 +28,6 @@ #include <svl/lstner.hxx> #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <sfx2/module.hxx> -#include <vcl/vclevent.hxx> -#include <vcl/virdev.hxx> #include <sal/types.h> #include <map> #include <memory> diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx index 3e49c4f78e06..932643014f4a 100644 --- a/sd/inc/sdpage.hxx +++ b/sd/inc/sdpage.hxx @@ -24,15 +24,12 @@ #include <com/sun/star/presentation/FadeEffect.hpp> #include <com/sun/star/office/XAnnotation.hpp> -#include <functional> -#include <list> #include <memory> #include <vector> #include <editeng/flditem.hxx> #include <svx/svdobj.hxx> #include <svx/fmpage.hxx> #include <xmloff/autolayout.hxx> -#include "fadedef.h" #include "diadef.h" #include "pres.hxx" #include "shapelist.hxx" diff --git a/sd/inc/sdresid.hxx b/sd/inc/sdresid.hxx index 32f4b1301de2..8ac4ea45405e 100644 --- a/sd/inc/sdresid.hxx +++ b/sd/inc/sdresid.hxx @@ -20,8 +20,8 @@ #ifndef INCLUDED_SD_INC_SDRESID_HXX #define INCLUDED_SD_INC_SDRESID_HXX +#include <rtl/ustring.hxx> #include "sddllapi.h" -#include "sdmod.hxx" SD_DLLPUBLIC OUString SdResId(const char* pId); diff --git a/sd/inc/sdxmlwrp.hxx b/sd/inc/sdxmlwrp.hxx index d884a4f8e21f..9bbd2c00a667 100644 --- a/sd/inc/sdxmlwrp.hxx +++ b/sd/inc/sdxmlwrp.hxx @@ -20,9 +20,11 @@ #define INCLUDED_SD_INC_SDXMLWRP_HXX #include <comphelper/fileformat.h> -#include <vcl/errcode.hxx> +#include <tools/solar.h> #include "sdfilter.hxx" +class ErrCode; + // SdXMLFilter enum SdXMLFilterMode { |