[Libreoffice-commits] core.git: sc/inc sc/IwyuFilter_sc.yaml
Gabor Kelemen
kelemeng at ubuntu.com
Tue May 29 07:05:14 UTC 2018
sc/IwyuFilter_sc.yaml | 11 +++++++++++
sc/inc/macromgr.hxx | 1 -
sc/inc/markdata.hxx | 1 -
sc/inc/markmulti.hxx | 1 -
sc/inc/miscuno.hxx | 1 -
sc/inc/mtvcellfunc.hxx | 2 --
sc/inc/mtvelements.hxx | 1 -
7 files changed, 11 insertions(+), 7 deletions(-)
New commits:
commit a03a63edd3cfbbacd4e9f59b315095fbeb70873c
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date: Mon May 14 07:56:01 2018 +0200
tdf#42949 Fix IWYU warnings in sc/inc/m*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I43882919048c23e9b8d305f8cbba8f120207bb93
Reviewed-on: https://gerrit.libreoffice.org/54824
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 853e06214546..47346286fea1 100644
--- a/sc/IwyuFilter_sc.yaml
+++ b/sc/IwyuFilter_sc.yaml
@@ -181,3 +181,14 @@ blacklist:
# base class has to be a complete type
- com/sun/star/uno/Reference.hxx
- tools/ref.hxx
+ sc/inc/macromgr.hxx:
+ # base class has to be a complete type
+ - com/sun/star/container/XContainerListener.hpp
+ sc/inc/miscuno.hxx:
+ # base class has to be a complete type
+ - com/sun/star/beans/XPropertySet.hpp
+ - com/sun/star/container/XEnumeration.hpp
+ - com/sun/star/container/XIndexAccess.hpp
+ - com/sun/star/container/XNameAccess.hpp
+ - com/sun/star/lang/XServiceInfo.hpp
+ - cppuhelper/supportsservice.hxx
diff --git a/sc/inc/macromgr.hxx b/sc/inc/macromgr.hxx
index e524ff59bad2..5904a1ce564f 100644
--- a/sc/inc/macromgr.hxx
+++ b/sc/inc/macromgr.hxx
@@ -17,7 +17,6 @@
#include <memory>
#include <unordered_map>
-#include <unordered_set>
class ScDocument;
class ScFormulaCell;
diff --git a/sc/inc/markdata.hxx b/sc/inc/markdata.hxx
index 26387109b833..c4497da322d6 100644
--- a/sc/inc/markdata.hxx
+++ b/sc/inc/markdata.hxx
@@ -36,7 +36,6 @@ struct ColRowSpan;
}
class ScMarkArray;
-class ScRangeList;
//! todo:
//! It should be possible to have MarkArrays for each table, in order to
diff --git a/sc/inc/markmulti.hxx b/sc/inc/markmulti.hxx
index cf68a403fb21..a8482048a48b 100644
--- a/sc/inc/markmulti.hxx
+++ b/sc/inc/markmulti.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SC_INC_MARKMULTI_HXX
#define INCLUDED_SC_INC_MARKMULTI_HXX
-#include "address.hxx"
#include "segmenttree.hxx"
#include "markarr.hxx"
diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx
index ec83181a4e9e..566ca6d1cae2 100644
--- a/sc/inc/miscuno.hxx
+++ b/sc/inc/miscuno.hxx
@@ -24,7 +24,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
diff --git a/sc/inc/mtvcellfunc.hxx b/sc/inc/mtvcellfunc.hxx
index 195e6449007a..145d1ee38779 100644
--- a/sc/inc/mtvcellfunc.hxx
+++ b/sc/inc/mtvcellfunc.hxx
@@ -13,8 +13,6 @@
#include "mtvelements.hxx"
#include "mtvfunctions.hxx"
-#include <functional>
-
class ScFormulaCell;
namespace sc {
diff --git a/sc/inc/mtvelements.hxx b/sc/inc/mtvelements.hxx
index f13562d47fbd..04c34775cedb 100644
--- a/sc/inc/mtvelements.hxx
+++ b/sc/inc/mtvelements.hxx
@@ -10,7 +10,6 @@
#ifndef INCLUDED_SC_INC_MTVELEMENTS_HXX
#define INCLUDED_SC_INC_MTVELEMENTS_HXX
-#include "address.hxx"
#include "formulacell.hxx"
#include <svl/broadcast.hxx>
#include <svl/sharedstring.hxx>
More information about the Libreoffice-commits
mailing list