From ae363d50397ac1a7b49f42706109fd83fa809fcc Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 8 Mar 2020 00:16:31 +0100 Subject: tdf#42949 Fix IWYU warnings in extensions/*/*cxx Except for Windows-specific parts Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I36c81bced6c8b1567e52ba3a4a688a963f294bb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90179 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- extensions/IwyuFilter_extensions.yaml | 72 ++++++++++++++++++++++ extensions/qa/update/test_update.cxx | 3 - extensions/source/abpilot/abpfinalpage.cxx | 1 - extensions/source/abpilot/abspilot.cxx | 1 - extensions/source/abpilot/admininvokationimpl.cxx | 1 - extensions/source/abpilot/datasourcehandling.cxx | 4 -- extensions/source/abpilot/fieldmappingimpl.cxx | 3 - extensions/source/abpilot/unodialogabp.cxx | 1 - extensions/source/bibliography/bibbeam.cxx | 4 -- extensions/source/bibliography/bibconfig.cxx | 2 - extensions/source/bibliography/bibcont.cxx | 6 -- extensions/source/bibliography/bibload.cxx | 7 --- extensions/source/bibliography/bibmod.cxx | 7 --- extensions/source/bibliography/bibview.cxx | 3 - extensions/source/bibliography/datman.cxx | 7 +-- .../source/bibliography/formcontrolcontainer.cxx | 1 - extensions/source/bibliography/framectr.cxx | 6 -- extensions/source/bibliography/general.cxx | 6 -- extensions/source/bibliography/toolbar.cxx | 6 +- extensions/source/config/ldap/ldapaccess.cxx | 2 - .../source/config/ldap/ldapuserprofilebe.cxx | 5 -- extensions/source/dbpilots/commonpagesdbp.cxx | 1 - extensions/source/dbpilots/gridwizard.cxx | 1 - extensions/source/dbpilots/groupboxwiz.cxx | 2 - extensions/source/dbpilots/listcombowizard.cxx | 1 - extensions/source/dbpilots/optiongrouplayouter.cxx | 2 - extensions/source/inc/componentmodule.cxx | 6 -- extensions/source/logging/csvformatter.cxx | 3 - extensions/source/logging/filehandler.cxx | 2 - extensions/source/logging/loggerconfig.cxx | 4 -- extensions/source/logging/simpletextformatter.cxx | 3 - extensions/source/propctrlr/browserlistbox.cxx | 3 - extensions/source/propctrlr/browserview.cxx | 2 - extensions/source/propctrlr/cellbindinghelper.cxx | 2 - extensions/source/propctrlr/commoncontrol.cxx | 2 - extensions/source/propctrlr/controlfontdialog.cxx | 1 - .../source/propctrlr/defaultforminspection.cxx | 1 - extensions/source/propctrlr/eformshelper.cxx | 1 - .../source/propctrlr/eformspropertyhandler.cxx | 3 - extensions/source/propctrlr/eventhandler.cxx | 6 -- extensions/source/propctrlr/fontdialog.cxx | 3 - .../source/propctrlr/formcomponenthandler.cxx | 2 - extensions/source/propctrlr/formcontroller.cxx | 1 - extensions/source/propctrlr/formmetadata.cxx | 1 - .../source/propctrlr/genericpropertyhandler.cxx | 6 +- extensions/source/propctrlr/handlerhelper.cxx | 7 --- .../source/propctrlr/inspectorhelpwindow.cxx | 2 - extensions/source/propctrlr/inspectormodelbase.cxx | 1 - extensions/source/propctrlr/listselectiondlg.cxx | 2 - extensions/source/propctrlr/modulepcr.cxx | 2 - extensions/source/propctrlr/newdatatype.cxx | 2 - extensions/source/propctrlr/pcrcommon.cxx | 2 - extensions/source/propctrlr/pcrunodialogs.cxx | 1 - extensions/source/propctrlr/propcontroller.cxx | 10 --- extensions/source/propctrlr/propertycomposer.cxx | 1 - extensions/source/propctrlr/propertyhandler.cxx | 1 - extensions/source/propctrlr/sqlcommanddesign.cxx | 1 - extensions/source/propctrlr/standardcontrol.cxx | 14 +---- .../source/propctrlr/stringrepresentation.cxx | 6 +- extensions/source/propctrlr/submissionhandler.cxx | 3 - extensions/source/propctrlr/taborder.cxx | 2 - extensions/source/propctrlr/usercontrol.cxx | 2 - extensions/source/propctrlr/xsddatatypes.cxx | 1 - .../propctrlr/xsdvalidationpropertyhandler.cxx | 1 - extensions/source/scanner/sane.cxx | 3 - extensions/source/scanner/sanedlg.cxx | 1 - extensions/source/scanner/scanunx.cxx | 2 - extensions/source/scanner/scnserv.cxx | 2 - extensions/source/update/check/updatecheck.cxx | 4 -- .../source/update/check/updatecheckconfig.cxx | 1 - extensions/source/update/check/updatecheckjob.cxx | 1 - extensions/source/update/check/updatehdl.cxx | 6 -- extensions/source/update/check/updateprotocol.cxx | 4 -- extensions/source/update/feed/updatefeed.cxx | 9 +-- extensions/source/update/ui/updatecheckui.cxx | 3 - 75 files changed, 81 insertions(+), 223 deletions(-) (limited to 'extensions') diff --git a/extensions/IwyuFilter_extensions.yaml b/extensions/IwyuFilter_extensions.yaml index 712079f6e7c7..8abfa63ba0ef 100644 --- a/extensions/IwyuFilter_extensions.yaml +++ b/extensions/IwyuFilter_extensions.yaml @@ -4,3 +4,75 @@ blacklist: extensions/source/logging/loghandler.hxx: # Don't propose hxx -> h change in URE libs - cppuhelper/interfacecontainer.hxx + extensions/source/abpilot/admininvokationimpl.cxx: + # Needed for direct member access + - com/sun/star/awt/XWindow.hpp + extensions/source/abpilot/unodialogabp.cxx: + # Needed for direct member access + - com/sun/star/awt/XWindow.hpp + extensions/source/bibliography/bibmod.cxx: + # Needed for STATIC_USTRING macro + extern string magic to work at linking time + - bibprop.hxx + extensions/source/bibliography/framectr.cxx: + # Don't propose hxx -> h change in URE libs + - cppuhelper/interfacecontainer.hxx + # Actually used + - com/sun/star/form/runtime/XFormController.hpp + - com/sun/star/beans/PropertyValue.hpp + extensions/source/config/ldap/ldapaccess.cxx: + # Needed on WIN32 + - o3tl/char16_t2wchar_t.hxx + extensions/source/config/ldap/ldapuserprofilebe.cxx: + # Actually used + - comphelper/scopeguard.hxx + extensions/source/dbpilots/listcombowizard.cxx: + # Actually used + - com/sun/star/container/XNameAccess.hpp + extensions/source/dbpilots/commonpagesdbp.cxx: + # Actually used + - com/sun/star/sdbc/XConnection.hpp + extensions/source/update/check/updatecheck.cxx: + # Needed on WIN32 for WNT_hasInternetConnection + - onlinecheck.hxx + extensions/source/update/check/updatecheckconfig.cxx: + # Needed on WIN32 + - o3tl/char16_t2wchar_t.hxx + extensions/source/propctrlr/editpropertyhandler.cxx: + # Actually used + - com/sun/star/inspection/XObjectInspectorUI.hpp + extensions/source/propctrlr/cellbindinghandler.cxx: + # Actually used + - com/sun/star/inspection/XObjectInspectorUI.hpp + extensions/source/propctrlr/eformspropertyhandler.cxx: + # Actually used + - com/sun/star/inspection/XObjectInspectorUI.hpp + extensions/source/propctrlr/formcomponenthandler.cxx: + # Actually used + - com/sun/star/inspection/XObjectInspectorUI.hpp + extensions/source/propctrlr/formgeometryhandler.cxx: + # Don't propose hxx -> h change in URE libs + - cppuhelper/interfacecontainer.hxx + extensions/source/propctrlr/handlerhelper.cxx: + # Actually used + - com/sun/star/inspection/LineDescriptor.hpp + extensions/source/propctrlr/pcrunodialogs.cxx: + # Actually used + - com/sun/star/awt/XWindow.hpp + extensions/source/propctrlr/sqlcommanddesign.cxx: + # Actually used + - com/sun/star/sdbc/XConnection.hpp + extensions/source/propctrlr/xsddatatypes.cxx: + # Actually used + - com/sun/star/xsd/XDataType.hpp + extensions/source/propctrlr/submissionhandler.cxx: + # Actually used + - com/sun/star/inspection/XObjectInspectorUI.hpp + extensions/source/propctrlr/selectlabeldialog.cxx: + # Actually used + - com/sun/star/beans/XPropertySet.hpp + extensions/source/propctrlr/xsdvalidationhelper.cxx: + # Actually used + - com/sun/star/xforms/XDataTypeRepository.hpp + extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx: + # Actually used + - com/sun/star/inspection/XObjectInspectorUI.hpp diff --git a/extensions/qa/update/test_update.cxx b/extensions/qa/update/test_update.cxx index f8654edbc40e..fe6316245cc4 100644 --- a/extensions/qa/update/test_update.cxx +++ b/extensions/qa/update/test_update.cxx @@ -11,13 +11,10 @@ #include #include -#include #include #include #include -#include -#include #include "../../source/update/check/updatecheck.hxx" #include "../../source/update/check/updateprotocol.hxx" diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx index 388568c12651..802b0d853b52 100644 --- a/extensions/source/abpilot/abpfinalpage.cxx +++ b/extensions/source/abpilot/abpfinalpage.cxx @@ -27,7 +27,6 @@ #include #include #include -#include namespace abp { diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx index 8b5e734142c5..be1f98daf0eb 100644 --- a/extensions/source/abpilot/abspilot.cxx +++ b/extensions/source/abpilot/abspilot.cxx @@ -25,7 +25,6 @@ #include "typeselectionpage.hxx" #include "admininvokationpage.hxx" #include "tableselectionpage.hxx" -#include #include #include #include diff --git a/extensions/source/abpilot/admininvokationimpl.cxx b/extensions/source/abpilot/admininvokationimpl.cxx index 8b7f034ed99c..a151647a1f9e 100644 --- a/extensions/source/abpilot/admininvokationimpl.cxx +++ b/extensions/source/abpilot/admininvokationimpl.cxx @@ -19,7 +19,6 @@ #include "admininvokationimpl.hxx" #include -#include #include #include #include diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index d4cbc5842d37..00ab85a2486a 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -27,8 +27,6 @@ #include #include #include -#include -#include #include #include #include @@ -37,7 +35,6 @@ #include #include #include -#include #include #include @@ -45,7 +42,6 @@ #include #include #include -#include #include #include #include diff --git a/extensions/source/abpilot/fieldmappingimpl.cxx b/extensions/source/abpilot/fieldmappingimpl.cxx index b91101b29b0e..602ffed7f983 100644 --- a/extensions/source/abpilot/fieldmappingimpl.cxx +++ b/extensions/source/abpilot/fieldmappingimpl.cxx @@ -18,15 +18,12 @@ */ #include "fieldmappingimpl.hxx" -#include -#include #include #include #include #include #include #include -#include #include #include #include diff --git a/extensions/source/abpilot/unodialogabp.cxx b/extensions/source/abpilot/unodialogabp.cxx index b8a958c51668..812773213daa 100644 --- a/extensions/source/abpilot/unodialogabp.cxx +++ b/extensions/source/abpilot/unodialogabp.cxx @@ -18,7 +18,6 @@ */ #include "unodialogabp.hxx" -#include #include "abspilot.hxx" #include #include diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx index 28ac37810c46..2b085f6a3de8 100644 --- a/extensions/source/bibliography/bibbeam.cxx +++ b/extensions/source/bibliography/bibbeam.cxx @@ -20,15 +20,11 @@ #include #include #include -#include #include -#include #include #include #include "bibbeam.hxx" -#include "bibview.hxx" -#include "bibresid.hxx" #include "datman.hxx" #include "bibtools.hxx" diff --git a/extensions/source/bibliography/bibconfig.cxx b/extensions/source/bibliography/bibconfig.cxx index 986b9f700eae..a06bc2a6c74d 100644 --- a/extensions/source/bibliography/bibconfig.cxx +++ b/extensions/source/bibliography/bibconfig.cxx @@ -22,8 +22,6 @@ #include "bibconfig.hxx" #include #include -#include -#include #include #include #include diff --git a/extensions/source/bibliography/bibcont.cxx b/extensions/source/bibliography/bibcont.cxx index 8d65c0015b7a..562d720a35e8 100644 --- a/extensions/source/bibliography/bibcont.cxx +++ b/extensions/source/bibliography/bibcont.cxx @@ -18,17 +18,11 @@ */ -#include #include -#include -#include -#include #include "bibconfig.hxx" -#include "datman.hxx" #include "bibcont.hxx" -#include "bibview.hxx" BibShortCutHandler::~BibShortCutHandler() diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 6098e693c0c1..10067f17b23c 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -19,11 +19,8 @@ #include #include -#include #include #include -#include -#include #include #include #include @@ -31,10 +28,8 @@ #include #include #include -#include #include #include -#include #include #include #include @@ -45,10 +40,8 @@ #include #include #include -#include #include #include -#include #include #include "bibresid.hxx" diff --git a/extensions/source/bibliography/bibmod.cxx b/extensions/source/bibliography/bibmod.cxx index 71515a03fe53..3e2cd829c32e 100644 --- a/extensions/source/bibliography/bibmod.cxx +++ b/extensions/source/bibliography/bibmod.cxx @@ -18,16 +18,9 @@ */ #include -#include -#include -#include -#include -#include -#include #include "bibmod.hxx" #include "bibprop.hxx" -#include "bibview.hxx" #include "bibresid.hxx" #include "datman.hxx" #include "bibconfig.hxx" diff --git a/extensions/source/bibliography/bibview.cxx b/extensions/source/bibliography/bibview.cxx index 4f6af6e86415..fbc0f4d2d4ab 100644 --- a/extensions/source/bibliography/bibview.cxx +++ b/extensions/source/bibliography/bibview.cxx @@ -19,8 +19,6 @@ #include -#include "bibcont.hxx" -#include "bibbeam.hxx" #include "general.hxx" #include "bibview.hxx" #include "datman.hxx" @@ -31,7 +29,6 @@ #include #include -#include #include #include diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 06e35ec28d87..bc50ad0fc7af 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -23,16 +23,12 @@ #include #include #include -#include #include #include -#include #include #include #include #include -#include -#include #include #include #include @@ -46,11 +42,10 @@ #include #include #include -#include #include #include -#include #include +#include #include #include "datman.hxx" #include "bibresid.hxx" diff --git a/extensions/source/bibliography/formcontrolcontainer.cxx b/extensions/source/bibliography/formcontrolcontainer.cxx index 29bd584bd662..5e9f7d37aa35 100644 --- a/extensions/source/bibliography/formcontrolcontainer.cxx +++ b/extensions/source/bibliography/formcontrolcontainer.cxx @@ -18,7 +18,6 @@ */ #include "formcontrolcontainer.hxx" -#include #include #include diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 694d2c31a78c..4bd5bdbd2b27 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -17,15 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include #include #include #include "framectr.hxx" #include "datman.hxx" -#include "bibview.hxx" -#include "bibresid.hxx" -#include #include #include "bibconfig.hxx" #include @@ -34,7 +29,6 @@ #include #include #include -#include #include #include #include diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx index d1f6f41421c1..6ca1ca09b647 100644 --- a/extensions/source/bibliography/general.cxx +++ b/extensions/source/bibliography/general.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include @@ -35,19 +34,14 @@ #include "bibresid.hxx" #include "datman.hxx" #include "bibconfig.hxx" -#include "bibprop.hxx" #include #include "bibmod.hxx" -#include "bibview.hxx" -#include "bibtools.hxx" #include #include #include #include #include #include -#include -#include #include using namespace ::com::sun::star; diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index 5ab0303b90a0..8530f1697316 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -24,18 +24,14 @@ #include #include #include "datman.hxx" +#include "toolbar.hxx" #include -#include #include #include #include #include #include #include -#include "bibbeam.hxx" -#include "bibview.hxx" -#include "bibresid.hxx" -#include #include #include "bibtools.hxx" diff --git a/extensions/source/config/ldap/ldapaccess.cxx b/extensions/source/config/ldap/ldapaccess.cxx index c20dc735e850..3e275e898443 100644 --- a/extensions/source/config/ldap/ldapaccess.cxx +++ b/extensions/source/config/ldap/ldapaccess.cxx @@ -21,8 +21,6 @@ #include "ldapaccess.hxx" #include -#include -#include #include #include diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx index a6baa51b0505..e5272711e51d 100644 --- a/extensions/source/config/ldap/ldapuserprofilebe.cxx +++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx @@ -20,11 +20,6 @@ #include "ldapaccess.hxx" #include "ldapuserprofilebe.hxx" -#include -#include -#include -#include -#include #include #include diff --git a/extensions/source/dbpilots/commonpagesdbp.cxx b/extensions/source/dbpilots/commonpagesdbp.cxx index cf45bd1d1921..883f1a78536c 100644 --- a/extensions/source/dbpilots/commonpagesdbp.cxx +++ b/extensions/source/dbpilots/commonpagesdbp.cxx @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx index 3f979332a1da..c78b5d930865 100644 --- a/extensions/source/dbpilots/gridwizard.cxx +++ b/extensions/source/dbpilots/gridwizard.cxx @@ -22,7 +22,6 @@ #include #include "gridwizard.hxx" -#include #include #include #include diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx index 4e723e1685e3..6892536ae6b5 100644 --- a/extensions/source/dbpilots/groupboxwiz.cxx +++ b/extensions/source/dbpilots/groupboxwiz.cxx @@ -20,10 +20,8 @@ #include "groupboxwiz.hxx" #include "commonpagesdbp.hxx" #include -#include #include "optiongrouplayouter.hxx" #include -#include #include #include diff --git a/extensions/source/dbpilots/listcombowizard.cxx b/extensions/source/dbpilots/listcombowizard.cxx index a1440f2468a3..cde03e22356e 100644 --- a/extensions/source/dbpilots/listcombowizard.cxx +++ b/extensions/source/dbpilots/listcombowizard.cxx @@ -28,7 +28,6 @@ #include #include #include -#include #include diff --git a/extensions/source/dbpilots/optiongrouplayouter.cxx b/extensions/source/dbpilots/optiongrouplayouter.cxx index 9b72a92f6938..04cd5a84746b 100644 --- a/extensions/source/dbpilots/optiongrouplayouter.cxx +++ b/extensions/source/dbpilots/optiongrouplayouter.cxx @@ -20,14 +20,12 @@ #include "optiongrouplayouter.hxx" #include #include -#include #include #include #include #include #include #include -#include "controlwizard.hxx" #include "groupboxwiz.hxx" #include "dbptools.hxx" #include diff --git a/extensions/source/inc/componentmodule.cxx b/extensions/source/inc/componentmodule.cxx index 18f589c77ccc..fa55250df2d5 100644 --- a/extensions/source/inc/componentmodule.cxx +++ b/extensions/source/inc/componentmodule.cxx @@ -17,14 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include "componentmodule.hxx" #include -#include -#include -#include -#include -#include #include namespace compmodule diff --git a/extensions/source/logging/csvformatter.cxx b/extensions/source/logging/csvformatter.cxx index 42c51a348701..866833c41fd5 100644 --- a/extensions/source/logging/csvformatter.cxx +++ b/extensions/source/logging/csvformatter.cxx @@ -20,7 +20,6 @@ #include #include -#include #include #include #include @@ -29,10 +28,8 @@ #include #include -#include #include -#include namespace logging { diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx index cd62535ad15c..222146b0b4d2 100644 --- a/extensions/source/logging/filehandler.cxx +++ b/extensions/source/logging/filehandler.cxx @@ -35,9 +35,7 @@ #include #include -#include #include -#include #include diff --git a/extensions/source/logging/loggerconfig.cxx b/extensions/source/logging/loggerconfig.cxx index b882b9d40834..4855380b5000 100644 --- a/extensions/source/logging/loggerconfig.cxx +++ b/extensions/source/logging/loggerconfig.cxx @@ -35,13 +35,9 @@ #include #include -#include #include -#include -#include - namespace logging { diff --git a/extensions/source/logging/simpletextformatter.cxx b/extensions/source/logging/simpletextformatter.cxx index 542f696e5d34..83416e61c7d6 100644 --- a/extensions/source/logging/simpletextformatter.cxx +++ b/extensions/source/logging/simpletextformatter.cxx @@ -28,9 +28,6 @@ #include #include -#include - -#include namespace logging { diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index a012a108adb0..17d9c2081de6 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -18,7 +18,6 @@ */ #include "browserlistbox.hxx" -#include #include "pcrcommon.hxx" #include "proplinelistener.hxx" #include "propcontrolobserver.hxx" @@ -33,8 +32,6 @@ #include #include #include -#include -#include #include #include diff --git a/extensions/source/propctrlr/browserview.cxx b/extensions/source/propctrlr/browserview.cxx index fb4c28d827e5..b599856e123f 100644 --- a/extensions/source/propctrlr/browserview.cxx +++ b/extensions/source/propctrlr/browserview.cxx @@ -20,8 +20,6 @@ #include "browserview.hxx" #include "propertyeditor.hxx" #include -#include -#include #include namespace pcr diff --git a/extensions/source/propctrlr/cellbindinghelper.cxx b/extensions/source/propctrlr/cellbindinghelper.cxx index 77e83b969c31..5207a9621fc8 100644 --- a/extensions/source/propctrlr/cellbindinghelper.cxx +++ b/extensions/source/propctrlr/cellbindinghelper.cxx @@ -23,9 +23,7 @@ #include #include #include -#include #include -#include #include #include #include diff --git a/extensions/source/propctrlr/commoncontrol.cxx b/extensions/source/propctrlr/commoncontrol.cxx index e4c9eac2cd85..6eced5b222f3 100644 --- a/extensions/source/propctrlr/commoncontrol.cxx +++ b/extensions/source/propctrlr/commoncontrol.cxx @@ -18,8 +18,6 @@ */ #include "commoncontrol.hxx" -#include "pcrcommon.hxx" -#include #include diff --git a/extensions/source/propctrlr/controlfontdialog.cxx b/extensions/source/propctrlr/controlfontdialog.cxx index 6a597aa2f2eb..f6a44d357caf 100644 --- a/extensions/source/propctrlr/controlfontdialog.cxx +++ b/extensions/source/propctrlr/controlfontdialog.cxx @@ -21,7 +21,6 @@ #include #include #include "controlfontdialog.hxx" -#include #include #include "fontdialog.hxx" #include "formstrings.hxx" diff --git a/extensions/source/propctrlr/defaultforminspection.cxx b/extensions/source/propctrlr/defaultforminspection.cxx index 841961788543..45570c757892 100644 --- a/extensions/source/propctrlr/defaultforminspection.cxx +++ b/extensions/source/propctrlr/defaultforminspection.cxx @@ -23,7 +23,6 @@ #include #include #include "modulepcr.hxx" -#include #include "formmetadata.hxx" #include diff --git a/extensions/source/propctrlr/eformshelper.cxx b/extensions/source/propctrlr/eformshelper.cxx index 62f16f437728..81c7b77d9a63 100644 --- a/extensions/source/propctrlr/eformshelper.cxx +++ b/extensions/source/propctrlr/eformshelper.cxx @@ -31,7 +31,6 @@ #include #include #include -#include #include #include diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx index d26b6fa57a1f..7b11d1191929 100644 --- a/extensions/source/propctrlr/eformspropertyhandler.cxx +++ b/extensions/source/propctrlr/eformspropertyhandler.cxx @@ -22,7 +22,6 @@ #include "formmetadata.hxx" #include "pcrservices.hxx" #include -#include "formbrowsertools.hxx" #include "eformshelper.hxx" #include "handlerhelper.hxx" @@ -34,8 +33,6 @@ #include #include -#include - extern "C" void createRegistryInfo_EFormsPropertyHandler() { diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index a62487ecff4c..26d745b4ddc7 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -28,7 +28,6 @@ #include "handlerhelper.hxx" #include "modulepcr.hxx" #include "pcrcommon.hxx" -#include "pcrstrings.hxx" #include "propertycontrolextender.hxx" #include @@ -59,17 +58,12 @@ #include #include #include -#include -#include -#include #include -#include #include #include #include #include -#include extern "C" void createRegistryInfo_EventHandler() { diff --git a/extensions/source/propctrlr/fontdialog.cxx b/extensions/source/propctrlr/fontdialog.cxx index 093b466dc6bd..995f0b94f25f 100644 --- a/extensions/source/propctrlr/fontdialog.cxx +++ b/extensions/source/propctrlr/fontdialog.cxx @@ -17,10 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include "fontdialog.hxx" -#include -#include "modulepcr.hxx" #include #include #include diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index d394bf94abcb..70aaff29210d 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -39,7 +39,6 @@ #include "usercontrol.hxx" #include -#include #include #include #include @@ -100,7 +99,6 @@ #include #include #include -#include #include #include diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx index 52be550ffe7f..196e6b0c2fa5 100644 --- a/extensions/source/propctrlr/formcontroller.cxx +++ b/extensions/source/propctrlr/formcontroller.cxx @@ -23,7 +23,6 @@ #include "pcrservices.hxx" #include "formstrings.hxx" #include "defaultforminspection.hxx" -#include #include #include diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx index 4936214d13d7..3fd9e92b3a0f 100644 --- a/extensions/source/propctrlr/formmetadata.cxx +++ b/extensions/source/propctrlr/formmetadata.cxx @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/extensions/source/propctrlr/genericpropertyhandler.cxx b/extensions/source/propctrlr/genericpropertyhandler.cxx index 0f5dd6c3f5e9..2f6bee221ed6 100644 --- a/extensions/source/propctrlr/genericpropertyhandler.cxx +++ b/extensions/source/propctrlr/genericpropertyhandler.cxx @@ -17,11 +17,11 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include "enumrepresentation.hxx" #include "genericpropertyhandler.hxx" -#include "formmetadata.hxx" #include "handlerhelper.hxx" +#include "modulepcr.hxx" #include "pcrservices.hxx" -#include "propertyhandler.hxx" #include #include @@ -38,12 +38,12 @@ #include #include #include +#include #include #include #include #include -#include extern "C" void createRegistryInfo_GenericPropertyHandler() { diff --git a/extensions/source/propctrlr/handlerhelper.cxx b/extensions/source/propctrlr/handlerhelper.cxx index 148ac41e8a52..f06913275571 100644 --- a/extensions/source/propctrlr/handlerhelper.cxx +++ b/extensions/source/propctrlr/handlerhelper.cxx @@ -18,16 +18,11 @@ */ #include "handlerhelper.hxx" -#include #include #include "modulepcr.hxx" -#include "enumrepresentation.hxx" -#include "formmetadata.hxx" #include -#include #include -#include #include #include #include @@ -35,11 +30,9 @@ #include #include #include -#include #include #include #include -#include #include diff --git a/extensions/source/propctrlr/inspectorhelpwindow.cxx b/extensions/source/propctrlr/inspectorhelpwindow.cxx index 2ade8a57a3f5..a57c4ffedbaf 100644 --- a/extensions/source/propctrlr/inspectorhelpwindow.cxx +++ b/extensions/source/propctrlr/inspectorhelpwindow.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include "inspectorhelpwindow.hxx" -#include "modulepcr.hxx" -#include namespace pcr diff --git a/extensions/source/propctrlr/inspectormodelbase.cxx b/extensions/source/propctrlr/inspectormodelbase.cxx index f66847387499..1fdc8a0b5dfc 100644 --- a/extensions/source/propctrlr/inspectormodelbase.cxx +++ b/extensions/source/propctrlr/inspectormodelbase.cxx @@ -19,7 +19,6 @@ #include #include "inspectormodelbase.hxx" -#include "pcrcommon.hxx" #include diff --git a/extensions/source/propctrlr/listselectiondlg.cxx b/extensions/source/propctrlr/listselectiondlg.cxx index 4cd7d610fafb..3dec4d7a79d3 100644 --- a/extensions/source/propctrlr/listselectiondlg.cxx +++ b/extensions/source/propctrlr/listselectiondlg.cxx @@ -19,8 +19,6 @@ #include "listselectiondlg.hxx" -#include "modulepcr.hxx" -#include #include "formstrings.hxx" #include #include diff --git a/extensions/source/propctrlr/modulepcr.cxx b/extensions/source/propctrlr/modulepcr.cxx index 88b6d4d97152..37d119e8e824 100644 --- a/extensions/source/propctrlr/modulepcr.cxx +++ b/extensions/source/propctrlr/modulepcr.cxx @@ -20,8 +20,6 @@ #include "modulepcr.hxx" #include -#include -#include namespace pcr { diff --git a/extensions/source/propctrlr/newdatatype.cxx b/extensions/source/propctrlr/newdatatype.cxx index 1b0f4e1c0947..f9bd1df24873 100644 --- a/extensions/source/propctrlr/newdatatype.cxx +++ b/extensions/source/propctrlr/newdatatype.cxx @@ -18,8 +18,6 @@ */ #include "newdatatype.hxx" -#include "modulepcr.hxx" -#include namespace pcr { diff --git a/extensions/source/propctrlr/pcrcommon.cxx b/extensions/source/propctrlr/pcrcommon.cxx index ff65c025f43f..90924d7fc7e4 100644 --- a/extensions/source/propctrlr/pcrcommon.cxx +++ b/extensions/source/propctrlr/pcrcommon.cxx @@ -18,8 +18,6 @@ */ #include "pcrcommon.hxx" -#include "modulepcr.hxx" -#include #include #include diff --git a/extensions/source/propctrlr/pcrunodialogs.cxx b/extensions/source/propctrlr/pcrunodialogs.cxx index 7b2f456839f2..738e4d933304 100644 --- a/extensions/source/propctrlr/pcrunodialogs.cxx +++ b/extensions/source/propctrlr/pcrunodialogs.cxx @@ -22,7 +22,6 @@ #include #include #include -#include #include #include "modulepcr.hxx" #include "pcrservices.hxx" diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx index 45fb345502a4..1e00a9e33283 100644 --- a/extensions/source/propctrlr/propcontroller.cxx +++ b/extensions/source/propctrlr/propcontroller.cxx @@ -19,7 +19,6 @@ #include "pcrservices.hxx" #include "propcontroller.hxx" -#include "pcrstrings.hxx" #include "handlerhelper.hxx" #include "standardcontrol.hxx" #include "linedescriptor.hxx" @@ -27,14 +26,12 @@ #include "propertyeditor.hxx" #include "modulepcr.hxx" #include "formstrings.hxx" -#include "formmetadata.hxx" #include "formbrowsertools.hxx" #include "propertycomposer.hxx" #include #include #include -#include #include #include #include @@ -42,22 +39,15 @@ #include #include #include -#include #include -#include -#include #include #include #include #include #include -#include -#include #include #include -#include -#include #include // !!! outside the namespace !!! diff --git a/extensions/source/propctrlr/propertycomposer.cxx b/extensions/source/propctrlr/propertycomposer.cxx index b1997bd79c53..c5b5d32e341c 100644 --- a/extensions/source/propctrlr/propertycomposer.cxx +++ b/extensions/source/propctrlr/propertycomposer.cxx @@ -27,7 +27,6 @@ #include #include -#include namespace pcr diff --git a/extensions/source/propctrlr/propertyhandler.cxx b/extensions/source/propctrlr/propertyhandler.cxx index b4f846f10f0f..e30c38020444 100644 --- a/extensions/source/propctrlr/propertyhandler.cxx +++ b/extensions/source/propctrlr/propertyhandler.cxx @@ -24,7 +24,6 @@ #include "handlerhelper.hxx" #include "formstrings.hxx" -#include #include #include #include diff --git a/extensions/source/propctrlr/sqlcommanddesign.cxx b/extensions/source/propctrlr/sqlcommanddesign.cxx index 0158e92160f7..2e54bb642819 100644 --- a/extensions/source/propctrlr/sqlcommanddesign.cxx +++ b/extensions/source/propctrlr/sqlcommanddesign.cxx @@ -20,7 +20,6 @@ #include "sqlcommanddesign.hxx" #include "formstrings.hxx" #include -#include #include "modulepcr.hxx" #include "unourl.hxx" diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 52f8d665d4ce..a5e732497512 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -21,6 +21,7 @@ #include "pcrcommon.hxx" #include +#include #include #include #include @@ -29,26 +30,15 @@ #include #include #include -#include -#include #include // ugly dependencies for the OColorControl #include -#include -#include -#include -#include -#include +#include #include -#include -#include -#include -#include -#include #include #include diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index c16565028355..69a0f6e59fec 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -19,10 +19,9 @@ #include -#include -#include #include #include +#include #include #include #include @@ -30,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -39,13 +37,11 @@ #include #include #include -#include #include #include "pcrservices.hxx" #include #include "modulepcr.hxx" -#include #include // component helper namespace diff --git a/extensions/source/propctrlr/submissionhandler.cxx b/extensions/source/propctrlr/submissionhandler.cxx index 03452bd0638d..2d338e966f05 100644 --- a/extensions/source/propctrlr/submissionhandler.cxx +++ b/extensions/source/propctrlr/submissionhandler.cxx @@ -26,14 +26,11 @@ #include "handlerhelper.hxx" #include -#include -#include #include #include #include #include #include -#include extern "C" void createRegistryInfo_SubmissionPropertyHandler() diff --git a/extensions/source/propctrlr/taborder.cxx b/extensions/source/propctrlr/taborder.cxx index 0c7610f23116..d41018a833b3 100644 --- a/extensions/source/propctrlr/taborder.cxx +++ b/extensions/source/propctrlr/taborder.cxx @@ -19,8 +19,6 @@ #include "taborder.hxx" -#include "modulepcr.hxx" -#include #include #include "formstrings.hxx" #include diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx index b2d2a5384310..cab4402c77d8 100644 --- a/extensions/source/propctrlr/usercontrol.cxx +++ b/extensions/source/propctrlr/usercontrol.cxx @@ -21,13 +21,11 @@ #include #include -#include #include #include #include #include #include -#include #include "modulepcr.hxx" #include diff --git a/extensions/source/propctrlr/xsddatatypes.cxx b/extensions/source/propctrlr/xsddatatypes.cxx index 27a101d9999b..fdaea8e21fc8 100644 --- a/extensions/source/propctrlr/xsddatatypes.cxx +++ b/extensions/source/propctrlr/xsddatatypes.cxx @@ -18,7 +18,6 @@ */ #include "xsddatatypes.hxx" -#include "formstrings.hxx" #include #include diff --git a/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx b/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx index 0ead90425b61..7d00e32486d2 100644 --- a/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx +++ b/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx @@ -46,7 +46,6 @@ #include #include -#include #include diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx index c58cf1e15c7c..0127db4a0926 100644 --- a/extensions/source/scanner/sane.cxx +++ b/extensions/source/scanner/sane.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include @@ -29,9 +28,7 @@ #include "sane.hxx" #include #include -#include #include -#include #include #include #include diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index 2a5ad9ea23f3..5b94119b5484 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include "sanedlg.hxx" diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx index fd37c7a39ac1..6a81f5fbf6e3 100644 --- a/extensions/source/scanner/scanunx.cxx +++ b/extensions/source/scanner/scanunx.cxx @@ -22,8 +22,6 @@ #include #include #include -#include -#include #include #include diff --git a/extensions/source/scanner/scnserv.cxx b/extensions/source/scanner/scnserv.cxx index 37fe176b35a1..5c5cca36b0d2 100644 --- a/extensions/source/scanner/scnserv.cxx +++ b/extensions/source/scanner/scnserv.cxx @@ -18,10 +18,8 @@ */ #include -#include #include "scanner.hxx" -#include #include using namespace com::sun::star::registry; diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 6b25564725b4..ad7251da2c3d 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -33,11 +32,8 @@ #include #include -#include - #include #include -#include #include #include #include diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index b7a8393806b7..546325e74861 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -19,7 +19,6 @@ #include "updatecheckconfig.hxx" #include -#include #include #include #include diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx index 7a91c1c7bf03..3656a214ff02 100644 --- a/extensions/source/update/check/updatecheckjob.cxx +++ b/extensions/source/update/check/updatecheckjob.cxx @@ -28,7 +28,6 @@ #include #include #include -#include #include #include diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx index 23b78f30bf55..a857ea8af76c 100644 --- a/extensions/source/update/check/updatehdl.cxx +++ b/extensions/source/update/check/updatehdl.cxx @@ -22,15 +22,11 @@ #include #include -#include #include #include -#include #include -#include - #include #include #include @@ -64,8 +60,6 @@ #include #include #include -#include -#include #define COMMAND_CLOSE "close" diff --git a/extensions/source/update/check/updateprotocol.cxx b/extensions/source/update/check/updateprotocol.cxx index 0b083657b5bc..369489fed399 100644 --- a/extensions/source/update/check/updateprotocol.cxx +++ b/extensions/source/update/check/updateprotocol.cxx @@ -30,12 +30,8 @@ #include -#include -#include -#include #include #include -#include namespace container = css::container ; namespace deployment = css::deployment ; diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index be7dcef13d85..e6762d635410 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -26,26 +26,20 @@ #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 @@ -55,7 +49,6 @@ #include #include #include -#include #include #include diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 8c7c311a84c4..bb923cbd21ed 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -18,13 +18,10 @@ */ -#include - #include #include #include #include -#include #include #include #include -- cgit