[Libreoffice-commits] core.git: sc/inc sc/IwyuFilter_sc.yaml
Gabor Kelemen
kelemeng at ubuntu.com
Tue May 15 07:09:24 UTC 2018
sc/IwyuFilter_sc.yaml | 10 ++++++++++
sc/inc/editdataarray.hxx | 2 +-
sc/inc/edittextiterator.hxx | 2 +-
sc/inc/editutil.hxx | 2 +-
sc/inc/eventuno.hxx | 2 +-
5 files changed, 14 insertions(+), 4 deletions(-)
New commits:
commit 8713c1ffd852817404447a507a21fc4a613914d9
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date: Fri May 11 21:55:49 2018 +0200
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 at libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
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;
More information about the Libreoffice-commits
mailing list