From 3381e35ec2b567f0b85cce6192df11d0be9cdbe2 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 21 Jan 2020 00:07:16 +0100 Subject: tdf#42949 Fix IWYU warnings in desktop/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: If72377cb352be71050a5b0a471bbe3b02d9c0f74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87117 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- desktop/source/pkgchk/unopkg/unopkg_app.cxx | 8 -------- desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx | 9 +++------ desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 5 +---- desktop/source/pkgchk/unopkg/unopkg_shared.h | 6 ++---- 4 files changed, 6 insertions(+), 22 deletions(-) (limited to 'desktop/source/pkgchk') diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx index eba9c283f9d5..6ee96a9b7995 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx @@ -18,19 +18,14 @@ */ -#include #include #include "unopkg_main.h" #include "unopkg_shared.h" #include #include -#include -#include #include -#include #include #include -#include #include #include #include @@ -48,10 +43,7 @@ #include #include #include -#include #include -#include -#include #if defined(UNX) #include #endif diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx index 26b14bbc6360..060d2918fb50 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx @@ -19,13 +19,12 @@ #include +#include #include #include "unopkg_shared.h" -#include -#include -#include +#include +#include #include -#include #include #include #include @@ -34,14 +33,12 @@ #include #include #include -#include #include #include #include #include #include -#include #include using namespace ::com::sun::star; diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index a76ea7dc5fc0..50b6c58d9190 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -19,17 +19,13 @@ #include -#include - #include #include #include -#include #include #include #include #include -#include #include #include #include @@ -42,6 +38,7 @@ #include #include "unopkg_shared.h" #include +#include #include #include diff --git a/desktop/source/pkgchk/unopkg/unopkg_shared.h b/desktop/source/pkgchk/unopkg/unopkg_shared.h index 6d23b4c8f39e..04062a107e80 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_shared.h +++ b/desktop/source/pkgchk/unopkg/unopkg_shared.h @@ -17,16 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include #include #include #include -#include #include -#include -#include + +#include #define APP_NAME "unopkg" -- cgit