diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-11-03 20:33:34 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-11-09 16:04:18 +0100 |
commit | 433e60eb5241a25102b754bc23045b6095b0de0d (patch) | |
tree | faa85e06630d13c5c47303db203fa66fd61d47e6 /desktop | |
parent | 2951c96bcb673a260a09e2c6eb92ca0f99bf0c18 (diff) |
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 <vmiklos@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/IwyuFilter_desktop.yaml | 9 | ||||
-rw-r--r-- | desktop/source/deployment/manager/dp_extensionmanager.hxx | 1 | ||||
-rw-r--r-- | desktop/source/migration/services/basicmigration.cxx | 1 | ||||
-rw-r--r-- | desktop/source/migration/services/basicmigration.hxx | 1 | ||||
-rw-r--r-- | desktop/source/migration/services/wordbookmigration.cxx | 1 | ||||
-rw-r--r-- | desktop/source/migration/services/wordbookmigration.hxx | 1 | ||||
-rw-r--r-- | desktop/source/offacc/acceptor.hxx | 1 | ||||
-rw-r--r-- | desktop/source/splash/unxsplash.cxx | 2 | ||||
-rw-r--r-- | desktop/source/splash/unxsplash.hxx | 3 |
9 files changed, 13 insertions, 7 deletions
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 <com/sun/star/deployment/XExtensionManager.hpp> #include <com/sun/star/deployment/XPackageManager.hpp> #include <com/sun/star/deployment/XPackageManagerFactory.hpp> +#include <com/sun/star/lang/XServiceInfo.hpp> #include <osl/mutex.hxx> #include <vector> #include <unordered_map> 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 <unotools/bootstrap.hxx> #include <sal/log.hxx> #include <osl/file.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> 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 <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/task/XJob.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> #include <osl/mutex.hxx> 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 <unotools/ucbstreamhelper.hxx> #include <sal/log.hxx> #include <osl/file.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> 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 <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/task/XJob.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> #include <osl/mutex.hxx> 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 <sal/config.h> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/connection/XAcceptor.hpp> 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 <osl/process.h> #include <cppuhelper/supportsservice.hxx> #include <sal/log.hxx> -#include <rtl/ref.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> 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 <stdio.h> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/Reference.h> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <cppuhelper/implbase.hxx> -#include <osl/mutex.hxx> namespace desktop { |