diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-05-10 08:06:22 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-05-17 09:21:49 +0200 |
commit | 55961e110f0bf2d571a27e56806dae50fa353233 (patch) | |
tree | 984ade121819584a287297c62f1aeec6cb63adfa /UnoControls/source/base | |
parent | 3c0003c9f0ff5bdc49da046a604a3d2c8cc5d5df (diff) |
tdf#42949 Fix IWYU warnings in UnoControls/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Id088a2c8a91c2fe7c8ff9e05d910d5b5e9383b7c
Reviewed-on: https://gerrit.libreoffice.org/72095
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'UnoControls/source/base')
-rw-r--r-- | UnoControls/source/base/basecontainercontrol.cxx | 4 | ||||
-rw-r--r-- | UnoControls/source/base/basecontrol.cxx | 3 | ||||
-rw-r--r-- | UnoControls/source/base/multiplexer.cxx | 3 | ||||
-rw-r--r-- | UnoControls/source/base/registercontrols.cxx | 3 |
4 files changed, 10 insertions, 3 deletions
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx index 3c6469def44a..c814eb0107e6 100644 --- a/UnoControls/source/base/basecontainercontrol.cxx +++ b/UnoControls/source/base/basecontainercontrol.cxx @@ -22,6 +22,10 @@ #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/typeprovider.hxx> +#include <com/sun/star/container/ContainerEvent.hpp> +#include <com/sun/star/container/XContainerListener.hpp> +#include <com/sun/star/awt/XControlContainer.hpp> + // namespaces using namespace ::cppu; diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx index 06adc4ae4ddd..6294376f487f 100644 --- a/UnoControls/source/base/basecontrol.cxx +++ b/UnoControls/source/base/basecontrol.cxx @@ -18,10 +18,9 @@ */ #include <basecontrol.hxx> +#include <multiplexer.hxx> #include <com/sun/star/awt/XDevice.hpp> -#include <com/sun/star/awt/XDisplayBitmap.hpp> -#include <com/sun/star/awt/DeviceInfo.hpp> #include <com/sun/star/awt/WindowAttribute.hpp> #include <com/sun/star/awt/PosSize.hpp> #include <com/sun/star/awt/Toolkit.hpp> diff --git a/UnoControls/source/base/multiplexer.cxx b/UnoControls/source/base/multiplexer.cxx index d7008c652083..cfeb5975e9b9 100644 --- a/UnoControls/source/base/multiplexer.cxx +++ b/UnoControls/source/base/multiplexer.cxx @@ -22,6 +22,9 @@ #include <osl/diagnose.h> #include <cppuhelper/queryinterface.hxx> +#include <com/sun/star/awt/XWindow.hpp> +#include <com/sun/star/awt/XTopWindow.hpp> + using namespace ::cppu; using namespace ::osl; using namespace ::com::sun::star::uno; diff --git a/UnoControls/source/base/registercontrols.cxx b/UnoControls/source/base/registercontrols.cxx index 46145f1c0a48..40a51b8e85e0 100644 --- a/UnoControls/source/base/registercontrols.cxx +++ b/UnoControls/source/base/registercontrols.cxx @@ -19,7 +19,6 @@ #include <sal/config.h> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <comphelper/processfactory.hxx> #include <cppuhelper/factory.hxx> @@ -29,6 +28,8 @@ #include <progressmonitor.hxx> #include <statusindicator.hxx> +namespace com::sun::star::lang { class XMultiServiceFactory; } + namespace { /// @throws css::uno::Exception |