diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-11-08 21:17:54 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-11-12 10:53:07 +0100 |
commit | a5389cb5ddcd72e494040e7a976c4f290e2da4cc (patch) | |
tree | 6269a4543f96026f47b8d0756fd4d86a73be46f7 /framework/source | |
parent | 64dcfe295762864656bc5876da10bec37b7fb6ec (diff) |
tdf#42949 Fix new IWYU warnings in directories [e-f]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I963aa5fb892a0be36212fd0587b69f217f017947
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105469
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'framework/source')
22 files changed, 2 insertions, 29 deletions
diff --git a/framework/source/classes/taskcreator.cxx b/framework/source/classes/taskcreator.cxx index aae5849b89a8..baaaa7aba708 100644 --- a/framework/source/classes/taskcreator.cxx +++ b/framework/source/classes/taskcreator.cxx @@ -18,7 +18,6 @@ */ #include <classes/taskcreator.hxx> -#include <loadenv/targethelper.hxx> #include <services.h> #include <taskcreatordefs.hxx> diff --git a/framework/source/dispatch/oxt_handler.cxx b/framework/source/dispatch/oxt_handler.cxx index 46dff460e406..254e07fed72e 100644 --- a/framework/source/dispatch/oxt_handler.cxx +++ b/framework/source/dispatch/oxt_handler.cxx @@ -18,7 +18,6 @@ */ #include <dispatch/oxt_handler.hxx> -#include <services.h> #include <unotools/mediadescriptor.hxx> #include <com/sun/star/frame/DispatchResultState.hpp> diff --git a/framework/source/dispatch/popupmenudispatcher.cxx b/framework/source/dispatch/popupmenudispatcher.cxx index 16b0fbd678cc..1b845347454f 100644 --- a/framework/source/dispatch/popupmenudispatcher.cxx +++ b/framework/source/dispatch/popupmenudispatcher.cxx @@ -26,7 +26,6 @@ #include <com/sun/star/uri/UriReferenceFactory.hpp> #include <com/sun/star/ui/XUIElement.hpp> -#include <cppuhelper/interfacecontainer.hxx> #include <cppuhelper/supportsservice.hxx> #include <sal/log.hxx> #include <vcl/svapp.hxx> diff --git a/framework/source/fwe/xml/menudocumenthandler.cxx b/framework/source/fwe/xml/menudocumenthandler.cxx index 2509ffa981c7..4b5a7ff06f10 100644 --- a/framework/source/fwe/xml/menudocumenthandler.cxx +++ b/framework/source/fwe/xml/menudocumenthandler.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <stdio.h> #include <sal/macros.h> #include <rtl/ref.hxx> #include <rtl/ustrbuf.hxx> diff --git a/framework/source/fwe/xml/saxnamespacefilter.cxx b/framework/source/fwe/xml/saxnamespacefilter.cxx index fa66360ce334..5a05dfb54e43 100644 --- a/framework/source/fwe/xml/saxnamespacefilter.cxx +++ b/framework/source/fwe/xml/saxnamespacefilter.cxx @@ -22,8 +22,6 @@ */ #include <vector> -#include <stdio.h> - #include <com/sun/star/xml/sax/SAXException.hpp> #include <xml/saxnamespacefilter.hxx> diff --git a/framework/source/fwe/xml/statusbardocumenthandler.cxx b/framework/source/fwe/xml/statusbardocumenthandler.cxx index 2306f4f46737..94dd1817872f 100644 --- a/framework/source/fwe/xml/statusbardocumenthandler.cxx +++ b/framework/source/fwe/xml/statusbardocumenthandler.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <stdio.h> - #include <xml/statusbardocumenthandler.hxx> #include <com/sun/star/xml/sax/SAXException.hpp> diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx index 02999b5cf902..5ed0ee665405 100644 --- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx +++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <stdio.h> - #include <xml/toolboxdocumenthandler.hxx> #include <xml/toolboxconfigurationdefines.hxx> diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index dbe80f802c25..59687abbeefb 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -41,7 +41,6 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XEnumeration.hpp> -#include <com/sun/star/container/XHierarchicalNameAccess.hpp> #include <com/sun/star/document/MacroExecMode.hpp> #include <com/sun/star/document/XTypeDetection.hpp> #include <com/sun/star/document/XActionLockable.hpp> diff --git a/framework/source/recording/dispatchrecordersupplier.cxx b/framework/source/recording/dispatchrecordersupplier.cxx index 08acf223b401..39707aca6e22 100644 --- a/framework/source/recording/dispatchrecordersupplier.cxx +++ b/framework/source/recording/dispatchrecordersupplier.cxx @@ -18,7 +18,6 @@ */ #include <recording/dispatchrecordersupplier.hxx> -#include <services.h> #include <com/sun/star/frame/XRecordableDispatch.hpp> diff --git a/framework/source/services/dispatchhelper.cxx b/framework/source/services/dispatchhelper.cxx index b4e5718ab56b..380eab11ec67 100644 --- a/framework/source/services/dispatchhelper.cxx +++ b/framework/source/services/dispatchhelper.cxx @@ -18,7 +18,6 @@ */ #include <framework/dispatchhelper.hxx> -#include <services.h> #include <com/sun/star/frame/XNotifyingDispatch.hpp> #include <com/sun/star/util/URLTransformer.hpp> diff --git a/framework/source/services/mediatypedetectionhelper.cxx b/framework/source/services/mediatypedetectionhelper.cxx index f4388d217c13..440a3d59a022 100644 --- a/framework/source/services/mediatypedetectionhelper.cxx +++ b/framework/source/services/mediatypedetectionhelper.cxx @@ -18,9 +18,9 @@ */ #include <services/mediatypedetectionhelper.hxx> -#include <services.h> #include <svl/inettype.hxx> #include <cppuhelper/supportsservice.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> namespace framework { diff --git a/framework/source/services/uriabbreviation.cxx b/framework/source/services/uriabbreviation.cxx index abccde76f59d..6faa0c8e3d55 100644 --- a/framework/source/services/uriabbreviation.cxx +++ b/framework/source/services/uriabbreviation.cxx @@ -18,7 +18,6 @@ */ #include <services/uriabbreviation.hxx> -#include <services.h> #include <sal/config.h> diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx index 471bd67ca7c7..d83382b3361e 100644 --- a/framework/source/uiconfiguration/uicategorydescription.cxx +++ b/framework/source/uiconfiguration/uicategorydescription.cxx @@ -29,7 +29,6 @@ #include <sal/log.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> -#include <unotools/configmgr.hxx> #include <unotools/syslocale.hxx> #include <comphelper/propertysequence.hxx> diff --git a/framework/source/uielement/addonstoolbarwrapper.cxx b/framework/source/uielement/addonstoolbarwrapper.cxx index f2b56cee1526..fb7ac0f0f5e8 100644 --- a/framework/source/uielement/addonstoolbarwrapper.cxx +++ b/framework/source/uielement/addonstoolbarwrapper.cxx @@ -25,7 +25,6 @@ #include <toolkit/helper/vclunohelper.hxx> -#include <svtools/miscopt.hxx> #include <vcl/svapp.hxx> #include <vcl/toolbox.hxx> diff --git a/framework/source/uielement/comboboxtoolbarcontroller.cxx b/framework/source/uielement/comboboxtoolbarcontroller.cxx index 4fd3fca717bb..745b25d2cf99 100644 --- a/framework/source/uielement/comboboxtoolbarcontroller.cxx +++ b/framework/source/uielement/comboboxtoolbarcontroller.cxx @@ -20,7 +20,6 @@ #include <uielement/comboboxtoolbarcontroller.hxx> #include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/util/Color.hpp> #include <vcl/InterimItemWindow.hxx> #include <svtools/toolboxcontroller.hxx> diff --git a/framework/source/uielement/complextoolbarcontroller.cxx b/framework/source/uielement/complextoolbarcontroller.cxx index a4c3f96b0583..b62febf87663 100644 --- a/framework/source/uielement/complextoolbarcontroller.cxx +++ b/framework/source/uielement/complextoolbarcontroller.cxx @@ -32,7 +32,6 @@ #include <vcl/svapp.hxx> #include <vcl/mnemonic.hxx> #include <vcl/toolbox.hxx> -#include <vcl/settings.hxx> using namespace ::com::sun::star; using namespace css::awt; diff --git a/framework/source/uielement/generictoolbarcontroller.cxx b/framework/source/uielement/generictoolbarcontroller.cxx index c6fec020f502..31c22d03bbb1 100644 --- a/framework/source/uielement/generictoolbarcontroller.cxx +++ b/framework/source/uielement/generictoolbarcontroller.cxx @@ -20,7 +20,7 @@ #include <framework/generictoolbarcontroller.hxx> #include <com/sun/star/util/XURLTransformer.hpp> -#include <com/sun/star/frame/XDispatchProvider.hpp> +#include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/frame/status/ItemStatus.hpp> #include <com/sun/star/frame/status/Visibility.hpp> diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index f9bd9f2312ba..b2d1f7cbd372 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -35,14 +35,12 @@ #include <com/sun/star/lang/SystemDependent.hpp> #include <com/sun/star/ui/GlobalAcceleratorConfiguration.hpp> #include <com/sun/star/ui/ItemType.hpp> -#include <com/sun/star/ui/ImageType.hpp> #include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp> #include <com/sun/star/ui/XUIConfigurationManagerSupplier.hpp> #include <com/sun/star/ui/ItemStyle.hpp> #include <com/sun/star/frame/status/Visibility.hpp> #include <com/sun/star/util/URLTransformer.hpp> -#include <comphelper/processfactory.hxx> #include <comphelper/propertysequence.hxx> #include <officecfg/Office/Common.hxx> #include <svtools/menuoptions.hxx> diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx index fe0ed307e76d..af07acef9f04 100644 --- a/framework/source/uielement/popuptoolbarcontroller.cxx +++ b/framework/source/uielement/popuptoolbarcontroller.cxx @@ -24,13 +24,11 @@ #include <comphelper/propertyvalue.hxx> #include <menuconfiguration.hxx> #include <svtools/imagemgr.hxx> -#include <svtools/miscopt.hxx> #include <svtools/toolboxcontroller.hxx> #include <toolkit/awt/vclxmenu.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <tools/diagnose_ex.h> #include <tools/urlobj.hxx> -#include <unotools/moduleoptions.hxx> #include <vcl/commandinfoprovider.hxx> #include <vcl/menu.hxx> #include <vcl/svapp.hxx> diff --git a/framework/source/uielement/toolbarmodemenucontroller.cxx b/framework/source/uielement/toolbarmodemenucontroller.cxx index 6faa4036efc3..cd6f2716a23a 100644 --- a/framework/source/uielement/toolbarmodemenucontroller.cxx +++ b/framework/source/uielement/toolbarmodemenucontroller.cxx @@ -21,12 +21,9 @@ #include <services.h> #include <com/sun/star/awt/MenuItemStyle.hpp> -#include <com/sun/star/frame/XDispatchProvider.hpp> -#include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/ui/UIElementType.hpp> #include <com/sun/star/frame/XModuleManager.hpp> #include <com/sun/star/frame/ModuleManager.hpp> -#include <com/sun/star/util/XURLTransformer.hpp> #include <officecfg/Office/Common.hxx> diff --git a/framework/source/uielement/toolbarwrapper.cxx b/framework/source/uielement/toolbarwrapper.cxx index 8e26d09b8982..b74aa19136f3 100644 --- a/framework/source/uielement/toolbarwrapper.cxx +++ b/framework/source/uielement/toolbarwrapper.cxx @@ -26,7 +26,6 @@ #include <toolkit/helper/vclunohelper.hxx> #include <cppuhelper/queryinterface.hxx> -#include <svtools/miscopt.hxx> #include <vcl/svapp.hxx> #include <vcl/toolbox.hxx> diff --git a/framework/source/uifactory/addonstoolbarfactory.cxx b/framework/source/uifactory/addonstoolbarfactory.cxx index 021d3dc02c53..0c3f5d4fba7c 100644 --- a/framework/source/uifactory/addonstoolbarfactory.cxx +++ b/framework/source/uifactory/addonstoolbarfactory.cxx @@ -28,7 +28,6 @@ #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> -#include <o3tl/safeint.hxx> #include <vcl/svapp.hxx> using namespace com::sun::star::uno; |