From 71ef762f21ada8c25aad2183065478171e985e8c Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 8 Sep 2019 00:09:24 +0200 Subject: tdf#42949 Fix IWYU warnings in svtools/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ifc70900022efcd089c0874bd46e0aacaef0efb72 Reviewed-on: https://gerrit.libreoffice.org/78767 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- svtools/source/contnr/DocumentInfoPreview.cxx | 6 ------ svtools/source/contnr/contentenumeration.cxx | 3 +-- svtools/source/contnr/contentenumeration.hxx | 1 - svtools/source/contnr/fileview.cxx | 20 ++------------------ svtools/source/contnr/simptabl.cxx | 2 -- svtools/source/contnr/templwin.cxx | 1 - svtools/source/contnr/templwin.hxx | 2 ++ 7 files changed, 5 insertions(+), 30 deletions(-) (limited to 'svtools/source/contnr') diff --git a/svtools/source/contnr/DocumentInfoPreview.cxx b/svtools/source/contnr/DocumentInfoPreview.cxx index 59bb509117c2..d84b46de2aa3 100644 --- a/svtools/source/contnr/DocumentInfoPreview.cxx +++ b/svtools/source/contnr/DocumentInfoPreview.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include @@ -28,19 +27,14 @@ #include #include #include -#include #include -#include #include -#include #include #include #include #include #include #include -#include -#include #include #include diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx index 6c82d5e74a9a..2ca057036a64 100644 --- a/svtools/source/contnr/contentenumeration.cxx +++ b/svtools/source/contnr/contentenumeration.cxx @@ -18,7 +18,6 @@ */ #include "contentenumeration.hxx" -#include #include #include @@ -27,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -36,6 +34,7 @@ #include #include #include +#include namespace svt { diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx index affa2b6eb9cb..0e6c529e65b3 100644 --- a/svtools/source/contnr/contentenumeration.hxx +++ b/svtools/source/contnr/contentenumeration.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SVTOOLS_SOURCE_CONTNR_CONTENTENUMERATION_HXX #include -#include #include #include #include diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 52f07527687c..96303b749b35 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -26,56 +26,40 @@ #include #include #include +#include #include #include #include #include -#include #include #include "contentenumeration.hxx" #include -#include -#include #include #include -#include -#include -#include -#include -#include -#include +#include #include #include -#include #include #include -#include -#include #include #include #include #include #include -#include #include #include #include -#include #include #include -#include #include -#include #include #include #include #include -#include #include #include #include -#include #include #include #include diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx index 32e7deba1370..c429cda97cba 100644 --- a/svtools/source/contnr/simptabl.cxx +++ b/svtools/source/contnr/simptabl.cxx @@ -22,8 +22,6 @@ #include #include #include -#include -#include #include #include diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx index 1937fe0c0bf3..acd337e51b82 100644 --- a/svtools/source/contnr/templwin.cxx +++ b/svtools/source/contnr/templwin.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include "templwin.hxx" #include diff --git a/svtools/source/contnr/templwin.hxx b/svtools/source/contnr/templwin.hxx index 066972b98d8f..84c5df986a50 100644 --- a/svtools/source/contnr/templwin.hxx +++ b/svtools/source/contnr/templwin.hxx @@ -19,6 +19,8 @@ #ifndef INCLUDED_SVTOOLS_SOURCE_CONTNR_TEMPLWIN_HXX #define INCLUDED_SVTOOLS_SOURCE_CONTNR_TEMPLWIN_HXX +#include + namespace SvtDocInfoTable_Impl { OUString GetString(int nId); -- cgit