From e4bf92ae344e0db16177de7fc9eed432339d8705 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Fri, 1 Nov 2019 23:29:42 +0100 Subject: [PATCH] tdf#42949 Fix IWYU warnings in framework/*/*hxx Also drop unused framework/inc/fwkdllapi.h Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I9e79266f273b778f4a8bd3330b1b0353a2e01a61 Reviewed-on: https://gerrit.libreoffice.org/81927 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- framework/IwyuFilter_framework.yaml | 46 +++++++++++++++++++ framework/inc/acceleratorconst.h | 2 - .../inc/classes/actiontriggerpropertyset.hxx | 1 - .../actiontriggerseparatorpropertyset.hxx | 2 - framework/inc/classes/converter.hxx | 3 +- framework/inc/classes/framecontainer.hxx | 7 --- framework/inc/classes/imagewrapper.hxx | 1 - .../inc/classes/protocolhandlercache.hxx | 3 +- framework/inc/classes/taskcreator.hxx | 2 - framework/inc/dispatch/closedispatcher.hxx | 5 -- .../dispatch/dispatchinformationprovider.hxx | 4 -- framework/inc/dispatch/dispatchprovider.hxx | 4 -- framework/inc/dispatch/interceptionhelper.hxx | 2 - framework/inc/dispatch/mailtodispatcher.hxx | 3 -- framework/inc/dispatch/oxt_handler.hxx | 3 -- .../inc/dispatch/popupmenudispatcher.hxx | 4 -- framework/inc/dispatch/servicehandler.hxx | 3 -- .../inc/dispatch/startmoduledispatcher.hxx | 7 --- framework/inc/dispatch/systemexec.hxx | 3 -- framework/inc/fwkdllapi.h | 29 ------------ .../inc/helper/dockingareadefaultacceptor.hxx | 2 - framework/inc/helper/mischelper.hxx | 2 - framework/inc/helper/ocomponentaccess.hxx | 3 -- .../inc/helper/ocomponentenumeration.hxx | 2 - framework/inc/helper/oframes.hxx | 2 - .../inc/helper/persistentwindowstate.hxx | 5 -- .../inc/helper/statusindicatorfactory.hxx | 10 +--- framework/inc/helper/tagwindowasmodified.hxx | 4 -- framework/inc/helper/titlebarupdate.hxx | 4 -- framework/inc/helper/vclstatusindicator.hxx | 3 -- framework/inc/helper/wakeupthread.hxx | 1 - .../inc/interaction/quietinteraction.hxx | 2 - framework/inc/jobs/configaccess.hxx | 3 -- framework/inc/jobs/job.hxx | 6 --- framework/inc/jobs/jobconst.hxx | 3 -- framework/inc/jobs/jobdata.hxx | 8 +--- framework/inc/jobs/jobresult.hxx | 5 +- framework/inc/jobs/joburl.hxx | 3 -- framework/inc/jobs/shelljob.hxx | 2 - framework/inc/macros/registration.hxx | 1 - framework/inc/macros/xserviceinfo.hxx | 4 -- framework/inc/properties.h | 2 +- framework/inc/recording/dispatchrecorder.hxx | 3 -- .../recording/dispatchrecordersupplier.hxx | 3 -- framework/inc/services/desktop.hxx | 2 +- framework/inc/services/layoutmanager.hxx | 11 ----- .../inc/services/mediatypedetectionhelper.hxx | 1 - framework/inc/services/uriabbreviation.hxx | 1 - framework/inc/stdtypes.h | 7 --- framework/inc/tabwin/tabwindow.hxx | 4 -- framework/inc/tabwin/tabwinfactory.hxx | 5 -- framework/inc/threadhelp/gate.hxx | 1 - .../inc/threadhelp/transactionmanager.hxx | 4 -- .../inc/uiconfiguration/globalsettings.hxx | 11 ----- .../inc/uiconfiguration/graphicnameaccess.hxx | 4 +- .../inc/uiconfiguration/imagemanager.hxx | 15 ------ .../uiconfiguration/moduleimagemanager.hxx | 18 -------- .../inc/uielement/addonstoolbarmanager.hxx | 5 -- .../inc/uielement/buttontoolbarcontroller.hxx | 1 - .../uielement/comboboxtoolbarcontroller.hxx | 1 - framework/inc/uielement/commandinfo.hxx | 5 +- .../inc/uielement/constitemcontainer.hxx | 4 +- .../dropdownboxtoolbarcontroller.hxx | 1 - .../inc/uielement/edittoolbarcontroller.hxx | 3 +- .../inc/uielement/fontmenucontroller.hxx | 6 --- .../inc/uielement/fontsizemenucontroller.hxx | 6 --- .../uielement/generictoolbarcontroller.hxx | 1 + .../inc/uielement/headermenucontroller.hxx | 7 --- .../imagebuttontoolbarcontroller.hxx | 1 - framework/inc/uielement/itemcontainer.hxx | 2 - .../uielement/langselectionmenucontroller.hxx | 6 --- .../inc/uielement/macrosmenucontroller.hxx | 8 ---- framework/inc/uielement/menubarmanager.hxx | 10 +--- framework/inc/uielement/menubarwrapper.hxx | 1 - framework/inc/uielement/newmenucontroller.hxx | 10 ---- .../inc/uielement/progressbarwrapper.hxx | 2 - framework/inc/uielement/rootitemcontainer.hxx | 1 - .../uielement/spinfieldtoolbarcontroller.hxx | 3 +- framework/inc/uielement/statusbarmanager.hxx | 6 +-- framework/inc/uielement/statusbarmerger.hxx | 3 +- framework/inc/uielement/statusbarwrapper.hxx | 1 - .../statusindicatorinterfacewrapper.hxx | 3 -- .../togglebuttontoolbarcontroller.hxx | 1 - framework/inc/uielement/toolbarmanager.hxx | 5 -- framework/inc/uielement/toolbarmerger.hxx | 13 +----- .../uielement/toolbarmodemenucontroller.hxx | 9 ---- .../inc/uielement/toolbarsmenucontroller.hxx | 6 --- framework/inc/uielement/toolbarwrapper.hxx | 1 - .../inc/uielement/uicommanddescription.hxx | 1 - .../inc/uifactory/factoryconfiguration.hxx | 6 +-- framework/inc/uifactory/menubarfactory.hxx | 1 - .../xml/acceleratorconfigurationreader.hxx | 1 - .../xml/acceleratorconfigurationwriter.hxx | 1 - framework/inc/xml/imagesconfiguration.hxx | 5 -- framework/inc/xml/imagesdocumenthandler.hxx | 3 -- framework/inc/xml/menudocumenthandler.hxx | 1 - framework/inc/xml/saxnamespacefilter.hxx | 1 - .../inc/xml/statusbardocumenthandler.hxx | 1 - framework/inc/xml/toolboxdocumenthandler.hxx | 4 +- framework/inc/xml/xmlnamespaces.hxx | 4 +- framework/source/accelerators/keymapping.cxx | 1 + .../source/accelerators/presethandler.cxx | 1 + framework/source/dispatch/closedispatcher.cxx | 2 + .../dispatch/dispatchinformationprovider.cxx | 2 + .../source/dispatch/dispatchprovider.cxx | 1 + .../source/dispatch/isstartmoduledispatch.hxx | 2 + framework/source/dispatch/loaddispatcher.cxx | 1 + .../source/dispatch/popupmenudispatcher.cxx | 1 + .../source/dispatch/startmoduledispatcher.cxx | 1 + .../source/fwe/xml/menuconfiguration.cxx | 1 + .../source/fwe/xml/saxnamespacefilter.cxx | 2 + .../source/fwe/xml/statusbarconfiguration.cxx | 1 + .../source/fwe/xml/toolboxconfiguration.cxx | 1 + framework/source/fwe/xml/xmlnamespaces.cxx | 2 + .../inc/accelerators/acceleratorcache.hxx | 2 +- .../accelerators/acceleratorconfiguration.hxx | 9 ---- .../source/inc/accelerators/keymapping.hxx | 6 +-- .../source/inc/accelerators/presethandler.hxx | 3 -- .../source/inc/accelerators/storageholder.hxx | 6 +-- .../source/inc/dispatch/dispatchdisabler.hxx | 1 - .../inc/dispatch/windowcommanddispatch.hxx | 2 - framework/source/inc/loadenv/loadenv.hxx | 4 -- .../source/inc/loadenv/loadenvexception.hxx | 5 +- framework/source/inc/loadenv/targethelper.hxx | 2 - framework/source/inc/pattern/frame.hxx | 2 - framework/source/inc/pattern/window.hxx | 3 -- framework/source/jobs/helponstartup.cxx | 1 + framework/source/jobs/job.cxx | 1 + framework/source/jobs/jobdata.cxx | 1 + framework/source/layoutmanager/helpers.hxx | 5 -- .../source/layoutmanager/layoutmanager.cxx | 1 + .../layoutmanager/toolbarlayoutmanager.hxx | 8 ---- framework/source/loadenv/loadenv.cxx | 3 ++ framework/source/loadenv/targethelper.cxx | 1 + framework/source/services/autorecovery.cxx | 1 + framework/source/services/desktop.cxx | 1 + framework/source/services/frame.cxx | 2 + framework/source/services/pathsettings.cxx | 1 + framework/source/tabwin/tabwindow.cxx | 1 + framework/source/tabwin/tabwinfactory.cxx | 1 + .../uiconfiguration/CommandImageResolver.hxx | 1 - .../uiconfiguration/imagemanagerimpl.cxx | 1 + .../uiconfiguration/imagemanagerimpl.hxx | 15 ++---- .../uielement/controlmenucontroller.cxx | 1 + .../uielement/edittoolbarcontroller.cxx | 1 + .../source/uielement/fontmenucontroller.cxx | 1 + .../uielement/fontsizemenucontroller.cxx | 1 + .../source/uielement/headermenucontroller.cxx | 1 + .../uielement/langselectionmenucontroller.cxx | 1 + .../source/uielement/macrosmenucontroller.cxx | 1 + framework/source/uielement/menubarmanager.cxx | 1 + framework/source/uielement/menubarwrapper.cxx | 1 + .../source/uielement/newmenucontroller.cxx | 2 + .../uielement/resourcemenucontroller.cxx | 1 + .../uielement/spinfieldtoolbarcontroller.cxx | 1 + framework/source/uielement/toolbarmanager.cxx | 1 + framework/source/uielement/toolbarmerger.cxx | 10 ++++ .../uielement/toolbarmodemenucontroller.cxx | 1 + .../uielement/toolbarsmenucontroller.cxx | 2 + framework/source/xml/imagesconfiguration.cxx | 1 + solenv/clang-format/blacklist | 1 - 161 files changed, 148 insertions(+), 452 deletions(-) create mode 100644 framework/IwyuFilter_framework.yaml delete mode 100644 framework/inc/fwkdllapi.h diff --git a/framework/IwyuFilter_framework.yaml b/framework/IwyuFilter_framework.yaml new file mode 100644 index 000000000000..35ebcb080a33 --- /dev/null +++ b/framework/IwyuFilter_framework.yaml @@ -0,0 +1,46 @@ +--- +assumeFilename: framework/source/services/autorecovery.cxx +blacklist: + framework/inc/stdtypes.h: + # Don't propose hxx -> h change in URE libs + - cppuhelper/interfacecontainer.hxx + framework/inc/macros/xinterface.hxx: + # Used in macros + - com/sun/star/uno/Any.hxx + - com/sun/star/uno/Type.hxx + - cppuhelper/queryinterface.hxx + framework/inc/macros/xserviceinfo.hxx: + # Used in macros + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/lang/XSingleServiceFactory.hpp + - com/sun/star/uno/Reference.hxx + - com/sun/star/uno/Sequence.hxx + - com/sun/star/uno/XComponentContext.hpp + - comphelper/processfactory.hxx + - cppuhelper/factory.hxx + - cppuhelper/supportsservice.hxx + - rtl/ustring.hxx + framework/inc/macros/registration.hxx: + # Used in macros + - com/sun/star/lang/XMultiServiceFactory.hpp + framework/inc/macros/xtypeprovider.hxx: + # Used in macros + - com/sun/star/lang/XTypeProvider.hpp + - com/sun/star/uno/Sequence.hxx + - com/sun/star/uno/Type.hxx + - cppuhelper/typeprovider.hxx + framework/inc/services/layoutmanager.hxx: + # Don't propose hxx -> h change in URE libs + - cppuhelper/interfacecontainer.hxx + framework/inc/tabwin/tabwindow.hxx: + # Don't propose hxx -> h change in URE libs + - cppuhelper/interfacecontainer.hxx + framework/inc/uielement/statusbarmanager.hxx: + # Don't propose hxx -> h change in URE libs + - cppuhelper/interfacecontainer.hxx + framework/inc/uielement/toolbarmanager.hxx: + # Don't propose hxx -> h change in URE libs + - cppuhelper/interfacecontainer.hxx + framework/source/uiconfiguration/imagemanagerimpl.hxx: + # Don't propose hxx -> h change in URE libs + - cppuhelper/interfacecontainer.hxx diff --git a/framework/inc/acceleratorconst.h b/framework/inc/acceleratorconst.h index de798bf8a3ca..0a1cad5fa8ab 100644 --- a/framework/inc/acceleratorconst.h +++ b/framework/inc/acceleratorconst.h @@ -20,8 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_ACCELERATORCONST_H #define INCLUDED_FRAMEWORK_INC_ACCELERATORCONST_H -#include "general.h" - namespace framework{ #define ATTRIBUTE_TYPE_CDATA "CDATA" diff --git a/framework/inc/classes/actiontriggerpropertyset.hxx b/framework/inc/classes/actiontriggerpropertyset.hxx index 19a2a5e0dfd3..be40992c8e5b 100644 --- a/framework/inc/classes/actiontriggerpropertyset.hxx +++ b/framework/inc/classes/actiontriggerpropertyset.hxx @@ -28,7 +28,6 @@ #include #include #include -#include #include #define SERVICENAME_ACTIONTRIGGER "com.sun.star.ui.ActionTrigger" diff --git a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx index 33bd3c76083c..8ef20621311a 100644 --- a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx +++ b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx @@ -26,8 +26,6 @@ #include #include #include -#include -#include #define SERVICENAME_ACTIONTRIGGERSEPARATOR "com.sun.star.ui.ActionTriggerSeparator" #define IMPLEMENTATIONNAME_ACTIONTRIGGERSEPARATOR "com.sun.star.comp.ui.ActionTriggerSeparator" diff --git a/framework/inc/classes/converter.hxx b/framework/inc/classes/converter.hxx index 9299120824bf..1df3a6a050ab 100644 --- a/framework/inc/classes/converter.hxx +++ b/framework/inc/classes/converter.hxx @@ -20,8 +20,7 @@ #ifndef INCLUDED_FRAMEWORK_INC_CLASSES_CONVERTER_HXX #define INCLUDED_FRAMEWORK_INC_CLASSES_CONVERTER_HXX -#include -#include +#include #include #include diff --git a/framework/inc/classes/framecontainer.hxx b/framework/inc/classes/framecontainer.hxx index f28e314ed3cd..72a868f66d34 100644 --- a/framework/inc/classes/framecontainer.hxx +++ b/framework/inc/classes/framecontainer.hxx @@ -23,18 +23,11 @@ #include #include -#include -#include - -#include -#include #include #include -#include #include -#include namespace framework{ diff --git a/framework/inc/classes/imagewrapper.hxx b/framework/inc/classes/imagewrapper.hxx index 14b93c1e1e3c..0a752a90b51d 100644 --- a/framework/inc/classes/imagewrapper.hxx +++ b/framework/inc/classes/imagewrapper.hxx @@ -22,7 +22,6 @@ #include #include -#include #include #include #include diff --git a/framework/inc/classes/protocolhandlercache.hxx b/framework/inc/classes/protocolhandlercache.hxx index a23acb57bc39..48dd25cac5fa 100644 --- a/framework/inc/classes/protocolhandlercache.hxx +++ b/framework/inc/classes/protocolhandlercache.hxx @@ -20,8 +20,7 @@ #ifndef INCLUDED_FRAMEWORK_INC_CLASSES_PROTOCOLHANDLERCACHE_HXX #define INCLUDED_FRAMEWORK_INC_CLASSES_PROTOCOLHANDLERCACHE_HXX -#include -#include +#include #include diff --git a/framework/inc/classes/taskcreator.hxx b/framework/inc/classes/taskcreator.hxx index b6a9bdb3b966..e9e98df4e79c 100644 --- a/framework/inc/classes/taskcreator.hxx +++ b/framework/inc/classes/taskcreator.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_CLASSES_TASKCREATOR_HXX #define INCLUDED_FRAMEWORK_INC_CLASSES_TASKCREATOR_HXX -#include - #include #include diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx index aa75a3acdab6..63732507126c 100644 --- a/framework/inc/dispatch/closedispatcher.hxx +++ b/framework/inc/dispatch/closedispatcher.hxx @@ -20,10 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_CLOSEDISPATCHER_HXX #define INCLUDED_FRAMEWORK_INC_DISPATCH_CLOSEDISPATCHER_HXX -#include -#include - -#include #include #include #include @@ -31,7 +27,6 @@ #include #include #include -#include #include #include diff --git a/framework/inc/dispatch/dispatchinformationprovider.hxx b/framework/inc/dispatch/dispatchinformationprovider.hxx index 20161e3ff786..12504abb2b6e 100644 --- a/framework/inc/dispatch/dispatchinformationprovider.hxx +++ b/framework/inc/dispatch/dispatchinformationprovider.hxx @@ -20,14 +20,10 @@ #ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_DISPATCHINFORMATIONPROVIDER_HXX #define INCLUDED_FRAMEWORK_INC_DISPATCH_DISPATCHINFORMATIONPROVIDER_HXX -#include - -#include #include #include #include -#include #include #include diff --git a/framework/inc/dispatch/dispatchprovider.hxx b/framework/inc/dispatch/dispatchprovider.hxx index 99c342957c18..fa719abfaff4 100644 --- a/framework/inc/dispatch/dispatchprovider.hxx +++ b/framework/inc/dispatch/dispatchprovider.hxx @@ -22,14 +22,10 @@ #include -#include - -#include #include #include #include #include -#include #include #include diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx index fbc8c33927bc..2409c3eefbec 100644 --- a/framework/inc/dispatch/interceptionhelper.hxx +++ b/framework/inc/dispatch/interceptionhelper.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_INTERCEPTIONHELPER_HXX #define INCLUDED_FRAMEWORK_INC_DISPATCH_INTERCEPTIONHELPER_HXX -#include - #include #include #include diff --git a/framework/inc/dispatch/mailtodispatcher.hxx b/framework/inc/dispatch/mailtodispatcher.hxx index 2e15607cf70b..18f505ec8edf 100644 --- a/framework/inc/dispatch/mailtodispatcher.hxx +++ b/framework/inc/dispatch/mailtodispatcher.hxx @@ -21,10 +21,7 @@ #define INCLUDED_FRAMEWORK_INC_DISPATCH_MAILTODISPATCHER_HXX #include -#include -#include -#include #include #include #include diff --git a/framework/inc/dispatch/oxt_handler.hxx b/framework/inc/dispatch/oxt_handler.hxx index 71ff88902eb6..63de4f7ab4ae 100644 --- a/framework/inc/dispatch/oxt_handler.hxx +++ b/framework/inc/dispatch/oxt_handler.hxx @@ -21,10 +21,7 @@ #define INCLUDED_FRAMEWORK_INC_DISPATCH_OXT_HANDLER_HXX #include -#include -#include -#include #include #include #include diff --git a/framework/inc/dispatch/popupmenudispatcher.hxx b/framework/inc/dispatch/popupmenudispatcher.hxx index b93d806f93d3..c383d015629d 100644 --- a/framework/inc/dispatch/popupmenudispatcher.hxx +++ b/framework/inc/dispatch/popupmenudispatcher.hxx @@ -21,10 +21,7 @@ #define INCLUDED_FRAMEWORK_INC_DISPATCH_POPUPMENUDISPATCHER_HXX #include -#include -#include -#include #include #include #include @@ -35,7 +32,6 @@ #include #include #include -#include #include #include diff --git a/framework/inc/dispatch/servicehandler.hxx b/framework/inc/dispatch/servicehandler.hxx index 14eb8fd9bccb..d73f5f1cf472 100644 --- a/framework/inc/dispatch/servicehandler.hxx +++ b/framework/inc/dispatch/servicehandler.hxx @@ -21,10 +21,7 @@ #define INCLUDED_FRAMEWORK_INC_DISPATCH_SERVICEHANDLER_HXX #include -#include -#include -#include #include #include #include diff --git a/framework/inc/dispatch/startmoduledispatcher.hxx b/framework/inc/dispatch/startmoduledispatcher.hxx index 37812a79589e..440c8f069a0a 100644 --- a/framework/inc/dispatch/startmoduledispatcher.hxx +++ b/framework/inc/dispatch/startmoduledispatcher.hxx @@ -20,21 +20,14 @@ #ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_STARTMODULEDISPATCHER_HXX #define INCLUDED_FRAMEWORK_INC_DISPATCH_STARTMODULEDISPATCHER_HXX -#include -#include - -#include #include #include #include #include #include -#include #include -#include #include -#include namespace framework{ diff --git a/framework/inc/dispatch/systemexec.hxx b/framework/inc/dispatch/systemexec.hxx index d90fbecec3ad..7c9e10418440 100644 --- a/framework/inc/dispatch/systemexec.hxx +++ b/framework/inc/dispatch/systemexec.hxx @@ -21,10 +21,7 @@ #define INCLUDED_FRAMEWORK_INC_DISPATCH_SYSTEMEXEC_HXX #include -#include -#include -#include #include #include #include diff --git a/framework/inc/fwkdllapi.h b/framework/inc/fwkdllapi.h deleted file mode 100644 index e4d502708b1e..000000000000 --- a/framework/inc/fwkdllapi.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef INCLUDED_FRAMEWORK_INC_FWKDLLAPI_H -#define INCLUDED_FRAMEWORK_INC_FWKDLLAPI_H - -#include - -#include "fwidllapi.h" - -#endif // INCLUDED_FRAMEWORK_INC_FWKDLLAPI_H - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/helper/dockingareadefaultacceptor.hxx b/framework/inc/helper/dockingareadefaultacceptor.hxx index f3a3f54c32fc..281c9811499a 100644 --- a/framework/inc/helper/dockingareadefaultacceptor.hxx +++ b/framework/inc/helper/dockingareadefaultacceptor.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_HELPER_DOCKINGAREADEFAULTACCEPTOR_HXX #define INCLUDED_FRAMEWORK_INC_HELPER_DOCKINGAREADEFAULTACCEPTOR_HXX -#include - #include #include diff --git a/framework/inc/helper/mischelper.hxx b/framework/inc/helper/mischelper.hxx index 487d0f3d569c..23e0c249002c 100644 --- a/framework/inc/helper/mischelper.hxx +++ b/framework/inc/helper/mischelper.hxx @@ -21,9 +21,7 @@ #define INCLUDED_FRAMEWORK_INC_HELPER_MISCHELPER_HXX #include -#include #include -#include #include #include #include diff --git a/framework/inc/helper/ocomponentaccess.hxx b/framework/inc/helper/ocomponentaccess.hxx index 4e0751905a85..0ab674a33156 100644 --- a/framework/inc/helper/ocomponentaccess.hxx +++ b/framework/inc/helper/ocomponentaccess.hxx @@ -20,11 +20,8 @@ #ifndef INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTACCESS_HXX #define INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTACCESS_HXX -#include - #include #include -#include #include #include #include diff --git a/framework/inc/helper/ocomponentenumeration.hxx b/framework/inc/helper/ocomponentenumeration.hxx index 3f30a2ef2b75..10de97dd5806 100644 --- a/framework/inc/helper/ocomponentenumeration.hxx +++ b/framework/inc/helper/ocomponentenumeration.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTENUMERATION_HXX #define INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTENUMERATION_HXX -#include - #include #include #include diff --git a/framework/inc/helper/oframes.hxx b/framework/inc/helper/oframes.hxx index 091b757b7e22..1da482c4e86f 100644 --- a/framework/inc/helper/oframes.hxx +++ b/framework/inc/helper/oframes.hxx @@ -21,9 +21,7 @@ #define INCLUDED_FRAMEWORK_INC_HELPER_OFRAMES_HXX #include -#include -#include #include #include diff --git a/framework/inc/helper/persistentwindowstate.hxx b/framework/inc/helper/persistentwindowstate.hxx index e0e86226c7ef..ce6f0ed434ba 100644 --- a/framework/inc/helper/persistentwindowstate.hxx +++ b/framework/inc/helper/persistentwindowstate.hxx @@ -20,16 +20,11 @@ #ifndef INCLUDED_FRAMEWORK_INC_HELPER_PERSISTENTWINDOWSTATE_HXX #define INCLUDED_FRAMEWORK_INC_HELPER_PERSISTENTWINDOWSTATE_HXX -#include - -#include #include #include #include -#include #include -#include #include #include diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx index 4f6e183e8a54..da02dbfc626a 100644 --- a/framework/inc/helper/statusindicatorfactory.hxx +++ b/framework/inc/helper/statusindicatorfactory.hxx @@ -26,28 +26,20 @@ // include files of own module #include -#include // include uno interfaces -#include #include #include -#include #include #include #include -#include -#include -#include -#include #include #include #include #include -#include #include -#include +#include namespace framework{ diff --git a/framework/inc/helper/tagwindowasmodified.hxx b/framework/inc/helper/tagwindowasmodified.hxx index 13e46851727d..ef749f030cfc 100644 --- a/framework/inc/helper/tagwindowasmodified.hxx +++ b/framework/inc/helper/tagwindowasmodified.hxx @@ -20,13 +20,9 @@ #ifndef INCLUDED_FRAMEWORK_INC_HELPER_TAGWINDOWASMODIFIED_HXX #define INCLUDED_FRAMEWORK_INC_HELPER_TAGWINDOWASMODIFIED_HXX -#include - -#include #include #include #include -#include #include #include diff --git a/framework/inc/helper/titlebarupdate.hxx b/framework/inc/helper/titlebarupdate.hxx index ac2d97533d17..88030f9cee88 100644 --- a/framework/inc/helper/titlebarupdate.hxx +++ b/framework/inc/helper/titlebarupdate.hxx @@ -20,17 +20,13 @@ #ifndef INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX #define INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX -#include #include #include #include #include #include -#include -#include #include #include -#include namespace framework{ diff --git a/framework/inc/helper/vclstatusindicator.hxx b/framework/inc/helper/vclstatusindicator.hxx index e5ce9b11d73a..f3ea3d9c4944 100644 --- a/framework/inc/helper/vclstatusindicator.hxx +++ b/framework/inc/helper/vclstatusindicator.hxx @@ -20,10 +20,7 @@ #ifndef INCLUDED_FRAMEWORK_INC_HELPER_VCLSTATUSINDICATOR_HXX #define INCLUDED_FRAMEWORK_INC_HELPER_VCLSTATUSINDICATOR_HXX -#include - #include -#include #include #include diff --git a/framework/inc/helper/wakeupthread.hxx b/framework/inc/helper/wakeupthread.hxx index 50e234f23713..6632d4b049f3 100644 --- a/framework/inc/helper/wakeupthread.hxx +++ b/framework/inc/helper/wakeupthread.hxx @@ -26,7 +26,6 @@ #include #include #include -#include #include namespace com { namespace sun { namespace star { namespace util { diff --git a/framework/inc/interaction/quietinteraction.hxx b/framework/inc/interaction/quietinteraction.hxx index 75d6c05a089b..c6e6cc9cf403 100644 --- a/framework/inc/interaction/quietinteraction.hxx +++ b/framework/inc/interaction/quietinteraction.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_INTERACTION_QUIETINTERACTION_HXX #define INCLUDED_FRAMEWORK_INC_INTERACTION_QUIETINTERACTION_HXX -#include - #include #include diff --git a/framework/inc/jobs/configaccess.hxx b/framework/inc/jobs/configaccess.hxx index a6812f0b5520..cd77b42a298d 100644 --- a/framework/inc/jobs/configaccess.hxx +++ b/framework/inc/jobs/configaccess.hxx @@ -20,9 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_JOBS_CONFIGACCESS_HXX #define INCLUDED_FRAMEWORK_INC_JOBS_CONFIGACCESS_HXX -#include - -#include #include #include diff --git a/framework/inc/jobs/job.hxx b/framework/inc/jobs/job.hxx index 28f9d269c483..f5f2ea96fe1c 100644 --- a/framework/inc/jobs/job.hxx +++ b/framework/inc/jobs/job.hxx @@ -20,13 +20,8 @@ #ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOB_HXX #define INCLUDED_FRAMEWORK_INC_JOBS_JOB_HXX -#include #include -#include -#include -#include -#include #include #include #include @@ -35,7 +30,6 @@ #include #include -#include namespace framework{ diff --git a/framework/inc/jobs/jobconst.hxx b/framework/inc/jobs/jobconst.hxx index e66e7e55919b..80e78f4d991a 100644 --- a/framework/inc/jobs/jobconst.hxx +++ b/framework/inc/jobs/jobconst.hxx @@ -20,9 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOBCONST_HXX #define INCLUDED_FRAMEWORK_INC_JOBS_JOBCONST_HXX -#include -#include - #include #include diff --git a/framework/inc/jobs/jobdata.hxx b/framework/inc/jobs/jobdata.hxx index c96c8bca32e9..5d64bcb8ce98 100644 --- a/framework/inc/jobs/jobdata.hxx +++ b/framework/inc/jobs/jobdata.hxx @@ -20,17 +20,13 @@ #ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOBDATA_HXX #define INCLUDED_FRAMEWORK_INC_JOBS_JOBDATA_HXX -#include -#include -#include -#include - -#include #include #include #include +#include + namespace framework{ /** diff --git a/framework/inc/jobs/jobresult.hxx b/framework/inc/jobs/jobresult.hxx index aa6989708d62..2178a541a895 100644 --- a/framework/inc/jobs/jobresult.hxx +++ b/framework/inc/jobs/jobresult.hxx @@ -20,13 +20,10 @@ #ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOBRESULT_HXX #define INCLUDED_FRAMEWORK_INC_JOBS_JOBRESULT_HXX -#include -#include - #include #include -#include +#include namespace framework{ diff --git a/framework/inc/jobs/joburl.hxx b/framework/inc/jobs/joburl.hxx index 2e3e2cb0c0c9..5ea812d52ff1 100644 --- a/framework/inc/jobs/joburl.hxx +++ b/framework/inc/jobs/joburl.hxx @@ -20,9 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_JOBS_JOBURL_HXX #define INCLUDED_FRAMEWORK_INC_JOBS_JOBURL_HXX -#include -#include - #include namespace framework{ diff --git a/framework/inc/jobs/shelljob.hxx b/framework/inc/jobs/shelljob.hxx index b1408858819b..1c2aaec0c656 100644 --- a/framework/inc/jobs/shelljob.hxx +++ b/framework/inc/jobs/shelljob.hxx @@ -25,8 +25,6 @@ #include #include -#include -#include namespace framework{ diff --git a/framework/inc/macros/registration.hxx b/framework/inc/macros/registration.hxx index 4d41818a9321..55581ed3f9f6 100644 --- a/framework/inc/macros/registration.hxx +++ b/framework/inc/macros/registration.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_MACROS_REGISTRATION_HXX #define INCLUDED_FRAMEWORK_INC_MACROS_REGISTRATION_HXX -#include #include //namespace framework{ diff --git a/framework/inc/macros/xserviceinfo.hxx b/framework/inc/macros/xserviceinfo.hxx index 2eff0d2b14be..9849c5d0e1a3 100644 --- a/framework/inc/macros/xserviceinfo.hxx +++ b/framework/inc/macros/xserviceinfo.hxx @@ -20,10 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_MACROS_XSERVICEINFO_HXX #define INCLUDED_FRAMEWORK_INC_MACROS_XSERVICEINFO_HXX -#include - -#include -#include #include #include diff --git a/framework/inc/properties.h b/framework/inc/properties.h index de3eb86c5694..8cb35b1ac5f7 100644 --- a/framework/inc/properties.h +++ b/framework/inc/properties.h @@ -20,7 +20,7 @@ #ifndef INCLUDED_FRAMEWORK_INC_PROPERTIES_H #define INCLUDED_FRAMEWORK_INC_PROPERTIES_H -#include "general.h" +#include namespace framework{ diff --git a/framework/inc/recording/dispatchrecorder.hxx b/framework/inc/recording/dispatchrecorder.hxx index 361c3f868b5f..b4a0a5ffafe6 100644 --- a/framework/inc/recording/dispatchrecorder.hxx +++ b/framework/inc/recording/dispatchrecorder.hxx @@ -26,17 +26,14 @@ #include #include -#include #include #include -#include #include #include #include #include #include #include -#include #include #include diff --git a/framework/inc/recording/dispatchrecordersupplier.hxx b/framework/inc/recording/dispatchrecordersupplier.hxx index 685d91770a0d..7f20f641edf9 100644 --- a/framework/inc/recording/dispatchrecordersupplier.hxx +++ b/framework/inc/recording/dispatchrecordersupplier.hxx @@ -21,10 +21,7 @@ #define INCLUDED_FRAMEWORK_INC_RECORDING_DISPATCHRECORDERSUPPLIER_HXX #include -#include -#include -#include #include #include #include diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx index fd952e74f348..c49b62f4cf14 100644 --- a/framework/inc/services/desktop.hxx +++ b/framework/inc/services/desktop.hxx @@ -26,6 +26,7 @@ #include #include +#include #include #include @@ -38,7 +39,6 @@ #include #include #include -#include #include #include #include diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index a1b7eecf360f..955b2e42587e 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -20,26 +20,18 @@ #ifndef INCLUDED_FRAMEWORK_INC_SERVICES_LAYOUTMANAGER_HXX #define INCLUDED_FRAMEWORK_INC_SERVICES_LAYOUTMANAGER_HXX -#include -#include #include -#include #include #include -#include #include #include -#include #include #include #include -#include #include #include #include -#include -#include #include #include @@ -48,9 +40,6 @@ #include #include #include -#include -#include -#include #include class MenuBar; diff --git a/framework/inc/services/mediatypedetectionhelper.hxx b/framework/inc/services/mediatypedetectionhelper.hxx index 6265071ae285..38b2f9ade4b1 100644 --- a/framework/inc/services/mediatypedetectionhelper.hxx +++ b/framework/inc/services/mediatypedetectionhelper.hxx @@ -21,7 +21,6 @@ #define INCLUDED_FRAMEWORK_INC_SERVICES_MEDIATYPEDETECTIONHELPER_HXX #include -#include #include diff --git a/framework/inc/services/uriabbreviation.hxx b/framework/inc/services/uriabbreviation.hxx index 3e172bc6956b..ca6d32eb8344 100644 --- a/framework/inc/services/uriabbreviation.hxx +++ b/framework/inc/services/uriabbreviation.hxx @@ -21,7 +21,6 @@ #define INCLUDED_FRAMEWORK_INC_SERVICES_URIABBREVIATION_HXX #include -#include #include #include diff --git a/framework/inc/stdtypes.h b/framework/inc/stdtypes.h index 7973cdd6147e..ba4933b7d607 100644 --- a/framework/inc/stdtypes.h +++ b/framework/inc/stdtypes.h @@ -20,13 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_STDTYPES_H #define INCLUDED_FRAMEWORK_INC_STDTYPES_H -#include -#include -#include -#include - -#include "general.h" - #include #include diff --git a/framework/inc/tabwin/tabwindow.hxx b/framework/inc/tabwin/tabwindow.hxx index fb370b2bcf19..c7bac5a37925 100644 --- a/framework/inc/tabwin/tabwindow.hxx +++ b/framework/inc/tabwin/tabwindow.hxx @@ -20,17 +20,13 @@ #ifndef INCLUDED_FRAMEWORK_INC_TABWIN_TABWINDOW_HXX #define INCLUDED_FRAMEWORK_INC_TABWIN_TABWINDOW_HXX -#include #include #include #include -#include #include #include -#include #include -#include #include #include #include diff --git a/framework/inc/tabwin/tabwinfactory.hxx b/framework/inc/tabwin/tabwinfactory.hxx index 6680e3dd3e42..83315a6c3a8f 100644 --- a/framework/inc/tabwin/tabwinfactory.hxx +++ b/framework/inc/tabwin/tabwinfactory.hxx @@ -20,19 +20,14 @@ #ifndef INCLUDED_FRAMEWORK_INC_TABWIN_TABWINFACTORY_HXX #define INCLUDED_FRAMEWORK_INC_TABWIN_TABWINFACTORY_HXX -#include #include -#include #include -#include #include #include -#include #include #include -#include namespace framework { diff --git a/framework/inc/threadhelp/gate.hxx b/framework/inc/threadhelp/gate.hxx index f0113f398878..627a3a7cb4fb 100644 --- a/framework/inc/threadhelp/gate.hxx +++ b/framework/inc/threadhelp/gate.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_THREADHELP_GATE_HXX #define INCLUDED_FRAMEWORK_INC_THREADHELP_GATE_HXX -#include #include #include diff --git a/framework/inc/threadhelp/transactionmanager.hxx b/framework/inc/threadhelp/transactionmanager.hxx index 1653c57335df..e909900958ea 100644 --- a/framework/inc/threadhelp/transactionmanager.hxx +++ b/framework/inc/threadhelp/transactionmanager.hxx @@ -22,10 +22,6 @@ #include -#include -#include -#include - #include #include diff --git a/framework/inc/uiconfiguration/globalsettings.hxx b/framework/inc/uiconfiguration/globalsettings.hxx index 574beacfdcb9..c90ab14538ea 100644 --- a/framework/inc/uiconfiguration/globalsettings.hxx +++ b/framework/inc/uiconfiguration/globalsettings.hxx @@ -20,19 +20,8 @@ #ifndef INCLUDED_FRAMEWORK_INC_UICONFIGURATION_GLOBALSETTINGS_HXX #define INCLUDED_FRAMEWORK_INC_UICONFIGURATION_GLOBALSETTINGS_HXX -#include - -#include -#include -#include #include -#include -#include - -#include -#include - namespace framework { diff --git a/framework/inc/uiconfiguration/graphicnameaccess.hxx b/framework/inc/uiconfiguration/graphicnameaccess.hxx index 7b6405033aba..469ff079368b 100644 --- a/framework/inc/uiconfiguration/graphicnameaccess.hxx +++ b/framework/inc/uiconfiguration/graphicnameaccess.hxx @@ -20,9 +20,9 @@ #ifndef INCLUDED_FRAMEWORK_INC_UICONFIGURATION_GRAPHICNAMEACCESS_HXX #define INCLUDED_FRAMEWORK_INC_UICONFIGURATION_GRAPHICNAMEACCESS_HXX -#include +#include -#include +#include #include #include diff --git a/framework/inc/uiconfiguration/imagemanager.hxx b/framework/inc/uiconfiguration/imagemanager.hxx index ff6f5bd3aa88..f498b8607349 100644 --- a/framework/inc/uiconfiguration/imagemanager.hxx +++ b/framework/inc/uiconfiguration/imagemanager.hxx @@ -22,29 +22,14 @@ #include -#include -#include - #include -#include -#include -#include -#include -#include #include -#include -#include -#include #include #include -#include #include #include -#include -#include - namespace framework { class ImageManagerImpl; diff --git a/framework/inc/uiconfiguration/moduleimagemanager.hxx b/framework/inc/uiconfiguration/moduleimagemanager.hxx index c0559bfcba75..4d7b3d6f5b30 100644 --- a/framework/inc/uiconfiguration/moduleimagemanager.hxx +++ b/framework/inc/uiconfiguration/moduleimagemanager.hxx @@ -20,31 +20,13 @@ #ifndef INCLUDED_FRAMEWORK_INC_UICONFIGURATION_MODULEIMAGEMANAGER_HXX #define INCLUDED_FRAMEWORK_INC_UICONFIGURATION_MODULEIMAGEMANAGER_HXX -#include -#include - -#include -#include -#include -#include -#include -#include #include -#include -#include #include -#include #include -#include #include -#include -#include - -#include #include -#include namespace framework { diff --git a/framework/inc/uielement/addonstoolbarmanager.hxx b/framework/inc/uielement/addonstoolbarmanager.hxx index 8842ad608c79..d13c3f14b58a 100644 --- a/framework/inc/uielement/addonstoolbarmanager.hxx +++ b/framework/inc/uielement/addonstoolbarmanager.hxx @@ -23,13 +23,8 @@ #include #include -#include -#include -#include #include -#include -#include class ToolBox; diff --git a/framework/inc/uielement/buttontoolbarcontroller.hxx b/framework/inc/uielement/buttontoolbarcontroller.hxx index 913f2997bdb3..92a4e6aa8a63 100644 --- a/framework/inc/uielement/buttontoolbarcontroller.hxx +++ b/framework/inc/uielement/buttontoolbarcontroller.hxx @@ -25,7 +25,6 @@ #include #include #include -#include #include #include diff --git a/framework/inc/uielement/comboboxtoolbarcontroller.hxx b/framework/inc/uielement/comboboxtoolbarcontroller.hxx index 891e25bb05fd..2c9941eca8ac 100644 --- a/framework/inc/uielement/comboboxtoolbarcontroller.hxx +++ b/framework/inc/uielement/comboboxtoolbarcontroller.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_COMBOBOXTOOLBARCONTROLLER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_COMBOBOXTOOLBARCONTROLLER_HXX -#include #include #include diff --git a/framework/inc/uielement/commandinfo.hxx b/framework/inc/uielement/commandinfo.hxx index eed42f2238e6..b2c7c3e880a9 100644 --- a/framework/inc/uielement/commandinfo.hxx +++ b/framework/inc/uielement/commandinfo.hxx @@ -20,7 +20,10 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_COMMANDINFO_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_COMMANDINFO_HXX -#include +#include + +#include +#include namespace framework { diff --git a/framework/inc/uielement/constitemcontainer.hxx b/framework/inc/uielement/constitemcontainer.hxx index 1778f71d1b81..769652a403ae 100644 --- a/framework/inc/uielement/constitemcontainer.hxx +++ b/framework/inc/uielement/constitemcontainer.hxx @@ -20,12 +20,10 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_CONSTITEMCONTAINER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_CONSTITEMCONTAINER_HXX -#include -#include #include #include #include -#include +#include #include #include diff --git a/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx b/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx index c8721758627a..3303ada03172 100644 --- a/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx +++ b/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_DROPDOWNBOXTOOLBARCONTROLLER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_DROPDOWNBOXTOOLBARCONTROLLER_HXX -#include #include #include diff --git a/framework/inc/uielement/edittoolbarcontroller.hxx b/framework/inc/uielement/edittoolbarcontroller.hxx index 20924416c78d..7779224ef059 100644 --- a/framework/inc/uielement/edittoolbarcontroller.hxx +++ b/framework/inc/uielement/edittoolbarcontroller.hxx @@ -20,11 +20,10 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_EDITTOOLBARCONTROLLER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_EDITTOOLBARCONTROLLER_HXX -#include #include #include -#include +#include class ToolBox; diff --git a/framework/inc/uielement/fontmenucontroller.hxx b/framework/inc/uielement/fontmenucontroller.hxx index b01246101c01..e0f4f4ba1854 100644 --- a/framework/inc/uielement/fontmenucontroller.hxx +++ b/framework/inc/uielement/fontmenucontroller.hxx @@ -21,17 +21,11 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_FONTMENUCONTROLLER_HXX #include -#include -#include -#include -#include #include #include #include -#include -#include #include namespace framework diff --git a/framework/inc/uielement/fontsizemenucontroller.hxx b/framework/inc/uielement/fontsizemenucontroller.hxx index c3654f5c465d..9ffa4aac1dbf 100644 --- a/framework/inc/uielement/fontsizemenucontroller.hxx +++ b/framework/inc/uielement/fontsizemenucontroller.hxx @@ -21,19 +21,13 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_FONTSIZEMENUCONTROLLER_HXX #include -#include -#include -#include -#include #include #include #include #include #include -#include -#include #include #include diff --git a/framework/inc/uielement/generictoolbarcontroller.hxx b/framework/inc/uielement/generictoolbarcontroller.hxx index ba86ab2e3ebc..b1d7c5b70b99 100644 --- a/framework/inc/uielement/generictoolbarcontroller.hxx +++ b/framework/inc/uielement/generictoolbarcontroller.hxx @@ -24,6 +24,7 @@ #include #include +#include #include class PopupMenu; diff --git a/framework/inc/uielement/headermenucontroller.hxx b/framework/inc/uielement/headermenucontroller.hxx index 1b7cf4b72aa7..b92cb9755b1d 100644 --- a/framework/inc/uielement/headermenucontroller.hxx +++ b/framework/inc/uielement/headermenucontroller.hxx @@ -21,18 +21,11 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_HEADERMENUCONTROLLER_HXX #include -#include -#include -#include -#include #include #include #include -#include -#include -#include namespace framework { diff --git a/framework/inc/uielement/imagebuttontoolbarcontroller.hxx b/framework/inc/uielement/imagebuttontoolbarcontroller.hxx index 3c1f3a9f4e7e..ced9b2005ceb 100644 --- a/framework/inc/uielement/imagebuttontoolbarcontroller.hxx +++ b/framework/inc/uielement/imagebuttontoolbarcontroller.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_IMAGEBUTTONTOOLBARCONTROLLER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_IMAGEBUTTONTOOLBARCONTROLLER_HXX -#include #include #include diff --git a/framework/inc/uielement/itemcontainer.hxx b/framework/inc/uielement/itemcontainer.hxx index 156d7ffd4904..1e0fdd62cae5 100644 --- a/framework/inc/uielement/itemcontainer.hxx +++ b/framework/inc/uielement/itemcontainer.hxx @@ -24,9 +24,7 @@ #include #include -#include -#include #include #include diff --git a/framework/inc/uielement/langselectionmenucontroller.hxx b/framework/inc/uielement/langselectionmenucontroller.hxx index 4f2d9b4c9644..5ce72880b151 100644 --- a/framework/inc/uielement/langselectionmenucontroller.hxx +++ b/framework/inc/uielement/langselectionmenucontroller.hxx @@ -21,17 +21,11 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_LANGSELECTIONMENUCONTROLLER_HXX #include -#include -#include -#include -#include #include #include #include -#include -#include #include #include diff --git a/framework/inc/uielement/macrosmenucontroller.hxx b/framework/inc/uielement/macrosmenucontroller.hxx index 616470ae2811..ec4568a40e82 100644 --- a/framework/inc/uielement/macrosmenucontroller.hxx +++ b/framework/inc/uielement/macrosmenucontroller.hxx @@ -21,17 +21,9 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_MACROSMENUCONTROLLER_HXX #include -#include -#include -#include -#include #include -#include #include -#include -#include #include -#include namespace framework { diff --git a/framework/inc/uielement/menubarmanager.hxx b/framework/inc/uielement/menubarmanager.hxx index 407814a7640b..4fa42c8e8fd1 100644 --- a/framework/inc/uielement/menubarmanager.hxx +++ b/framework/inc/uielement/menubarmanager.hxx @@ -23,34 +23,26 @@ /** Attention: stl headers must(!) be included at first. Otherwise it can make trouble with solaris headers ... */ +#include #include -#include - #include #include #include #include #include -#include #include #include #include -#include -#include -#include #include #include #include #include #include -#include #include #include -#include #include -#include #include #include #include diff --git a/framework/inc/uielement/menubarwrapper.hxx b/framework/inc/uielement/menubarwrapper.hxx index ee5345d1d450..1b20375b3154 100644 --- a/framework/inc/uielement/menubarwrapper.hxx +++ b/framework/inc/uielement/menubarwrapper.hxx @@ -26,7 +26,6 @@ #include #include -#include #include namespace framework diff --git a/framework/inc/uielement/newmenucontroller.hxx b/framework/inc/uielement/newmenucontroller.hxx index 58a001ed7c11..3fae20bed266 100644 --- a/framework/inc/uielement/newmenucontroller.hxx +++ b/framework/inc/uielement/newmenucontroller.hxx @@ -21,23 +21,13 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_NEWMENUCONTROLLER_HXX #include -#include -#include -#include -#include #include -#include #include #include -#include -#include -#include #include -#include #include -#include namespace framework { diff --git a/framework/inc/uielement/progressbarwrapper.hxx b/framework/inc/uielement/progressbarwrapper.hxx index d2e9a3dca5ef..d38467949f8d 100644 --- a/framework/inc/uielement/progressbarwrapper.hxx +++ b/framework/inc/uielement/progressbarwrapper.hxx @@ -22,10 +22,8 @@ #include -#include #include -#include #include namespace framework{ diff --git a/framework/inc/uielement/rootitemcontainer.hxx b/framework/inc/uielement/rootitemcontainer.hxx index a0238b94579e..a71282b993a0 100644 --- a/framework/inc/uielement/rootitemcontainer.hxx +++ b/framework/inc/uielement/rootitemcontainer.hxx @@ -26,7 +26,6 @@ #include #include #include -#include #include #include diff --git a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx index 42d121971259..89e1bc9598d8 100644 --- a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx +++ b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx @@ -20,11 +20,10 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_SPINFIELDTOOLBARCONTROLLER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_SPINFIELDTOOLBARCONTROLLER_HXX -#include #include #include -#include +#include #include class ToolBox; diff --git a/framework/inc/uielement/statusbarmanager.hxx b/framework/inc/uielement/statusbarmanager.hxx index e2c4966c091b..5fc341ae1588 100644 --- a/framework/inc/uielement/statusbarmanager.hxx +++ b/framework/inc/uielement/statusbarmanager.hxx @@ -20,16 +20,12 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARMANAGER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARMANAGER_HXX -#include - #include #include #include -#include +#include #include -#include -#include #include #include #include diff --git a/framework/inc/uielement/statusbarmerger.hxx b/framework/inc/uielement/statusbarmerger.hxx index 4f61ed7c3ff5..73aa7fd472f0 100644 --- a/framework/inc/uielement/statusbarmerger.hxx +++ b/framework/inc/uielement/statusbarmerger.hxx @@ -20,8 +20,9 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARMERGER_HXX #include +#include #include -#include +#include namespace framework { diff --git a/framework/inc/uielement/statusbarwrapper.hxx b/framework/inc/uielement/statusbarwrapper.hxx index 7be5e5e47bb9..1fba23221b80 100644 --- a/framework/inc/uielement/statusbarwrapper.hxx +++ b/framework/inc/uielement/statusbarwrapper.hxx @@ -21,7 +21,6 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSBARWRAPPER_HXX #include -#include #include #include diff --git a/framework/inc/uielement/statusindicatorinterfacewrapper.hxx b/framework/inc/uielement/statusindicatorinterfacewrapper.hxx index 1037ecb905f4..a587c02b183f 100644 --- a/framework/inc/uielement/statusindicatorinterfacewrapper.hxx +++ b/framework/inc/uielement/statusindicatorinterfacewrapper.hxx @@ -21,15 +21,12 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_STATUSINDICATORINTERFACEWRAPPER_HXX #include -#include #include #include #include #include -#include - namespace framework { diff --git a/framework/inc/uielement/togglebuttontoolbarcontroller.hxx b/framework/inc/uielement/togglebuttontoolbarcontroller.hxx index ae532858d25b..45e953c9e51f 100644 --- a/framework/inc/uielement/togglebuttontoolbarcontroller.hxx +++ b/framework/inc/uielement/togglebuttontoolbarcontroller.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_TOGGLEBUTTONTOOLBARCONTROLLER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOGGLEBUTTONTOOLBARCONTROLLER_HXX -#include #include #include diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index 7219e8770899..f43a3511b85d 100644 --- a/framework/inc/uielement/toolbarmanager.hxx +++ b/framework/inc/uielement/toolbarmanager.hxx @@ -20,12 +20,9 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMANAGER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMANAGER_HXX -#include #include #include -#include -#include #include #include #include @@ -34,8 +31,6 @@ #include #include #include -#include -#include #include #include diff --git a/framework/inc/uielement/toolbarmerger.hxx b/framework/inc/uielement/toolbarmerger.hxx index bb41a2bece60..95ca6cc01458 100644 --- a/framework/inc/uielement/toolbarmerger.hxx +++ b/framework/inc/uielement/toolbarmerger.hxx @@ -20,21 +20,12 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMERGER_HXX #define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMERGER_HXX -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include +#include -#include - +#include #include #include diff --git a/framework/inc/uielement/toolbarmodemenucontroller.hxx b/framework/inc/uielement/toolbarmodemenucontroller.hxx index c341781c4d31..5a6767f93ef0 100644 --- a/framework/inc/uielement/toolbarmodemenucontroller.hxx +++ b/framework/inc/uielement/toolbarmodemenucontroller.hxx @@ -21,20 +21,11 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARMODEMENUCONTROLLER_HXX #include -#include -#include -#include -#include #include #include #include -#include -#include -#include - -#include namespace framework { diff --git a/framework/inc/uielement/toolbarsmenucontroller.hxx b/framework/inc/uielement/toolbarsmenucontroller.hxx index 2ce73d2bc1de..4b919cba2541 100644 --- a/framework/inc/uielement/toolbarsmenucontroller.hxx +++ b/framework/inc/uielement/toolbarsmenucontroller.hxx @@ -21,11 +21,7 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_TOOLBARSMENUCONTROLLER_HXX #include -#include -#include -#include -#include #include #include #include @@ -33,8 +29,6 @@ #include #include -#include -#include #include #include diff --git a/framework/inc/uielement/toolbarwrapper.hxx b/framework/inc/uielement/toolbarwrapper.hxx index 0e8da868a5a4..9b04569a29f8 100644 --- a/framework/inc/uielement/toolbarwrapper.hxx +++ b/framework/inc/uielement/toolbarwrapper.hxx @@ -23,7 +23,6 @@ #include #include -#include #include #include diff --git a/framework/inc/uielement/uicommanddescription.hxx b/framework/inc/uielement/uicommanddescription.hxx index e78dbab99a15..d2eb672cd71d 100644 --- a/framework/inc/uielement/uicommanddescription.hxx +++ b/framework/inc/uielement/uicommanddescription.hxx @@ -21,7 +21,6 @@ #define INCLUDED_FRAMEWORK_INC_UIELEMENT_UICOMMANDDESCRIPTION_HXX #include -#include #include #include #include diff --git a/framework/inc/uifactory/factoryconfiguration.hxx b/framework/inc/uifactory/factoryconfiguration.hxx index dcbf4daae09f..a6a31b5ad311 100644 --- a/framework/inc/uifactory/factoryconfiguration.hxx +++ b/framework/inc/uifactory/factoryconfiguration.hxx @@ -20,14 +20,10 @@ #ifndef INCLUDED_FRAMEWORK_INC_UIFACTORY_FACTORYCONFIGURATION_HXX #define INCLUDED_FRAMEWORK_INC_UIFACTORY_FACTORYCONFIGURATION_HXX -#include - -#include -#include #include #include -#include #include +#include #include #include diff --git a/framework/inc/uifactory/menubarfactory.hxx b/framework/inc/uifactory/menubarfactory.hxx index edc976db3634..cadb67363edd 100644 --- a/framework/inc/uifactory/menubarfactory.hxx +++ b/framework/inc/uifactory/menubarfactory.hxx @@ -25,7 +25,6 @@ #include #include -#include #include #include #include diff --git a/framework/inc/xml/acceleratorconfigurationreader.hxx b/framework/inc/xml/acceleratorconfigurationreader.hxx index 5d122e661d6c..2e54dc3e540d 100644 --- a/framework/inc/xml/acceleratorconfigurationreader.hxx +++ b/framework/inc/xml/acceleratorconfigurationreader.hxx @@ -21,7 +21,6 @@ #define INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONREADER_HXX #include -#include #include diff --git a/framework/inc/xml/acceleratorconfigurationwriter.hxx b/framework/inc/xml/acceleratorconfigurationwriter.hxx index 503c7b04cc72..f66b5f6da143 100644 --- a/framework/inc/xml/acceleratorconfigurationwriter.hxx +++ b/framework/inc/xml/acceleratorconfigurationwriter.hxx @@ -21,7 +21,6 @@ #define INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONWRITER_HXX #include -#include #include #include diff --git a/framework/inc/xml/imagesconfiguration.hxx b/framework/inc/xml/imagesconfiguration.hxx index 1e3ec096e7f7..cadf20e92272 100644 --- a/framework/inc/xml/imagesconfiguration.hxx +++ b/framework/inc/xml/imagesconfiguration.hxx @@ -20,16 +20,11 @@ #ifndef INCLUDED_FRAMEWORK_INC_XML_IMAGESCONFIGURATION_HXX #define INCLUDED_FRAMEWORK_INC_XML_IMAGESCONFIGURATION_HXX -#include -#include - -#include #include #include #include #include -#include namespace framework { diff --git a/framework/inc/xml/imagesdocumenthandler.hxx b/framework/inc/xml/imagesdocumenthandler.hxx index c6d0917840cc..2b356670e9db 100644 --- a/framework/inc/xml/imagesdocumenthandler.hxx +++ b/framework/inc/xml/imagesdocumenthandler.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_XML_IMAGESDOCUMENTHANDLER_HXX #define INCLUDED_FRAMEWORK_INC_XML_IMAGESDOCUMENTHANDLER_HXX -#include - #include #include @@ -29,7 +27,6 @@ #include #include -#include namespace framework{ diff --git a/framework/inc/xml/menudocumenthandler.hxx b/framework/inc/xml/menudocumenthandler.hxx index 8469280cc481..d6079c096757 100644 --- a/framework/inc/xml/menudocumenthandler.hxx +++ b/framework/inc/xml/menudocumenthandler.hxx @@ -29,7 +29,6 @@ #include #include -#include #include namespace framework{ diff --git a/framework/inc/xml/saxnamespacefilter.hxx b/framework/inc/xml/saxnamespacefilter.hxx index 8fcb84534998..5222d7454283 100644 --- a/framework/inc/xml/saxnamespacefilter.hxx +++ b/framework/inc/xml/saxnamespacefilter.hxx @@ -23,7 +23,6 @@ #include #include #include -#include #include #include diff --git a/framework/inc/xml/statusbardocumenthandler.hxx b/framework/inc/xml/statusbardocumenthandler.hxx index 759699aa61ce..78e5fd1babf5 100644 --- a/framework/inc/xml/statusbardocumenthandler.hxx +++ b/framework/inc/xml/statusbardocumenthandler.hxx @@ -28,7 +28,6 @@ #include #include -#include #include namespace framework{ diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx b/framework/inc/xml/toolboxdocumenthandler.hxx index dd13ee53eba5..18f30820f082 100644 --- a/framework/inc/xml/toolboxdocumenthandler.hxx +++ b/framework/inc/xml/toolboxdocumenthandler.hxx @@ -23,13 +23,13 @@ #include #include -#include #include #include -#include #include +#include + namespace framework{ // Hash code function for using in all hash maps of follow implementation. diff --git a/framework/inc/xml/xmlnamespaces.hxx b/framework/inc/xml/xmlnamespaces.hxx index 0343f42ce6c4..a5c4dde0a1e3 100644 --- a/framework/inc/xml/xmlnamespaces.hxx +++ b/framework/inc/xml/xmlnamespaces.hxx @@ -20,11 +20,11 @@ #ifndef INCLUDED_FRAMEWORK_INC_XML_XMLNAMESPACES_HXX #define INCLUDED_FRAMEWORK_INC_XML_XMLNAMESPACES_HXX -#include - #include #include +#include + namespace framework { diff --git a/framework/source/accelerators/keymapping.cxx b/framework/source/accelerators/keymapping.cxx index b1bbe79cc858..5f78d6dd65b0 100644 --- a/framework/source/accelerators/keymapping.cxx +++ b/framework/source/accelerators/keymapping.cxx @@ -20,6 +20,7 @@ #include #include +#include #include namespace framework diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx index 3b4aa1704ed7..4fe082a863ca 100644 --- a/framework/source/accelerators/presethandler.cxx +++ b/framework/source/accelerators/presethandler.cxx @@ -37,6 +37,7 @@ #include #include #include +#include #include static const ::sal_Int32 ID_CORRUPT_UICONFIG_SHARE = 1; diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx index 843a4b1b57d9..c5da1bb44d15 100644 --- a/framework/source/dispatch/closedispatcher.cxx +++ b/framework/source/dispatch/closedispatcher.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -35,6 +36,7 @@ #include #include +#include #include #include #include diff --git a/framework/source/dispatch/dispatchinformationprovider.cxx b/framework/source/dispatch/dispatchinformationprovider.cxx index 90842801c454..12e9c78f158b 100644 --- a/framework/source/dispatch/dispatchinformationprovider.cxx +++ b/framework/source/dispatch/dispatchinformationprovider.cxx @@ -27,6 +27,8 @@ #include +#include + namespace framework{ DispatchInformationProvider::DispatchInformationProvider(const css::uno::Reference< css::uno::XComponentContext >& xContext , diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx index 1138f68e74e3..44c8a9d1049c 100644 --- a/framework/source/dispatch/dispatchprovider.cxx +++ b/framework/source/dispatch/dispatchprovider.cxx @@ -37,6 +37,7 @@ #include #include #include +#include #include #include diff --git a/framework/source/dispatch/isstartmoduledispatch.hxx b/framework/source/dispatch/isstartmoduledispatch.hxx index 491d0affac78..1ae23e7c8704 100644 --- a/framework/source/dispatch/isstartmoduledispatch.hxx +++ b/framework/source/dispatch/isstartmoduledispatch.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_DISPATCH_ISSTARTMODULEDISPATCH_HXX #define INCLUDED_FRAMEWORK_SOURCE_DISPATCH_ISSTARTMODULEDISPATCH_HXX +#include + namespace framework { inline bool isStartModuleDispatch(css::util::URL const & url) { diff --git a/framework/source/dispatch/loaddispatcher.cxx b/framework/source/dispatch/loaddispatcher.cxx index eb6f5e1ae32a..92c15de422ab 100644 --- a/framework/source/dispatch/loaddispatcher.cxx +++ b/framework/source/dispatch/loaddispatcher.cxx @@ -18,6 +18,7 @@ */ #include +#include #include #include diff --git a/framework/source/dispatch/popupmenudispatcher.cxx b/framework/source/dispatch/popupmenudispatcher.cxx index 1ee62b70ae9e..b655aae92b12 100644 --- a/framework/source/dispatch/popupmenudispatcher.cxx +++ b/framework/source/dispatch/popupmenudispatcher.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include diff --git a/framework/source/dispatch/startmoduledispatcher.cxx b/framework/source/dispatch/startmoduledispatcher.cxx index 8d24ff9ae5c0..2d42f643827d 100644 --- a/framework/source/dispatch/startmoduledispatcher.cxx +++ b/framework/source/dispatch/startmoduledispatcher.cxx @@ -27,6 +27,7 @@ #include "isstartmoduledispatch.hxx" #include +#include #include #include #include diff --git a/framework/source/fwe/xml/menuconfiguration.cxx b/framework/source/fwe/xml/menuconfiguration.cxx index b4d8c7164c00..7794dbb140c9 100644 --- a/framework/source/fwe/xml/menuconfiguration.cxx +++ b/framework/source/fwe/xml/menuconfiguration.cxx @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/framework/source/fwe/xml/saxnamespacefilter.cxx b/framework/source/fwe/xml/saxnamespacefilter.cxx index dcb5ca645bea..bb9f8377a404 100644 --- a/framework/source/fwe/xml/saxnamespacefilter.cxx +++ b/framework/source/fwe/xml/saxnamespacefilter.cxx @@ -24,6 +24,8 @@ #include +#include + #include #include diff --git a/framework/source/fwe/xml/statusbarconfiguration.cxx b/framework/source/fwe/xml/statusbarconfiguration.cxx index eff42bd7c85f..732af0e60e35 100644 --- a/framework/source/fwe/xml/statusbarconfiguration.cxx +++ b/framework/source/fwe/xml/statusbarconfiguration.cxx @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/framework/source/fwe/xml/toolboxconfiguration.cxx b/framework/source/fwe/xml/toolboxconfiguration.cxx index 3c4d8c117e21..378c2474ce5f 100644 --- a/framework/source/fwe/xml/toolboxconfiguration.cxx +++ b/framework/source/fwe/xml/toolboxconfiguration.cxx @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/framework/source/fwe/xml/xmlnamespaces.cxx b/framework/source/fwe/xml/xmlnamespaces.cxx index 07f5d22fa9be..dfd79edde6b0 100644 --- a/framework/source/fwe/xml/xmlnamespaces.cxx +++ b/framework/source/fwe/xml/xmlnamespaces.cxx @@ -19,6 +19,8 @@ #include +#include + using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star::uno; diff --git a/framework/source/inc/accelerators/acceleratorcache.hxx b/framework/source/inc/accelerators/acceleratorcache.hxx index 9dfd5374f20c..666d1eb4eb7a 100644 --- a/framework/source/inc/accelerators/acceleratorcache.hxx +++ b/framework/source/inc/accelerators/acceleratorcache.hxx @@ -20,11 +20,11 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_ACCELERATORCACHE_HXX #define INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_ACCELERATORCACHE_HXX -#include #include #include +#include #include // definition diff --git a/framework/source/inc/accelerators/acceleratorconfiguration.hxx b/framework/source/inc/accelerators/acceleratorconfiguration.hxx index 34d3043a21f6..8066a63ff760 100644 --- a/framework/source/inc/accelerators/acceleratorconfiguration.hxx +++ b/framework/source/inc/accelerators/acceleratorconfiguration.hxx @@ -22,18 +22,10 @@ #include #include -#include -#include #include -#include -#include #include -#include -#include -#include -#include #include #include #include @@ -41,7 +33,6 @@ // TODO use XPresetHandler interface instead if available #include -#include #include // definition diff --git a/framework/source/inc/accelerators/keymapping.hxx b/framework/source/inc/accelerators/keymapping.hxx index 108cee42e56d..3b9a8a3e46d5 100644 --- a/framework/source/inc/accelerators/keymapping.hxx +++ b/framework/source/inc/accelerators/keymapping.hxx @@ -20,10 +20,8 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_KEYMAPPING_HXX #define INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_KEYMAPPING_HXX -#include -#include - -#include +#include +#include // definition diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx index 027f4656cab7..05aaf6eb02fc 100644 --- a/framework/source/inc/accelerators/presethandler.hxx +++ b/framework/source/inc/accelerators/presethandler.hxx @@ -21,12 +21,9 @@ #define INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_PRESETHANDLER_HXX #include -#include -#include #include -#include #include #include diff --git a/framework/source/inc/accelerators/storageholder.hxx b/framework/source/inc/accelerators/storageholder.hxx index 5ccb443b18f0..e9be85bd7cb9 100644 --- a/framework/source/inc/accelerators/storageholder.hxx +++ b/framework/source/inc/accelerators/storageholder.hxx @@ -20,11 +20,11 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_STORAGEHOLDER_HXX #define INCLUDED_FRAMEWORK_SOURCE_INC_ACCELERATORS_STORAGEHOLDER_HXX -#include -#include - #include +#include +#include + namespace framework { diff --git a/framework/source/inc/dispatch/dispatchdisabler.hxx b/framework/source/inc/dispatch/dispatchdisabler.hxx index 9ae44931b289..ed64a656ea7a 100644 --- a/framework/source/inc/dispatch/dispatchdisabler.hxx +++ b/framework/source/inc/dispatch/dispatchdisabler.hxx @@ -12,7 +12,6 @@ #include #include -#include #include #include diff --git a/framework/source/inc/dispatch/windowcommanddispatch.hxx b/framework/source/inc/dispatch/windowcommanddispatch.hxx index 5ae5dfc41ef6..55ecb81bb16c 100644 --- a/framework/source/inc/dispatch/windowcommanddispatch.hxx +++ b/framework/source/inc/dispatch/windowcommanddispatch.hxx @@ -22,8 +22,6 @@ #include #include -#include -#include #include #include diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx index 44ba54dfcac6..9f907e49ccfc 100644 --- a/framework/source/inc/loadenv/loadenv.hxx +++ b/framework/source/inc/loadenv/loadenv.hxx @@ -19,14 +19,10 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_LOADENV_HXX #define INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_LOADENV_HXX -#include #include -#include -#include #include #include -#include #include #include #include diff --git a/framework/source/inc/loadenv/loadenvexception.hxx b/framework/source/inc/loadenv/loadenvexception.hxx index a59fc9cb48ef..e4c4eefa63da 100644 --- a/framework/source/inc/loadenv/loadenvexception.hxx +++ b/framework/source/inc/loadenv/loadenvexception.hxx @@ -20,10 +20,7 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_LOADENVEXCEPTION_HXX #define INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_LOADENVEXCEPTION_HXX -#include -#include - -#include +#include namespace framework{ diff --git a/framework/source/inc/loadenv/targethelper.hxx b/framework/source/inc/loadenv/targethelper.hxx index 48b892856063..046cdfeb1bdc 100644 --- a/framework/source/inc/loadenv/targethelper.hxx +++ b/framework/source/inc/loadenv/targethelper.hxx @@ -20,9 +20,7 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_TARGETHELPER_HXX #define INCLUDED_FRAMEWORK_SOURCE_INC_LOADENV_TARGETHELPER_HXX -#include #include -#include namespace framework{ diff --git a/framework/source/inc/pattern/frame.hxx b/framework/source/inc/pattern/frame.hxx index 5a8a6c005d48..963c97d33c9f 100644 --- a/framework/source/inc/pattern/frame.hxx +++ b/framework/source/inc/pattern/frame.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_FRAME_HXX #define INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_FRAME_HXX -#include - #include #include #include diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx index 70956470025d..f64d65a35e12 100644 --- a/framework/source/inc/pattern/window.hxx +++ b/framework/source/inc/pattern/window.hxx @@ -20,15 +20,12 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_WINDOW_HXX #define INCLUDED_FRAMEWORK_SOURCE_INC_PATTERN_WINDOW_HXX -#include - #include #include #include #include #include -#include // namespaces diff --git a/framework/source/jobs/helponstartup.cxx b/framework/source/jobs/helponstartup.cxx index 4233c502d57f..27ed74b7a8f4 100644 --- a/framework/source/jobs/helponstartup.cxx +++ b/framework/source/jobs/helponstartup.cxx @@ -21,6 +21,7 @@ #include #include #include +#include // include others #include diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx index 0ebb44e064a1..740d7eda4c4d 100644 --- a/framework/source/jobs/job.cxx +++ b/framework/source/jobs/job.cxx @@ -18,6 +18,7 @@ */ #include +#include #include #include diff --git a/framework/source/jobs/jobdata.cxx b/framework/source/jobs/jobdata.cxx index fa22465e2b65..d524aa653a1d 100644 --- a/framework/source/jobs/jobdata.cxx +++ b/framework/source/jobs/jobdata.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include #include #include diff --git a/framework/source/layoutmanager/helpers.hxx b/framework/source/layoutmanager/helpers.hxx index 200a2fc43402..6d5b00705746 100644 --- a/framework/source/layoutmanager/helpers.hxx +++ b/framework/source/layoutmanager/helpers.hxx @@ -20,13 +20,8 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_HELPERS_HXX #define INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_HELPERS_HXX -#include -#include - #include -#include #include -#include #include #include #include diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 387749d14a45..3283798bd7e3 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -20,6 +20,7 @@ #include #include +#include #include #include "helpers.hxx" diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx index 377929309fdc..6a1df781dde3 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx @@ -25,23 +25,15 @@ */ #include -#include -#include #include #include #include #include -#include -#include #include -#include #include -#include #include #include -#include -#include #include #include #include diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index cb5b5aaf45db..5c1414f3cbdf 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -19,6 +19,7 @@ #include +#include #include #include @@ -26,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -55,6 +57,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/loadenv/targethelper.cxx b/framework/source/loadenv/targethelper.cxx index 80a096e963c4..aab509b0fc6d 100644 --- a/framework/source/loadenv/targethelper.cxx +++ b/framework/source/loadenv/targethelper.cxx @@ -18,6 +18,7 @@ */ #include +#include namespace framework{ diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 9d8479166411..74b62628ba58 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index c2cf82709ad1..cce5892f0646 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -31,6 +31,7 @@ #include #include #include +#include #include #include diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index e7d6e6fd064e..d116d372b6a6 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -39,6 +39,8 @@ #include #include +#include +#include #include #include diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 9ad1f9ac1a4d..25c8305d94d9 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -20,6 +20,7 @@ #include #include +#include #include #include diff --git a/framework/source/tabwin/tabwindow.cxx b/framework/source/tabwin/tabwindow.cxx index 317d9468bd2a..969fe3578136 100644 --- a/framework/source/tabwin/tabwindow.cxx +++ b/framework/source/tabwin/tabwindow.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include diff --git a/framework/source/tabwin/tabwinfactory.cxx b/framework/source/tabwin/tabwinfactory.cxx index a1d3f8bff5ed..c723f597c631 100644 --- a/framework/source/tabwin/tabwinfactory.cxx +++ b/framework/source/tabwin/tabwinfactory.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include #include diff --git a/framework/source/uiconfiguration/CommandImageResolver.hxx b/framework/source/uiconfiguration/CommandImageResolver.hxx index 094229b3ab9e..fe9a4ed958fe 100644 --- a/framework/source/uiconfiguration/CommandImageResolver.hxx +++ b/framework/source/uiconfiguration/CommandImageResolver.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_VCL_COMMANDICONRESOLVER_HXX #define INCLUDED_VCL_COMMANDICONRESOLVER_HXX -#include #include #include diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx index ed21dd818d5e..a24e3a05c33c 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.cxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx @@ -19,6 +19,7 @@ #include "imagemanagerimpl.hxx" #include +#include #include #include diff --git a/framework/source/uiconfiguration/imagemanagerimpl.hxx b/framework/source/uiconfiguration/imagemanagerimpl.hxx index 13cbfd4c7ec2..fa224e09f3c0 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.hxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.hxx @@ -20,18 +20,10 @@ #ifndef INCLUDED_FRAMEWORK_SOURCE_UICONFIGURATION_IMAGEMANAGERIMPL_HXX #define INCLUDED_FRAMEWORK_SOURCE_UICONFIGURATION_IMAGEMANAGERIMPL_HXX -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include #include +#include #include #include @@ -42,7 +34,6 @@ #include #include -#include #include #include diff --git a/framework/source/uielement/controlmenucontroller.cxx b/framework/source/uielement/controlmenucontroller.cxx index 036aa3f24b55..28bae54e4a1e 100644 --- a/framework/source/uielement/controlmenucontroller.cxx +++ b/framework/source/uielement/controlmenucontroller.cxx @@ -44,6 +44,7 @@ #include #include #include +#include #include diff --git a/framework/source/uielement/edittoolbarcontroller.cxx b/framework/source/uielement/edittoolbarcontroller.cxx index 9d3265bb701b..c095ef746010 100644 --- a/framework/source/uielement/edittoolbarcontroller.cxx +++ b/framework/source/uielement/edittoolbarcontroller.cxx @@ -27,6 +27,7 @@ #include #include #include +#include using namespace ::com::sun::star; using namespace css::uno; diff --git a/framework/source/uielement/fontmenucontroller.cxx b/framework/source/uielement/fontmenucontroller.cxx index d54385931fdd..59ddb0b73ac1 100644 --- a/framework/source/uielement/fontmenucontroller.cxx +++ b/framework/source/uielement/fontmenucontroller.cxx @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx index 7d75282c5983..e32f22076b35 100644 --- a/framework/source/uielement/fontsizemenucontroller.cxx +++ b/framework/source/uielement/fontsizemenucontroller.cxx @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/framework/source/uielement/headermenucontroller.cxx b/framework/source/uielement/headermenucontroller.cxx index f846b0ba429e..991d3a3fe4d2 100644 --- a/framework/source/uielement/headermenucontroller.cxx +++ b/framework/source/uielement/headermenucontroller.cxx @@ -31,6 +31,7 @@ #include #include +#include #include #include #include diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx index 33a59f8e1d97..abaf795b4d38 100644 --- a/framework/source/uielement/langselectionmenucontroller.cxx +++ b/framework/source/uielement/langselectionmenucontroller.cxx @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/framework/source/uielement/macrosmenucontroller.cxx b/framework/source/uielement/macrosmenucontroller.cxx index c1335518f31f..68932229c692 100644 --- a/framework/source/uielement/macrosmenucontroller.cxx +++ b/framework/source/uielement/macrosmenucontroller.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index ea679171f898..2dbb5f9950ce 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -61,6 +61,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/uielement/menubarwrapper.cxx b/framework/source/uielement/menubarwrapper.cxx index 0ea69d657e0f..36e756c6db71 100644 --- a/framework/source/uielement/menubarwrapper.cxx +++ b/framework/source/uielement/menubarwrapper.cxx @@ -32,6 +32,7 @@ #include #include +#include #include using namespace com::sun::star; diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx index c02923a8d762..f2da491d0dce 100644 --- a/framework/source/uielement/newmenucontroller.cxx +++ b/framework/source/uielement/newmenucontroller.cxx @@ -18,6 +18,7 @@ */ #include +#include #include @@ -40,6 +41,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/uielement/resourcemenucontroller.cxx b/framework/source/uielement/resourcemenucontroller.cxx index 18195dfc0071..0594bfea8ddf 100644 --- a/framework/source/uielement/resourcemenucontroller.cxx +++ b/framework/source/uielement/resourcemenucontroller.cxx @@ -11,6 +11,7 @@ #include #include +#include #include #include diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx index 3ad582a464ae..2196dc3c90e5 100644 --- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx +++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index e9dc5ef78745..5fdb7b223bc4 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/uielement/toolbarmerger.cxx b/framework/source/uielement/toolbarmerger.cxx index b2496cf7a2ca..dc4f0509032a 100644 --- a/framework/source/uielement/toolbarmerger.cxx +++ b/framework/source/uielement/toolbarmerger.cxx @@ -20,6 +20,16 @@ #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include + #include namespace framework diff --git a/framework/source/uielement/toolbarmodemenucontroller.cxx b/framework/source/uielement/toolbarmodemenucontroller.cxx index df76e7d0ced7..8e68e19c446c 100644 --- a/framework/source/uielement/toolbarmodemenucontroller.cxx +++ b/framework/source/uielement/toolbarmodemenucontroller.cxx @@ -32,6 +32,7 @@ #include +#include #include #include #include diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx index 13f9a4b803cf..91c81511766e 100644 --- a/framework/source/uielement/toolbarsmenucontroller.cxx +++ b/framework/source/uielement/toolbarsmenucontroller.cxx @@ -21,6 +21,7 @@ #include #include +#include #include #include @@ -51,6 +52,7 @@ #include #include #include +#include #include #include #include diff --git a/framework/source/xml/imagesconfiguration.cxx b/framework/source/xml/imagesconfiguration.cxx index 12fa4bd84aa8..8d70adc1b97a 100644 --- a/framework/source/xml/imagesconfiguration.cxx +++ b/framework/source/xml/imagesconfiguration.cxx @@ -25,6 +25,7 @@ #include #include +#include #include #include #include diff --git a/solenv/clang-format/blacklist b/solenv/clang-format/blacklist index 074b960aeb48..d3dae671bc87 100644 --- a/solenv/clang-format/blacklist +++ b/solenv/clang-format/blacklist @@ -5041,7 +5041,6 @@ framework/inc/dispatch/servicehandler.hxx framework/inc/dispatch/startmoduledispatcher.hxx framework/inc/dispatch/systemexec.hxx framework/inc/fwidllapi.h -framework/inc/fwkdllapi.h framework/inc/general.h framework/inc/helper/dockingareadefaultacceptor.hxx framework/inc/helper/mischelper.hxx