diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-01-21 00:07:16 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-01-24 11:59:16 +0100 |
commit | 3381e35ec2b567f0b85cce6192df11d0be9cdbe2 (patch) | |
tree | eb82533b7d258877b0fee8fe202d9bb1ece16ad4 /desktop/inc | |
parent | 1d10db1003f092f48ed09a0d45994f7481b96d84 (diff) |
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 <vmiklos@collabora.com>
Diffstat (limited to 'desktop/inc')
-rw-r--r-- | desktop/inc/app.hxx | 2 | ||||
-rw-r--r-- | desktop/inc/dp_misc.h | 5 | ||||
-rw-r--r-- | desktop/inc/dp_shared.hxx | 1 | ||||
-rw-r--r-- | desktop/inc/lib/init.hxx | 1 | ||||
-rw-r--r-- | desktop/inc/migration.hxx | 3 |
5 files changed, 1 insertions, 11 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index 04b5a57cdae3..2bd3051bed26 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -21,12 +21,10 @@ #define INCLUDED_DESKTOP_INC_APP_HXX #include <o3tl/optional.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <sal/log.hxx> #include <vcl/svapp.hxx> #include <vcl/timer.hxx> #include <unotools/bootstrap.hxx> -#include <unotools/resmgr.hxx> #include <com/sun/star/frame/XDesktop2.hpp> #include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/uno/Reference.h> diff --git a/desktop/inc/dp_misc.h b/desktop/inc/dp_misc.h index 3f4b07bc8790..204132210249 100644 --- a/desktop/inc/dp_misc.h +++ b/desktop/inc/dp_misc.h @@ -20,16 +20,11 @@ #ifndef INCLUDED_DESKTOP_INC_DP_MISC_H #define INCLUDED_DESKTOP_INC_DP_MISC_H -#include <rtl/ustrbuf.hxx> -#include <rtl/instance.hxx> #include <osl/mutex.hxx> #include <osl/process.h> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XComponent.hpp> -#include <com/sun/star/lang/DisposedException.hpp> -#include <com/sun/star/deployment/XPackageRegistry.hpp> #include <com/sun/star/ucb/XCommandEnvironment.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <dp_misc_api.hxx> namespace dp_misc { diff --git a/desktop/inc/dp_shared.hxx b/desktop/inc/dp_shared.hxx index 8c38545ed7fa..b4f86e44556f 100644 --- a/desktop/inc/dp_shared.hxx +++ b/desktop/inc/dp_shared.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_SHARED_HXX #define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_SHARED_HXX -#include <osl/diagnose.h> #include <rtl/instance.hxx> #include <unotools/resmgr.hxx> diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx index 420b0d481583..568c1fe9e3e1 100644 --- a/desktop/inc/lib/init.hxx +++ b/desktop/inc/lib/init.hxx @@ -15,6 +15,7 @@ #include <memory> #include <mutex> +#include <boost/property_tree/ptree.hpp> #include <boost/variant.hpp> #include <osl/thread.h> diff --git a/desktop/inc/migration.hxx b/desktop/inc/migration.hxx index cb73bdd42eb5..e193407236a0 100644 --- a/desktop/inc/migration.hxx +++ b/desktop/inc/migration.hxx @@ -20,9 +20,6 @@ #ifndef INCLUDED_DESKTOP_INC_MIGRATION_HXX #define INCLUDED_DESKTOP_INC_MIGRATION_HXX -#include <sal/types.h> -#include <rtl/ustring.hxx> - namespace desktop { class Migration |