diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-01-13 12:44:04 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-18 09:09:22 +0100 |
commit | 79e618c65f398b83df45232c227f92fb5eca49a7 (patch) | |
tree | 6270d2793b769bdc49c585bc32065ad268ef32c2 /include | |
parent | 052bca1e4ceeda9bdd28600ea915c822e314f283 (diff) |
tdf#42949 Fix remaining IWYU warnings in include/vcl/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Some new headers were added since I begun the cleanup here
Also blacklist the header from commit 403e3c04420c4d20c77427c43df52d554d7329ff
Change-Id: Ie2358d5e27297f873aeb4a4dfb2778e6fb95dfa5
Reviewed-on: https://gerrit.libreoffice.org/66255
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/IwyuFilter_include.yaml | 9 | ||||
-rw-r--r-- | include/vcl/accessiblefactory.hxx | 8 | ||||
-rw-r--r-- | include/vcl/accessibletable.hxx | 10 | ||||
-rw-r--r-- | include/vcl/accessibletableprovider.hxx | 7 | ||||
-rw-r--r-- | include/vcl/mtfxmldump.hxx | 3 |
5 files changed, 28 insertions, 9 deletions
diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml index 6a94bcdeca5f..e9f6ccf7d8fe 100644 --- a/include/IwyuFilter_include.yaml +++ b/include/IwyuFilter_include.yaml @@ -242,10 +242,16 @@ blacklist: include/svl/urihelper.hxx: # base class has to be a complete type - tools/link.hxx + include/vcl/FilterConfigItem.hxx: + # Needed on Windows with --disable-pch + - com/sun/star/beans/PropertyValue.hpp include/vcl/builderfactory.hxx: # Needed for macros - vcl/builder.hxx - vcl/vclptr.hxx + include/vcl/decoview.hxx: + # Full definition needed for VclPtr + - vcl/outdev.hxx include/vcl/devicecoordinate.hxx: # Needed for #if configure switch - basegfx/point/b2ipoint.hxx @@ -262,6 +268,9 @@ blacklist: # Needed for macros - com/sun/star/awt/Key.hpp - com/sun/star/awt/KeyGroup.hpp + include/vcl/mtfxmldump.hxx: + # Full definition needed for o3tl::enumarray + - vcl/metaactiontypes.hxx include/vcl/outdevstate.hxx: # Full definition needed for boost::optional - vcl/mapmod.hxx diff --git a/include/vcl/accessiblefactory.hxx b/include/vcl/accessiblefactory.hxx index 8426333ecfd7..a191b0193705 100644 --- a/include/vcl/accessiblefactory.hxx +++ b/include/vcl/accessiblefactory.hxx @@ -21,12 +21,11 @@ #define INCLUDED_VCL_ACCESSIBLEFACTORY_HXX #include <vcl/AccessibleBrowseBoxObjType.hxx> -#include <vcl/accessibletableprovider.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <rtl/ref.hxx> #include <salhelper/simplereferenceobject.hxx> +#include <tools/gen.hxx> namespace com { namespace sun { namespace star { namespace accessibility { @@ -37,6 +36,11 @@ namespace com { namespace sun { namespace star { class XWindow; } } } } + +namespace vcl { class IAccessibleBrowseBox; } +namespace vcl { class IAccessibleTabListBox; } +namespace vcl { class IAccessibleTableProvider; } + class SvHeaderTabListBox; class SvtIconChoiceCtrl; class TabBar; diff --git a/include/vcl/accessibletable.hxx b/include/vcl/accessibletable.hxx index d6c0dc3b7ffc..f132466c1590 100644 --- a/include/vcl/accessibletable.hxx +++ b/include/vcl/accessibletable.hxx @@ -20,9 +20,13 @@ #ifndef INCLUDED_VCL_ACCESSIBLETABLE_HXX #define INCLUDED_VCL_ACCESSIBLETABLE_HXX -#include <vcl/window.hxx> -#include <unotools/accessiblestatesethelper.hxx> -#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> +#include <tools/gen.hxx> + +#include <com/sun/star/uno/Reference.hxx> + +namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } } } } +namespace utl { class AccessibleStateSetHelper; } +namespace vcl { class Window; } namespace vcl { namespace table { diff --git a/include/vcl/accessibletableprovider.hxx b/include/vcl/accessibletableprovider.hxx index 982ac62c0905..03aba6d3ef6c 100644 --- a/include/vcl/accessibletableprovider.hxx +++ b/include/vcl/accessibletableprovider.hxx @@ -20,10 +20,11 @@ #ifndef INCLUDED_VCL_ACCESSIBLETABLEPROVIDER_HXX #define INCLUDED_VCL_ACCESSIBLETABLEPROVIDER_HXX -#include <vcl/window.hxx> -#include <unotools/accessiblestatesethelper.hxx> #include <vcl/AccessibleBrowseBoxObjType.hxx> -#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> +#include <vcl/outdev.hxx> + +namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } } } } +namespace utl { class AccessibleStateSetHelper; } namespace vcl { diff --git a/include/vcl/mtfxmldump.hxx b/include/vcl/mtfxmldump.hxx index 797430d0cc6b..3bdf4d663eb9 100644 --- a/include/vcl/mtfxmldump.hxx +++ b/include/vcl/mtfxmldump.hxx @@ -12,11 +12,12 @@ #include <sal/config.h> #include <vcl/dllapi.h> -#include <vcl/gdimtf.hxx> #include <vcl/metaactiontypes.hxx> #include <o3tl/enumarray.hxx> namespace tools { class XmlWriter; } +class GDIMetaFile; +class SvStream; enum class MetaActionType; |