[Libreoffice-commits] core.git: sc/inc

Gabor Kelemen kelemeng at ubuntu.com
Thu May 17 15:23:13 UTC 2018


 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(-)

New commits:
commit a023f855dd989ee0998eeb9e3e7f3ae3f583b1ae
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Mon May 14 20:39:28 2018 +0200

    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 at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

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>


More information about the Libreoffice-commits mailing list