From 433e60eb5241a25102b754bc23045b6095b0de0d Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 3 Nov 2020 20:33:34 +0100 Subject: tdf#42949 Fix new IWYU warnings in directories d* Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I8f3cd05dbd86bd22fd84d767adc44fc2b0c89404 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105468 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- desktop/IwyuFilter_desktop.yaml | 9 +++++++++ desktop/source/deployment/manager/dp_extensionmanager.hxx | 1 + desktop/source/migration/services/basicmigration.cxx | 1 + desktop/source/migration/services/basicmigration.hxx | 1 - desktop/source/migration/services/wordbookmigration.cxx | 1 + desktop/source/migration/services/wordbookmigration.hxx | 1 - desktop/source/offacc/acceptor.hxx | 1 - desktop/source/splash/unxsplash.cxx | 2 +- desktop/source/splash/unxsplash.hxx | 3 --- 9 files changed, 13 insertions(+), 7 deletions(-) (limited to 'desktop') diff --git a/desktop/IwyuFilter_desktop.yaml b/desktop/IwyuFilter_desktop.yaml index 0729ec1c7e89..cfe94e22cc28 100644 --- a/desktop/IwyuFilter_desktop.yaml +++ b/desktop/IwyuFilter_desktop.yaml @@ -49,6 +49,12 @@ excludelist: desktop/source/minidump/minidump.cxx: # Needed for ostringstream - sstream + desktop/source/deployment/gui/dp_gui_updatedialog.cxx: + # Actually used + - vector + desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx: + # Actually used + - vector desktop/source/deployment/manager/dp_properties.cxx: # Actually used - com/sun/star/ucb/XCommandEnvironment.hpp @@ -85,3 +91,6 @@ excludelist: desktop/source/deployment/registry/help/dp_help.cxx: # Actually used - com/sun/star/util/XMacroExpander.hpp + desktop/source/splash/splash.cxx: + # Needed for rtl::math::round + - rtl/math.hxx diff --git a/desktop/source/deployment/manager/dp_extensionmanager.hxx b/desktop/source/deployment/manager/dp_extensionmanager.hxx index 6b3bb13a9ecb..944653b72640 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.hxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.hxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/desktop/source/migration/services/basicmigration.cxx b/desktop/source/migration/services/basicmigration.cxx index 165c73cd3894..8076dada5cb0 100644 --- a/desktop/source/migration/services/basicmigration.cxx +++ b/desktop/source/migration/services/basicmigration.cxx @@ -23,6 +23,7 @@ #include #include #include +#include using namespace ::com::sun::star; diff --git a/desktop/source/migration/services/basicmigration.hxx b/desktop/source/migration/services/basicmigration.hxx index c25b48ba11ac..889b9245d04b 100644 --- a/desktop/source/migration/services/basicmigration.hxx +++ b/desktop/source/migration/services/basicmigration.hxx @@ -23,7 +23,6 @@ #include #include #include -#include #include #include diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx index 2e963c096ae5..83f687703e9f 100644 --- a/desktop/source/migration/services/wordbookmigration.cxx +++ b/desktop/source/migration/services/wordbookmigration.cxx @@ -24,6 +24,7 @@ #include #include #include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/desktop/source/migration/services/wordbookmigration.hxx b/desktop/source/migration/services/wordbookmigration.hxx index 40deda7e5431..a6388fa421b1 100644 --- a/desktop/source/migration/services/wordbookmigration.hxx +++ b/desktop/source/migration/services/wordbookmigration.hxx @@ -23,7 +23,6 @@ #include #include #include -#include #include #include diff --git a/desktop/source/offacc/acceptor.hxx b/desktop/source/offacc/acceptor.hxx index f09697590a59..36b3e181cc93 100644 --- a/desktop/source/offacc/acceptor.hxx +++ b/desktop/source/offacc/acceptor.hxx @@ -21,7 +21,6 @@ #include -#include #include #include #include diff --git a/desktop/source/splash/unxsplash.cxx b/desktop/source/splash/unxsplash.cxx index 2cf813ac2165..0396a5bf5cbf 100644 --- a/desktop/source/splash/unxsplash.cxx +++ b/desktop/source/splash/unxsplash.cxx @@ -22,7 +22,7 @@ #include #include #include -#include +#include using namespace com::sun::star; diff --git a/desktop/source/splash/unxsplash.hxx b/desktop/source/splash/unxsplash.hxx index e5de0f678dd8..52b148abf0ef 100644 --- a/desktop/source/splash/unxsplash.hxx +++ b/desktop/source/splash/unxsplash.hxx @@ -12,12 +12,9 @@ #include #include -#include -#include #include #include #include -#include namespace desktop { -- cgit