diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-12-31 20:22:02 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-15 11:54:11 +0100 |
commit | cec7ae9f3c69ecc83462f28fc4987e37dc1b420e (patch) | |
tree | e0554c836821251f174760ce2b9b5674636a2b59 /toolkit | |
parent | e69c7cc46ef5a100d9581b7efb01ab4a868d1924 (diff) |
tdf#42949 Fix IWYU warnings in include/toolkit/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Icebcf1a6ab073dce935a74ce79ee0f302b62e8a8
Reviewed-on: https://gerrit.libreoffice.org/65947
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'toolkit')
22 files changed, 28 insertions, 1 deletions
diff --git a/toolkit/source/awt/stylesettings.cxx b/toolkit/source/awt/stylesettings.cxx index def0df8e0451..89dded29bb9d 100644 --- a/toolkit/source/awt/stylesettings.cxx +++ b/toolkit/source/awt/stylesettings.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/lang/DisposedException.hpp> #include <cppuhelper/interfacecontainer.hxx> +#include <comphelper/interfacecontainer2.hxx> #include <osl/mutex.hxx> #include <vcl/event.hxx> #include <vcl/window.hxx> diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx index 708f2e6ed420..c9c8e4cbb3cb 100644 --- a/toolkit/source/awt/vclxcontainer.cxx +++ b/toolkit/source/awt/vclxcontainer.cxx @@ -22,6 +22,7 @@ #include <toolkit/helper/vclunohelper.hxx> #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/queryinterface.hxx> +#include <comphelper/interfacecontainer2.hxx> #include <rtl/uuid.h> #include <vcl/svapp.hxx> diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx index 5f0cc09cb381..6e3fc797a021 100644 --- a/toolkit/source/awt/vclxdevice.cxx +++ b/toolkit/source/awt/vclxdevice.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/awt/DeviceCapability.hpp> #include <com/sun/star/util/MeasureUnit.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <toolkit/awt/vclxdevice.hxx> #include <toolkit/awt/vclxfont.hxx> @@ -38,7 +39,7 @@ #include <vcl/virdev.hxx> #include <vcl/bitmapex.hxx> #include <vcl/font.hxx> - +#include <vcl/metric.hxx> // class VCLXDevice diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx index 5f8ca8b626ef..7c679eca7d80 100644 --- a/toolkit/source/awt/vclxfont.cxx +++ b/toolkit/source/awt/vclxfont.cxx @@ -28,6 +28,7 @@ #include <rtl/uuid.h> #include <rtl/ustring.h> +#include <vcl/metric.hxx> #include <vcl/outdev.hxx> #include <vcl/svapp.hxx> diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx index 65386f1fba48..80d40dd87f96 100644 --- a/toolkit/source/awt/vclxgraphics.cxx +++ b/toolkit/source/awt/vclxgraphics.cxx @@ -32,6 +32,7 @@ #include <vcl/outdev.hxx> #include <vcl/image.hxx> #include <vcl/gradient.hxx> +#include <vcl/metric.hxx> #include <tools/debug.hxx> using namespace com::sun::star; diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx index 17af677eee88..38d3a6c6dd88 100644 --- a/toolkit/source/awt/vclxmenu.cxx +++ b/toolkit/source/awt/vclxmenu.cxx @@ -36,6 +36,7 @@ #include <vcl/image.hxx> #include <vcl/mnemonic.hxx> #include <vcl/svapp.hxx> +#include <vcl/window.hxx> #include <com/sun/star/awt/KeyModifier.hpp> diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx index 9f982059e362..aa24f31d939f 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -27,6 +27,7 @@ #include <vcl/print.hxx> #include <vcl/jobset.hxx> +#include <vcl/oldprintadaptor.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 6f8212149db8..b0348e02e2f0 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -18,6 +18,7 @@ */ +#include <stdarg.h> #include <memory> #include <com/sun/star/awt/WindowEvent.hpp> #include <com/sun/star/awt/KeyEvent.hpp> @@ -60,6 +61,7 @@ #include <vcl/commandevent.hxx> #include <comphelper/asyncnotification.hxx> #include <comphelper/flagguard.hxx> +#include <comphelper/interfacecontainer2.hxx> #include <comphelper/profilezone.hxx> #include "stylesettings.hxx" #include <tools/urlobj.hxx> diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 2673c418f79d..8d73de9c9e7c 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -36,6 +36,8 @@ #include <com/sun/star/resource/XStringResourceResolver.hpp> #include <com/sun/star/awt/ImageScaleMode.hpp> #include <com/sun/star/awt/XItemList.hpp> +#include <com/sun/star/awt/TextAlign.hpp> +#include <comphelper/interfacecontainer2.hxx> #include <comphelper/namedvaluecollection.hxx> #include <comphelper/processfactory.hxx> #include <sal/log.hxx> diff --git a/toolkit/source/controls/accessiblecontrolcontext.cxx b/toolkit/source/controls/accessiblecontrolcontext.cxx index 7f830bc033a7..a72f7694ebf8 100644 --- a/toolkit/source/controls/accessiblecontrolcontext.cxx +++ b/toolkit/source/controls/accessiblecontrolcontext.cxx @@ -21,6 +21,7 @@ #include <unotools/accessiblestatesethelper.hxx> #include <com/sun/star/awt/XControl.hpp> #include <com/sun/star/awt/XWindow.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <vcl/svapp.hxx> #include <com/sun/star/accessibility/AccessibleStateType.hpp> diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index 16a3affbfcdf..035822570ecf 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -25,6 +25,7 @@ #include <toolkit/controls/dialogcontrol.hxx> #include <toolkit/controls/geometrycontrolmodel.hxx> #include <toolkit/helper/property.hxx> +#include <toolkit/helper/servicenames.hxx> #include <toolkit/controls/stdtabcontroller.hxx> #include <com/sun/star/awt/PosSize.hpp> #include <com/sun/star/awt/WindowAttribute.hpp> diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx index 1567b5817e16..c08e1f3f63ca 100644 --- a/toolkit/source/controls/formattedcontrol.cxx +++ b/toolkit/source/controls/formattedcontrol.cxx @@ -19,6 +19,7 @@ #include <toolkit/controls/formattedcontrol.hxx> #include <toolkit/helper/property.hxx> +#include <toolkit/helper/servicenames.hxx> #include <com/sun/star/awt/XVclWindowPeer.hpp> #include <com/sun/star/uno/XComponentContext.hpp> diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx index 5fe1a2194d84..62c1d53b161a 100644 --- a/toolkit/source/controls/geometrycontrolmodel.cxx +++ b/toolkit/source/controls/geometrycontrolmodel.cxx @@ -20,6 +20,7 @@ #include <toolkit/controls/geometrycontrolmodel.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> +#include <com/sun/star/resource/XStringResourceResolver.hpp> #include <osl/diagnose.h> #include <rtl/instance.hxx> #include <comphelper/sequence.hxx> diff --git a/toolkit/source/controls/roadmapcontrol.cxx b/toolkit/source/controls/roadmapcontrol.cxx index 3e7f9e0bd500..8c38d0f3f8d5 100644 --- a/toolkit/source/controls/roadmapcontrol.cxx +++ b/toolkit/source/controls/roadmapcontrol.cxx @@ -19,7 +19,9 @@ #include <toolkit/controls/roadmapcontrol.hxx> +#include <toolkit/controls/roadmapentry.hxx> #include <toolkit/helper/property.hxx> +#include <toolkit/helper/servicenames.hxx> #include <com/sun/star/awt/XVclWindowPeer.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/uno/XComponentContext.hpp> diff --git a/toolkit/source/controls/stdtabcontroller.cxx b/toolkit/source/controls/stdtabcontroller.cxx index d9bcc5928ecb..394364eea74a 100644 --- a/toolkit/source/controls/stdtabcontroller.cxx +++ b/toolkit/source/controls/stdtabcontroller.cxx @@ -23,6 +23,7 @@ #include <toolkit/controls/stdtabcontroller.hxx> #include <toolkit/controls/stdtabcontrollermodel.hxx> +#include <toolkit/helper/servicenames.hxx> #include <toolkit/awt/vclxwindow.hxx> #include <toolkit/helper/macros.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/toolkit/source/controls/tkscrollbar.cxx b/toolkit/source/controls/tkscrollbar.cxx index ea8510db9dba..fef9117e0e00 100644 --- a/toolkit/source/controls/tkscrollbar.cxx +++ b/toolkit/source/controls/tkscrollbar.cxx @@ -19,6 +19,7 @@ #include <toolkit/controls/tkscrollbar.hxx> #include <toolkit/helper/property.hxx> +#include <toolkit/helper/servicenames.hxx> #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/queryinterface.hxx> diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index 48bdcc77d574..302327c4575d 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -24,6 +24,8 @@ #include <com/sun/star/awt/VclWindowPeerAttribute.hpp> #include <com/sun/star/awt/PosSize.hpp> #include <com/sun/star/beans/PropertyValue.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/resource/XStringResourceResolver.hpp> #include <toolkit/controls/unocontrol.hxx> diff --git a/toolkit/source/controls/unocontrolbase.cxx b/toolkit/source/controls/unocontrolbase.cxx index 8ecd3710347c..43b1f7642bc4 100644 --- a/toolkit/source/controls/unocontrolbase.cxx +++ b/toolkit/source/controls/unocontrolbase.cxx @@ -19,6 +19,8 @@ #include <com/sun/star/awt/XLayoutConstrains.hpp> #include <com/sun/star/awt/XTextLayoutConstrains.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/beans/XMultiPropertySet.hpp> #include <toolkit/controls/unocontrolbase.hxx> #include <toolkit/helper/property.hxx> diff --git a/toolkit/source/controls/unocontrolcontainer.cxx b/toolkit/source/controls/unocontrolcontainer.cxx index 193608416850..21219a8a325b 100644 --- a/toolkit/source/controls/unocontrolcontainer.cxx +++ b/toolkit/source/controls/unocontrolcontainer.cxx @@ -18,6 +18,7 @@ */ #include <com/sun/star/awt/XVclContainerPeer.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertyChangeListener.hpp> #include <com/sun/star/container/NoSuchElementException.hpp> #include <com/sun/star/uno/XComponentContext.hpp> diff --git a/toolkit/source/helper/accessibilityclient.cxx b/toolkit/source/helper/accessibilityclient.cxx index 37f6ea94375e..b9dff4bfee53 100644 --- a/toolkit/source/helper/accessibilityclient.cxx +++ b/toolkit/source/helper/accessibilityclient.cxx @@ -25,6 +25,7 @@ #include <osl/module.h> #include <osl/diagnose.h> #include <osl/mutex.hxx> +#include <rtl/ref.hxx> #include <tools/svlibrary.h> #include <helper/accessibilityclient.hxx> diff --git a/toolkit/source/helper/formpdfexport.cxx b/toolkit/source/helper/formpdfexport.cxx index df0b9543d632..3c8d7343a136 100644 --- a/toolkit/source/helper/formpdfexport.cxx +++ b/toolkit/source/helper/formpdfexport.cxx @@ -33,6 +33,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/form/FormComponentType.hpp> #include <com/sun/star/awt/TextAlign.hpp> +#include <com/sun/star/awt/XControl.hpp> #include <com/sun/star/style/VerticalAlignment.hpp> #include <com/sun/star/form/FormButtonType.hpp> #include <com/sun/star/form/FormSubmitMethod.hpp> diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx index 6cfedeeaa802..8d25f51e3832 100644 --- a/toolkit/source/helper/vclunohelper.cxx +++ b/toolkit/source/helper/vclunohelper.cxx @@ -22,6 +22,7 @@ #include <vcl/event.hxx> #include <vcl/window.hxx> #include <vcl/unohelp.hxx> +#include <vcl/metric.hxx> #include <sal/macros.h> #include <com/sun/star/util/MeasureUnit.hpp> #include <com/sun/star/awt/XBitmap.hpp> |