From a023f855dd989ee0998eeb9e3e7f3ae3f583b1ae Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Mon, 14 May 2018 20:39:28 +0200 Subject: 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 Reviewed-by: Miklos Vajna --- sc/inc/pagepar.hxx | 1 - sc/inc/paramisc.hxx | 2 -- sc/inc/patattr.hxx | 1 - sc/inc/pivot.hxx | 5 +++-- sc/inc/postit.hxx | 1 - sc/inc/prnsave.hxx | 2 -- sc/inc/queryentry.hxx | 1 - sc/inc/queryparam.hxx | 2 +- 8 files changed, 4 insertions(+), 11 deletions(-) (limited to 'sc/inc') 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 #include "address.hxx" -#include #include 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 #include #include -#include #include #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 +#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 #include 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 #include -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 #include 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 -#include "global.hxx" +#include "address.hxx" #include "types.hxx" #include -- cgit