diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-05-14 20:39:28 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-17 17:22:49 +0200 |
commit | a023f855dd989ee0998eeb9e3e7f3ae3f583b1ae (patch) | |
tree | ad151aa7ea8b9c3e45c2276d2870e44edc22d1e4 /sc/inc | |
parent | 19c45de4cb41ac7519b601b29d58760a65de0adc (diff) |
tdf#42949 Fix IWYU warnings in sc/inc/[pq]*
Found with bin/find-unneeded-includes
Removal proposals are dealt with here,
and a bit of fallout management.
Change-Id: If2d73998c3d3d9fea50420688818cd7fe0f0a27c
Reviewed-on: https://gerrit.libreoffice.org/54463
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/pagepar.hxx | 1 | ||||
-rw-r--r-- | sc/inc/paramisc.hxx | 2 | ||||
-rw-r--r-- | sc/inc/patattr.hxx | 1 | ||||
-rw-r--r-- | sc/inc/pivot.hxx | 5 | ||||
-rw-r--r-- | sc/inc/postit.hxx | 1 | ||||
-rw-r--r-- | sc/inc/prnsave.hxx | 2 | ||||
-rw-r--r-- | sc/inc/queryentry.hxx | 1 | ||||
-rw-r--r-- | sc/inc/queryparam.hxx | 2 |
8 files changed, 4 insertions, 11 deletions
diff --git a/sc/inc/pagepar.hxx b/sc/inc/pagepar.hxx index 23ba00169d7d..50a51cde8b63 100644 --- a/sc/inc/pagepar.hxx +++ b/sc/inc/pagepar.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SC_INC_PAGEPAR_HXX #define INCLUDED_SC_INC_PAGEPAR_HXX -#include "global.hxx" #include "address.hxx" struct ScPageTableParam diff --git a/sc/inc/paramisc.hxx b/sc/inc/paramisc.hxx index 4a6e74dab3dc..0c8432f4fdca 100644 --- a/sc/inc/paramisc.hxx +++ b/sc/inc/paramisc.hxx @@ -20,9 +20,7 @@ #ifndef INCLUDED_SC_INC_PARAMISC_HXX #define INCLUDED_SC_INC_PARAMISC_HXX -#include <memory> #include "address.hxx" -#include <sal/types.h> #include <boost/optional.hpp> struct ScSolveParam diff --git a/sc/inc/patattr.hxx b/sc/inc/patattr.hxx index b155700f240a..8004a57c3a26 100644 --- a/sc/inc/patattr.hxx +++ b/sc/inc/patattr.hxx @@ -23,7 +23,6 @@ #include <svl/poolitem.hxx> #include <svl/itemset.hxx> #include <svl/languageoptions.hxx> -#include <unotools/fontcvt.hxx> #include <editeng/svxenum.hxx> #include "scdllapi.h" #include "fonthelper.hxx" diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx index a2fa951e0703..c374c952641e 100644 --- a/sc/inc/pivot.hxx +++ b/sc/inc/pivot.hxx @@ -36,8 +36,9 @@ #ifndef INCLUDED_SC_INC_PIVOT_HXX #define INCLUDED_SC_INC_PIVOT_HXX -#include "global.hxx" -#include "address.hxx" +#include <rtl/ustring.hxx> +#include "types.hxx" +#include "scdllapi.h" #include "dpglobal.hxx" #include "calcmacros.hxx" diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index 09f8d77a18e4..bf29a9693904 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -24,7 +24,6 @@ #include "address.hxx" #include "scdllapi.h" -#include <map> #include <memory> class EditTextObject; diff --git a/sc/inc/prnsave.hxx b/sc/inc/prnsave.hxx index f5137aefebd9..ca928f908dd1 100644 --- a/sc/inc/prnsave.hxx +++ b/sc/inc/prnsave.hxx @@ -24,8 +24,6 @@ #include <vector> #include <memory> -class ScRange; - class ScPrintSaverTab { typedef ::std::vector< ScRange > ScRangeVec; diff --git a/sc/inc/queryentry.hxx b/sc/inc/queryentry.hxx index fc08c58b7a49..8c35ff877f43 100644 --- a/sc/inc/queryentry.hxx +++ b/sc/inc/queryentry.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SC_INC_QUERYENTRY_HXX #define INCLUDED_SC_INC_QUERYENTRY_HXX -#include "address.hxx" #include "global.hxx" #include <svl/sharedstring.hxx> #include <unotools/textsearch.hxx> diff --git a/sc/inc/queryparam.hxx b/sc/inc/queryparam.hxx index cde359ec7a72..c1709015a951 100644 --- a/sc/inc/queryparam.hxx +++ b/sc/inc/queryparam.hxx @@ -21,7 +21,7 @@ #define INCLUDED_SC_INC_QUERYPARAM_HXX #include <unotools/textsearch.hxx> -#include "global.hxx" +#include "address.hxx" #include "types.hxx" #include <memory> |