summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-05-14 07:56:01 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-05-29 09:04:52 +0200
commita03a63edd3cfbbacd4e9f59b315095fbeb70873c (patch)
tree3fb052521ccbaf85f7eb402d50569e6f64ca982c /sc
parentb7ae863efeb082816cc4fe660527a9650d90e186 (diff)
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@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/IwyuFilter_sc.yaml11
-rw-r--r--sc/inc/macromgr.hxx1
-rw-r--r--sc/inc/markdata.hxx1
-rw-r--r--sc/inc/markmulti.hxx1
-rw-r--r--sc/inc/miscuno.hxx1
-rw-r--r--sc/inc/mtvcellfunc.hxx2
-rw-r--r--sc/inc/mtvelements.hxx1
7 files changed, 11 insertions, 7 deletions
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>