diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-05-11 21:55:49 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-15 09:09:01 +0200 |
commit | 8713c1ffd852817404447a507a21fc4a613914d9 (patch) | |
tree | d6ec73971d94adf519ff2d8c2d34d544ca481040 | |
parent | 1c2d8e870cc09e883bc7d53ff6fdefa6c9092a33 (diff) |
tdf#42949 Fix IWYU warnings in sc/inc/e*
Found with bin/find-unneeded-includes
Only removal proposals/trivial replacements are dealt with here.
Change-Id: I0ad6772012c771e8ab3f3f42af26f9ac05615771
Reviewed-on: https://gerrit.libreoffice.org/54147
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r-- | sc/IwyuFilter_sc.yaml | 10 | ||||
-rw-r--r-- | sc/inc/editdataarray.hxx | 2 | ||||
-rw-r--r-- | sc/inc/edittextiterator.hxx | 2 | ||||
-rw-r--r-- | sc/inc/editutil.hxx | 2 | ||||
-rw-r--r-- | sc/inc/eventuno.hxx | 2 |
5 files changed, 14 insertions, 4 deletions
diff --git a/sc/IwyuFilter_sc.yaml b/sc/IwyuFilter_sc.yaml index 6ee741af0c80..d76f1530a56e 100644 --- a/sc/IwyuFilter_sc.yaml +++ b/sc/IwyuFilter_sc.yaml @@ -123,3 +123,13 @@ blacklist: - com/sun/star/sheet/XMembersSupplier.hpp - com/sun/star/util/XCloneable.hpp - com/sun/star/util/XRefreshable.hpp + sc/inc/editdataarray.hxx: + # base class has to be a complete type + - editeng/editobj.hxx + sc/inc/editutil.hxx: + # struct definition has to be a complete type + - svx/pageitem.hxx + sc/inc/eventuno.hxx: + # base class has to be a complete type + - com/sun/star/container/XNameReplace.hpp + - com/sun/star/lang/XServiceInfo.hpp diff --git a/sc/inc/editdataarray.hxx b/sc/inc/editdataarray.hxx index 810e75e95b54..6075b6ef3bca 100644 --- a/sc/inc/editdataarray.hxx +++ b/sc/inc/editdataarray.hxx @@ -20,8 +20,8 @@ #ifndef INCLUDED_SC_INC_EDITDATAARRAY_HXX #define INCLUDED_SC_INC_EDITDATAARRAY_HXX -#include "address.hxx" #include <editeng/editobj.hxx> +#include "types.hxx" #include <memory> #include <vector> diff --git a/sc/inc/edittextiterator.hxx b/sc/inc/edittextiterator.hxx index 4f5ba73399db..354719adcea7 100644 --- a/sc/inc/edittextiterator.hxx +++ b/sc/inc/edittextiterator.hxx @@ -10,7 +10,7 @@ #ifndef INCLUDED_SC_INC_EDITTEXTITERATOR_HXX #define INCLUDED_SC_INC_EDITTEXTITERATOR_HXX -#include "address.hxx" +#include "types.hxx" #include "mtvelements.hxx" class ScTable; diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index 1e06b7b9c3d4..6aac49e77f51 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.hxx @@ -22,7 +22,7 @@ #include <memory> #include "scdllapi.h" -#include "address.hxx" +#include "types.hxx" #include <editeng/editeng.hxx> #include <svx/pageitem.hxx> #include <tools/date.hxx> diff --git a/sc/inc/eventuno.hxx b/sc/inc/eventuno.hxx index 504c7cd5cdcc..eb85fd9e6fa4 100644 --- a/sc/inc/eventuno.hxx +++ b/sc/inc/eventuno.hxx @@ -25,7 +25,7 @@ #include <cppuhelper/implbase.hxx> #include <svl/lstner.hxx> -#include "global.hxx" +#include "types.hxx" class ScDocShell; |