From 7bdbb50a507df4c419f68d2ae453dd482267f168 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 31 Oct 2020 14:32:20 +0100 Subject: [PATCH] tdf#42949 Fix new IWYU warnings in directories c* Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Iac1e7802dbe1efa01c2befdd10406231788d4fc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105315 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- canvas/inc/base/canvasbase.hxx | 1 - canvas/inc/base/integerbitmapbase.hxx | 1 - canvas/inc/vclwrapper.hxx | 1 + .../source/cairo/cairo_canvashelper_text.cxx | 1 - canvas/source/cairo/cairo_textlayout.cxx | 9 ----- canvas/source/cairo/cairo_textlayout.hxx | 1 - .../source/opengl/ogl_spritedevicehelper.cxx | 2 - canvas/source/vcl/canvashelper.cxx | 1 - canvas/workben/canvasdemo.cxx | 5 +-- chart2/IwyuFilter_chart2.yaml | 29 ++++++++++++++ chart2/qa/extras/chart2geometry.cxx | 3 -- .../DataSeriesPointWrapper.cxx | 1 - .../dialogs/dlg_CreationWizard_UNO.cxx | 2 - .../dialogs/tp_3D_SceneIllumination.cxx | 1 - .../drawinglayer/DrawViewWrapper.cxx | 2 - .../controller/inc/dlg_CreationWizard_UNO.hxx | 2 - .../controller/main/ChartController.cxx | 2 - .../main/ChartController_Window.cxx | 2 - .../controller/main/DrawCommandDispatch.cxx | 1 - .../controller/main/PositionAndSizeHelper.cxx | 1 - .../controller/sidebar/ChartLinePanel.cxx | 4 -- .../controller/sidebar/ChartTypePanel.cxx | 1 - chart2/source/inc/OPropertySet.hxx | 1 - .../inc/RegressionCalculationHelper.hxx | 3 +- chart2/source/model/filter/XMLFilter.cxx | 3 -- chart2/source/tools/AxisHelper.cxx | 1 - chart2/source/tools/ChartViewHelper.cxx | 1 - chart2/source/tools/DataSourceHelper.cxx | 2 - chart2/source/tools/ImplOPropertySet.cxx | 1 - chart2/source/view/axes/VPolarAngleAxis.cxx | 1 - chart2/source/view/axes/VPolarRadiusAxis.cxx | 1 - .../view/charttypes/CandleStickChart.cxx | 1 - .../source/view/charttypes/VSeriesPlotter.cxx | 2 - .../view/inc/PlottingPositionHelper.hxx | 1 - .../source/view/main/LabelPositionHelper.cxx | 1 + chart2/source/view/main/PlotterBase.cxx | 1 - chart2/source/view/main/VDataSeries.cxx | 1 - comphelper/IwyuFilter_comphelper.yaml | 12 ++++++ comphelper/qa/unit/test_guards.cxx | 1 - comphelper/qa/unit/types_test.cxx | 1 - comphelper/source/container/enumerablemap.cxx | 2 +- comphelper/source/misc/configuration.cxx | 1 - comphelper/source/misc/documentinfo.cxx | 1 - comphelper/source/misc/hash.cxx | 2 +- comphelper/source/misc/lok.cxx | 1 - .../source/misc/officerestartmanager.hxx | 1 + comphelper/source/misc/threadpool.cxx | 3 -- comphelper/source/property/opropertybag.cxx | 1 - .../property/propertystatecontainer.cxx | 1 - comphelper/source/xml/attributelist.cxx | 2 - configmgr/IwyuFilter_configmgr.yaml | 40 +++++++++++++++++++ configmgr/source/configurationprovider.cxx | 3 -- configmgr/source/configurationprovider.hxx | 1 - configmgr/source/defaultprovider.hxx | 1 - configmgr/source/setnode.cxx | 1 - connectivity/IwyuFilter_connectivity.yaml | 9 +++++ connectivity/inc/ParameterCont.hxx | 1 - connectivity/inc/TIndex.hxx | 1 - connectivity/inc/TIndexColumns.hxx | 1 - connectivity/inc/TKey.hxx | 1 - connectivity/inc/TKeyColumns.hxx | 1 - connectivity/inc/sdbcx/VKeyColumn.hxx | 1 - .../FDatabaseMetaDataResultSet.cxx | 2 - .../drivers/mysqlc/mysqlc_statement.cxx | 2 - .../drivers/postgresql/pq_connection.cxx | 5 --- connectivity/source/inc/hsqldb/HDriver.hxx | 1 - connectivity/source/inc/java/sql/Driver.hxx | 1 - connectivity/source/inc/mysql/YDriver.hxx | 1 - connectivity/source/inc/odbc/OBoundParam.hxx | 1 + .../source/manager/mdrivermanager.hxx | 2 - cppu/qa/cppumaker/test_cppumaker.cxx | 1 - cppu/qa/test_any.cxx | 1 - cppu/source/typelib/typelib.cxx | 1 - cppu/source/uno/loadmodule.cxx | 1 - cppuhelper/IwyuFilter_cppuhelper.yaml | 11 +++++ cppuhelper/source/exc_thrower.cxx | 3 -- cppuhelper/source/supportsservice.cxx | 1 - cui/IwyuFilter_cui.yaml | 12 ++++++ cui/qa/unit/cui-dialogs-test.cxx | 3 -- cui/qa/unit/cui-dialogs-test_2.cxx | 3 -- cui/qa/unit/cui-dialogs-test_3.cxx | 3 -- cui/qa/unit/cui-dialogs-test_4.cxx | 3 -- cui/source/customize/macropg.cxx | 4 -- cui/source/dialogs/AdditionsDialog.cxx | 3 ++ cui/source/dialogs/QrCodeGenDialog.cxx | 1 - .../dialogs/SignatureLineDialogBase.cxx | 4 -- cui/source/dialogs/about.cxx | 1 - cui/source/dialogs/insdlg.cxx | 1 - cui/source/dialogs/pastedlg.cxx | 2 +- cui/source/dialogs/tipofthedaydlg.cxx | 2 +- cui/source/dialogs/toolbarmodedlg.cxx | 2 +- cui/source/factory/dlgfact.hxx | 2 - cui/source/inc/AdditionsDialog.hxx | 14 +------ cui/source/inc/about.hxx | 1 - cui/source/inc/autocdlg.hxx | 1 - cui/source/inc/page.hxx | 1 + cui/source/inc/scriptdlg.hxx | 1 - cui/source/options/optinet2.cxx | 1 - cui/source/tabpages/chardlg.cxx | 1 - 99 files changed, 130 insertions(+), 154 deletions(-) diff --git a/canvas/inc/base/canvasbase.hxx b/canvas/inc/base/canvasbase.hxx index b0f244e5951c..24737f784d59 100644 --- a/canvas/inc/base/canvasbase.hxx +++ b/canvas/inc/base/canvasbase.hxx @@ -22,7 +22,6 @@ #include #include #include -#include #include #include diff --git a/canvas/inc/base/integerbitmapbase.hxx b/canvas/inc/base/integerbitmapbase.hxx index d485233d45c7..43c4401c5ac5 100644 --- a/canvas/inc/base/integerbitmapbase.hxx +++ b/canvas/inc/base/integerbitmapbase.hxx @@ -21,7 +21,6 @@ #include #include -#include namespace canvas diff --git a/canvas/inc/vclwrapper.hxx b/canvas/inc/vclwrapper.hxx index a77b2757f8bf..3c1dfbf2d686 100644 --- a/canvas/inc/vclwrapper.hxx +++ b/canvas/inc/vclwrapper.hxx @@ -20,6 +20,7 @@ #pragma once #include +#include namespace canvas { diff --git a/canvas/source/cairo/cairo_canvashelper_text.cxx b/canvas/source/cairo/cairo_canvashelper_text.cxx index 912e3b678ca8..4ee68f94de46 100644 --- a/canvas/source/cairo/cairo_canvashelper_text.cxx +++ b/canvas/source/cairo/cairo_canvashelper_text.cxx @@ -30,7 +30,6 @@ #include #include -#include #include "cairo_canvasfont.hxx" #include "cairo_canvashelper.hxx" diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx index b7235b30d3c1..6f5d114aa99c 100644 --- a/canvas/source/cairo/cairo_textlayout.cxx +++ b/canvas/source/cairo/cairo_textlayout.cxx @@ -30,20 +30,11 @@ #include #include #include -#include #include #include "cairo_textlayout.hxx" -#include - -#if defined CAIRO_HAS_FT_FONT -# include -#else -# error Native API needed. -#endif - using namespace ::cairo; using namespace ::com::sun::star; diff --git a/canvas/source/cairo/cairo_textlayout.hxx b/canvas/source/cairo/cairo_textlayout.hxx index b2e5c72d0b53..b4159e737e48 100644 --- a/canvas/source/cairo/cairo_textlayout.hxx +++ b/canvas/source/cairo/cairo_textlayout.hxx @@ -29,7 +29,6 @@ #include -#include #include "cairo_canvasfont.hxx" diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx index bc4651f54157..bcca03d0bd45 100644 --- a/canvas/source/opengl/ogl_spritedevicehelper.cxx +++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx @@ -28,8 +28,6 @@ #include "ogl_canvascustomsprite.hxx" #include "ogl_texturecache.hxx" -#include - using namespace ::com::sun::star; static void initContext() diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx index e56a273a1fe1..8930f8fccb80 100644 --- a/canvas/source/vcl/canvashelper.cxx +++ b/canvas/source/vcl/canvashelper.cxx @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx index 4854a07d1ace..e19e1f45f2af 100644 --- a/canvas/workben/canvasdemo.cxx +++ b/canvas/workben/canvasdemo.cxx @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -35,15 +34,13 @@ #include #include #include -#include +#include #include #include #include #include #include #include -#include -#include #include using namespace ::com::sun::star; diff --git a/chart2/IwyuFilter_chart2.yaml b/chart2/IwyuFilter_chart2.yaml index 5381da1e9cd5..e18c8e3851cb 100644 --- a/chart2/IwyuFilter_chart2.yaml +++ b/chart2/IwyuFilter_chart2.yaml @@ -456,6 +456,8 @@ excludelist: chart2/source/view/axes/VAxisBase.cxx: # Needed for direct member access - com/sun/star/drawing/XShapes.hpp + # Needed for implicit dtor + - com/sun/star/chart2/XAxis.hpp chart2/source/view/axes/VAxisProperties.cxx: # Actually used - com/sun/star/chart2/XAxis.hpp @@ -464,9 +466,15 @@ excludelist: chart2/source/view/axes/VCartesianCoordinateSystem.cxx: # Actually used - com/sun/star/chart2/XCoordinateSystem.hpp + chart2/source/view/axes/VPolarAngleAxis.cxx: + # Needed for implicit dtor + - com/sun/star/chart2/XAxis.hpp chart2/source/view/axes/VPolarCoordinateSystem.cxx: # Actually used - com/sun/star/chart2/XCoordinateSystem.hpp + chart2/source/view/axes/VCartesianAxis.cxx: + # Needed for implicit dtor + - com/sun/star/chart2/XAxis.hpp chart2/source/view/axes/VCartesianGrid.hxx: # base class has to be a complete type - com/sun/star/beans/XPropertySet.hpp @@ -486,6 +494,8 @@ excludelist: # Actually used - com/sun/star/beans/XPropertySet.hpp - com/sun/star/drawing/XShape.hpp + # Actually used + - rtl/math.hxx chart2/source/view/main/VButton.cxx: # Actually used - com/sun/star/lang/XMultiServiceFactory.hpp @@ -591,6 +601,9 @@ excludelist: chart2/source/controller/accessibility/AccessibleChartView.cxx: # Actually used - com/sun/star/view/XSelectionSupplier.hpp + chart2/source/controller/chartapiwrapper/AxisWrapper.cxx: + # Needed for implicit dtor + - com/sun/star/frame/XModel.hpp chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx: # Needed for rtl::math::round - rtl/math.hxx @@ -607,6 +620,9 @@ excludelist: chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx: # Actually used - vector + chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx: + # Needed for implicit dtor + - com/sun/star/chart2/XAxis.hpp chart2/source/controller/dialogs/ChartTypeDialogController.cxx: # Actually used - com/sun/star/chart2/XChartDocument.hpp @@ -623,6 +639,9 @@ excludelist: chart2/source/controller/dialogs/dlg_DataEditor.cxx: # Needed for direct member access - com/sun/star/awt/XWindow.hpp + chart2/source/controller/dialogs/dlg_View3D.cxx: + # Needed for implicit dtor + - com/sun/star/chart2/XDiagram.hpp chart2/source/controller/dialogs/RangeSelectionHelper.cxx: # Actually used - com/sun/star/chart2/XChartDocument.hpp @@ -638,6 +657,12 @@ excludelist: chart2/source/controller/dialogs/tp_ChartType.cxx: # Actually used - com/sun/star/chart2/XChartDocument.hpp + chart2/source/controller/dialogs/tp_DataSource.cxx: + # Needed for implicit dtor + - com/sun/star/frame/XModel.hpp + chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx: + # Needed for rtl::math::round + - rtl/math.hxx chart2/source/controller/itemsetwrapper/ItemConverter.cxx: # Actually used - com/sun/star/beans/XPropertySet.hpp @@ -660,6 +685,8 @@ excludelist: chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx: # Actually used - com/sun/star/beans/XPropertySet.hpp + # Needed for rtl::math::round + - rtl/math.hxx chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx: # Needed for rtl::math::round - rtl/math.hxx @@ -713,6 +740,8 @@ excludelist: chart2/source/controller/main/PositionAndSizeHelper.cxx: # Actually used - com/sun/star/awt/Rectangle.hpp + # Needed for implicit dtor + - com/sun/star/chart2/XDiagram.hpp chart2/source/controller/main/StatusBarCommandDispatch.cxx: # Actually used - com/sun/star/view/XSelectionSupplier.hpp diff --git a/chart2/qa/extras/chart2geometry.cxx b/chart2/qa/extras/chart2geometry.cxx index 08e909162766..6ded1a5e76ab 100644 --- a/chart2/qa/extras/chart2geometry.cxx +++ b/chart2/qa/extras/chart2geometry.cxx @@ -13,11 +13,8 @@ #include #include -#include -#include #include #include -#include #include #include diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx index 6701c1061b01..b2c819a87874 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx @@ -48,7 +48,6 @@ #include #include #include -#include #include #include #include diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx index 5411277f8f0b..1b8c50d385f1 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx @@ -27,9 +27,7 @@ #include #include #include -#include #include -#include #include namespace chart diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx index 3ee495b7f84d..07ce43a171b0 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx @@ -18,7 +18,6 @@ */ #include "tp_3D_SceneIllumination.hxx" -#include #include #include diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx index 4d9598430d08..9d448b4119fe 100644 --- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx +++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx @@ -34,9 +34,7 @@ #include #include -#include #include -#include #include #include diff --git a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx index fb829f7be853..645d4bbec094 100644 --- a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx +++ b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx @@ -30,8 +30,6 @@ #include "dlg_CreationWizard.hxx" #include -#include -#include namespace com::sun::star::awt { class XWindow; } namespace com::sun::star::frame { class XModel; } diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 5e280c94b7c0..552316bdd5eb 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -20,8 +20,6 @@ #include #include -#include - #include #include #include diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 51de2bd9ee92..c8c46ba7541f 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -72,7 +72,6 @@ #include #include -#include #include #include #include @@ -87,7 +86,6 @@ #include #include -#include #include #include #include diff --git a/chart2/source/controller/main/DrawCommandDispatch.cxx b/chart2/source/controller/main/DrawCommandDispatch.cxx index dd690aa1cf1c..00f5b2c51f73 100644 --- a/chart2/source/controller/main/DrawCommandDispatch.cxx +++ b/chart2/source/controller/main/DrawCommandDispatch.cxx @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/chart2/source/controller/main/PositionAndSizeHelper.cxx b/chart2/source/controller/main/PositionAndSizeHelper.cxx index 84e4325e3ef2..63ddb818fd0d 100644 --- a/chart2/source/controller/main/PositionAndSizeHelper.cxx +++ b/chart2/source/controller/main/PositionAndSizeHelper.cxx @@ -19,7 +19,6 @@ #include #include -#include #include #include #include diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx index cb0b04d07741..3ae57de73739 100644 --- a/chart2/source/controller/sidebar/ChartLinePanel.cxx +++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx @@ -9,15 +9,11 @@ #include "ChartLinePanel.hxx" -#include #include -#include #include #include -#include #include -#include #include #include diff --git a/chart2/source/controller/sidebar/ChartTypePanel.cxx b/chart2/source/controller/sidebar/ChartTypePanel.cxx index 2fbe55d3eb10..74a8e7bd0983 100644 --- a/chart2/source/controller/sidebar/ChartTypePanel.cxx +++ b/chart2/source/controller/sidebar/ChartTypePanel.cxx @@ -22,7 +22,6 @@ #include #include -#include #include #include #include diff --git a/chart2/source/inc/OPropertySet.hxx b/chart2/source/inc/OPropertySet.hxx index d2368ecc3ab8..aa0bf918c42c 100644 --- a/chart2/source/inc/OPropertySet.hxx +++ b/chart2/source/inc/OPropertySet.hxx @@ -26,7 +26,6 @@ #include #include #include -#include "charttoolsdllapi.hxx" #include diff --git a/chart2/source/inc/RegressionCalculationHelper.hxx b/chart2/source/inc/RegressionCalculationHelper.hxx index 3e4bf485e335..0b9600e99dc5 100644 --- a/chart2/source/inc/RegressionCalculationHelper.hxx +++ b/chart2/source/inc/RegressionCalculationHelper.hxx @@ -20,8 +20,7 @@ #include -#include - +#include #include #include diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx index 76f88027a0e2..22291fac852e 100644 --- a/chart2/source/model/filter/XMLFilter.cxx +++ b/chart2/source/model/filter/XMLFilter.cxx @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -35,7 +34,6 @@ #include #include #include -#include #include #include #include @@ -51,7 +49,6 @@ #include #include #include -#include using namespace ::com::sun::star; diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx index a68fbc8dfa5e..aefa18b248b2 100644 --- a/chart2/source/tools/AxisHelper.cxx +++ b/chart2/source/tools/AxisHelper.cxx @@ -41,7 +41,6 @@ #include #include -#include #include #include diff --git a/chart2/source/tools/ChartViewHelper.cxx b/chart2/source/tools/ChartViewHelper.cxx index a341f8894f14..f11ea7421c5a 100644 --- a/chart2/source/tools/ChartViewHelper.cxx +++ b/chart2/source/tools/ChartViewHelper.cxx @@ -21,7 +21,6 @@ #include #include -#include #include #include #include diff --git a/chart2/source/tools/DataSourceHelper.cxx b/chart2/source/tools/DataSourceHelper.cxx index cb74e60eaa54..3d6bb54592fe 100644 --- a/chart2/source/tools/DataSourceHelper.cxx +++ b/chart2/source/tools/DataSourceHelper.cxx @@ -36,8 +36,6 @@ #include #include -#include - namespace chart { using namespace ::com::sun::star; diff --git a/chart2/source/tools/ImplOPropertySet.cxx b/chart2/source/tools/ImplOPropertySet.cxx index 7d09a329fc33..537adef9d94d 100644 --- a/chart2/source/tools/ImplOPropertySet.cxx +++ b/chart2/source/tools/ImplOPropertySet.cxx @@ -21,7 +21,6 @@ #include #include -#include #include #include diff --git a/chart2/source/view/axes/VPolarAngleAxis.cxx b/chart2/source/view/axes/VPolarAngleAxis.cxx index 1a93888b7428..70d9ac85fbb4 100644 --- a/chart2/source/view/axes/VPolarAngleAxis.cxx +++ b/chart2/source/view/axes/VPolarAngleAxis.cxx @@ -34,7 +34,6 @@ namespace chart { using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; -using namespace ::rtl::math; VPolarAngleAxis::VPolarAngleAxis( const AxisProperties& rAxisProperties , const uno::Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier diff --git a/chart2/source/view/axes/VPolarRadiusAxis.cxx b/chart2/source/view/axes/VPolarRadiusAxis.cxx index 6bf0b0f47d3b..08f30252fc91 100644 --- a/chart2/source/view/axes/VPolarRadiusAxis.cxx +++ b/chart2/source/view/axes/VPolarRadiusAxis.cxx @@ -27,7 +27,6 @@ namespace chart { using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; -using namespace ::rtl::math; VPolarRadiusAxis::VPolarRadiusAxis( const AxisProperties& rAxisProperties , const uno::Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier diff --git a/chart2/source/view/charttypes/CandleStickChart.cxx b/chart2/source/view/charttypes/CandleStickChart.cxx index e13c24bf1f27..9c89d5450bb4 100644 --- a/chart2/source/view/charttypes/CandleStickChart.cxx +++ b/chart2/source/view/charttypes/CandleStickChart.cxx @@ -32,7 +32,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::rtl::math; using namespace ::com::sun::star::chart2; CandleStickChart::CandleStickChart( const uno::Reference& xChartTypeModel diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index bda5509c4e4b..d40d52e7bc7a 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -60,7 +60,6 @@ #include #include #include -#include #include #include #include @@ -69,7 +68,6 @@ #include #include -#include #include #include diff --git a/chart2/source/view/inc/PlottingPositionHelper.hxx b/chart2/source/view/inc/PlottingPositionHelper.hxx index 763b7205209e..0962868b0f31 100644 --- a/chart2/source/view/inc/PlottingPositionHelper.hxx +++ b/chart2/source/view/inc/PlottingPositionHelper.hxx @@ -21,7 +21,6 @@ #include #include -#include #include #include #include diff --git a/chart2/source/view/main/LabelPositionHelper.cxx b/chart2/source/view/main/LabelPositionHelper.cxx index 811bf7ad148b..35d19ebc5ab5 100644 --- a/chart2/source/view/main/LabelPositionHelper.cxx +++ b/chart2/source/view/main/LabelPositionHelper.cxx @@ -25,6 +25,7 @@ #include #include #include +#include namespace chart { diff --git a/chart2/source/view/main/PlotterBase.cxx b/chart2/source/view/main/PlotterBase.cxx index 6479668c67ef..9de0a8133b4e 100644 --- a/chart2/source/view/main/PlotterBase.cxx +++ b/chart2/source/view/main/PlotterBase.cxx @@ -20,7 +20,6 @@ #include #include #include -#include #include namespace chart diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index e2f85b71fb83..22e23d27dc80 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -26,7 +26,6 @@ #include #include -#include #include #include #include diff --git a/comphelper/IwyuFilter_comphelper.yaml b/comphelper/IwyuFilter_comphelper.yaml index 6d6ec0903716..3e22a187b7e5 100644 --- a/comphelper/IwyuFilter_comphelper.yaml +++ b/comphelper/IwyuFilter_comphelper.yaml @@ -19,6 +19,12 @@ excludelist: # Base class has to be a complete type - com/sun/star/lang/XServiceInfo.hpp - com/sun/star/util/XOfficeInstallationDirectories.hpp + comphelper/qa/unit/test_guards.cxx: + # Keep for system-cppunit; see also commit 456d61ec526e250fd1af894e109d5914ac9c9e6e + - unotest/bootstrapfixturebase.hxx + comphelper/source/container/embeddedobjectcontainer.cxx: + # Keep for OSL_DEBUG_LEVEL > 1 + - com/sun/star/container/XNameAccess.hpp comphelper/source/container/IndexedPropertyValuesContainer.cxx: # Needed for typedef - com/sun/star/beans/PropertyValue.hpp @@ -37,6 +43,9 @@ excludelist: comphelper/source/misc/fileurl.cxx: # Needed for linker visibility - comphelper/fileurl.hxx + comphelper/source/misc/AccessibleImplementationHelper.cxx: + # Needed for template + - com/sun/star/uno/Sequence.hxx comphelper/source/misc/getexpandeduri.cxx: # Needed for linker visibility - comphelper/getexpandeduri.hxx @@ -46,6 +55,9 @@ excludelist: comphelper/source/misc/hash.cxx: # OSL_BIGENDIAN is being checked - osl/endian.h + comphelper/source/misc/instancelocker.cxx: + # Needed for template + - com/sun/star/embed/XActionsApproval.hpp include/comphelper/interaction.hxx: # Stop warnings about include/ - com/sun/star/task/XInteractionApprove.hpp diff --git a/comphelper/qa/unit/test_guards.cxx b/comphelper/qa/unit/test_guards.cxx index 1d2b5f209daa..02daffaa521b 100644 --- a/comphelper/qa/unit/test_guards.cxx +++ b/comphelper/qa/unit/test_guards.cxx @@ -7,7 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include #include #include diff --git a/comphelper/qa/unit/types_test.cxx b/comphelper/qa/unit/types_test.cxx index 89ad6cae870f..a0f136a5f49f 100644 --- a/comphelper/qa/unit/types_test.cxx +++ b/comphelper/qa/unit/types_test.cxx @@ -13,7 +13,6 @@ #include #include #include -#include using namespace css; diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx index 2add21d262b6..1730d2dc2668 100644 --- a/comphelper/source/container/enumerablemap.cxx +++ b/comphelper/source/container/enumerablemap.cxx @@ -34,9 +34,9 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/comphelper/source/misc/configuration.cxx b/comphelper/source/misc/configuration.cxx index 24657ab011f5..a4041de4bb54 100644 --- a/comphelper/source/misc/configuration.cxx +++ b/comphelper/source/misc/configuration.cxx @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx index 044a6d0103fd..60901fefeefe 100644 --- a/comphelper/source/misc/documentinfo.cxx +++ b/comphelper/source/misc/documentinfo.cxx @@ -29,7 +29,6 @@ #include -#include #include namespace comphelper { diff --git a/comphelper/source/misc/hash.cxx b/comphelper/source/misc/hash.cxx index 67b79c1af8a0..50fd8cd0f961 100644 --- a/comphelper/source/misc/hash.cxx +++ b/comphelper/source/misc/hash.cxx @@ -9,7 +9,7 @@ #include -#include +#include #include #include #include diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index c0e0726b7440..82e5c7aed4f9 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -12,7 +12,6 @@ #include #include -#include namespace comphelper::LibreOfficeKit { diff --git a/comphelper/source/misc/officerestartmanager.hxx b/comphelper/source/misc/officerestartmanager.hxx index c473bfae4bec..8b3658a8e892 100644 --- a/comphelper/source/misc/officerestartmanager.hxx +++ b/comphelper/source/misc/officerestartmanager.hxx @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx index 044362eef055..3c335e7f4761 100644 --- a/comphelper/source/misc/threadpool.cxx +++ b/comphelper/source/misc/threadpool.cxx @@ -28,9 +28,6 @@ #if defined(_WIN32) #define WIN32_LEAN_AND_MEAN #include -#elif defined UNX -#include -#include #endif namespace comphelper { diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx index 5f5a1289ba31..f906374064af 100644 --- a/comphelper/source/property/opropertybag.cxx +++ b/comphelper/source/property/opropertybag.cxx @@ -30,7 +30,6 @@ #include #include -#include namespace com::sun::star::uno { class XComponentContext; } diff --git a/comphelper/source/property/propertystatecontainer.cxx b/comphelper/source/property/propertystatecontainer.cxx index e83d4752a57e..35598b262a68 100644 --- a/comphelper/source/property/propertystatecontainer.cxx +++ b/comphelper/source/property/propertystatecontainer.cxx @@ -18,7 +18,6 @@ */ #include -#include namespace comphelper diff --git a/comphelper/source/xml/attributelist.cxx b/comphelper/source/xml/attributelist.cxx index fa918d01da29..d99139c852ea 100644 --- a/comphelper/source/xml/attributelist.cxx +++ b/comphelper/source/xml/attributelist.cxx @@ -19,8 +19,6 @@ #include -#include - using namespace osl; using namespace com::sun::star; diff --git a/configmgr/IwyuFilter_configmgr.yaml b/configmgr/IwyuFilter_configmgr.yaml index 9a74a25f8a92..3a54ce434a21 100644 --- a/configmgr/IwyuFilter_configmgr.yaml +++ b/configmgr/IwyuFilter_configmgr.yaml @@ -13,3 +13,43 @@ excludelist: configmgr/source/dconf.cxx: # Generic wrapper for dconf - dconf/dconf.h + configmgr/source/broadcaster.cxx: + # Needed for template + - com/sun/star/beans/XPropertiesChangeListener.hpp + - com/sun/star/beans/XPropertyChangeListener.hpp + - com/sun/star/container/XContainerListener.hpp + - com/sun/star/lang/XEventListener.hpp + - com/sun/star/util/XChangesListener.hpp + configmgr/source/childaccess.cxx: + # Actually used + - vector + - com/sun/star/uno/XInterface.hpp + configmgr/source/configurationprovider.cxx: + # Actually used + - com/sun/star/uno/XInterface.hpp + configmgr/source/components.cxx: + # Actually used + - com/sun/star/uno/XComponentContext.hpp + configmgr/source/access.cxx: + # Actually used + - vector + - com/sun/star/beans/XPropertiesChangeListener.hpp + - com/sun/star/beans/XPropertyChangeListener.hpp + - com/sun/star/beans/XVetoableChangeListener.hpp + - com/sun/star/container/XContainerListener.hpp + - com/sun/star/lang/XEventListener.hpp + - com/sun/star/uno/XInterface.hpp + configmgr/source/parsemanager.cxx: + # Actually used + - set + configmgr/source/partial.cxx: + # Actually used + - set + configmgr/source/rootaccess.cxx: + # Actually used + - vector + - com/sun/star/util/ElementChange.hpp + - com/sun/star/util/XChangesListener.hpp + configmgr/source/xcdparser.cxx: + # Actually used + - set diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index 2d9e1189dec0..d74019e6b05c 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -42,8 +41,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/configmgr/source/configurationprovider.hxx b/configmgr/source/configurationprovider.hxx index 278a82bd3bfb..96d40b895e61 100644 --- a/configmgr/source/configurationprovider.hxx +++ b/configmgr/source/configurationprovider.hxx @@ -22,7 +22,6 @@ #include #include -#include namespace com::sun::star { namespace uno { diff --git a/configmgr/source/defaultprovider.hxx b/configmgr/source/defaultprovider.hxx index a07098a65bc0..7c5af3100cdf 100644 --- a/configmgr/source/defaultprovider.hxx +++ b/configmgr/source/defaultprovider.hxx @@ -21,7 +21,6 @@ #include -#include #include namespace configmgr::default_provider { diff --git a/configmgr/source/setnode.cxx b/configmgr/source/setnode.cxx index cd3a437e0357..2ba4c50be681 100644 --- a/configmgr/source/setnode.cxx +++ b/configmgr/source/setnode.cxx @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/connectivity/IwyuFilter_connectivity.yaml b/connectivity/IwyuFilter_connectivity.yaml index 70d68ab79554..94f4f1d6c1ff 100644 --- a/connectivity/IwyuFilter_connectivity.yaml +++ b/connectivity/IwyuFilter_connectivity.yaml @@ -18,6 +18,9 @@ excludelist: connectivity/source/commontools/dbexception.cxx: # Actually used - com/sun/star/sdb/SQLErrorEvent.hpp + connectivity/source/commontools/dbtools2.cxx: + # Actually used + - com/sun/star/sdbc/XDataSource.hpp connectivity/source/commontools/paramwrapper.cxx: # Actually used - com/sun/star/sdbc/XParameters.hpp @@ -45,6 +48,9 @@ excludelist: connectivity/source/drivers/file/FCatalog.cxx: # Actually used - com/sun/star/sdbc/XRow.hpp + connectivity/source/drivers/file/FNumericFunctions.cxx: + # Needed for rtl::math::round + - rtl/math.hxx connectivity/source/drivers/hsqldb/HStorageAccess.cxx: # Needed for HSQLDB_DBG - accesslog.hxx @@ -65,6 +71,9 @@ excludelist: connectivity/source/drivers/mork/MDriver.cxx: # Actually used - com/sun/star/uno/XComponentContext.hpp + connectivity/source/drivers/mork/MColumnAlias.cxx: + # Needed for indirect dtor + - com/sun/star/container/XHierarchicalNameAccess.hpp connectivity/source/drivers/mysql_jdbc/YDriver.cxx: # Actually used - com/sun/star/uno/XComponentContext.hpp diff --git a/connectivity/inc/ParameterCont.hxx b/connectivity/inc/ParameterCont.hxx index 848cec78e4e0..9e479db92064 100644 --- a/connectivity/inc/ParameterCont.hxx +++ b/connectivity/inc/ParameterCont.hxx @@ -20,7 +20,6 @@ #include #include -#include namespace dbtools { diff --git a/connectivity/inc/TIndex.hxx b/connectivity/inc/TIndex.hxx index 1ac2f5c4f9f2..7523b787e4b0 100644 --- a/connectivity/inc/TIndex.hxx +++ b/connectivity/inc/TIndex.hxx @@ -19,7 +19,6 @@ #pragma once -#include #include "sdbcx/VIndex.hxx" namespace connectivity diff --git a/connectivity/inc/TIndexColumns.hxx b/connectivity/inc/TIndexColumns.hxx index aa5687afc212..6d02c445eda2 100644 --- a/connectivity/inc/TIndexColumns.hxx +++ b/connectivity/inc/TIndexColumns.hxx @@ -20,7 +20,6 @@ #pragma once #include -#include namespace connectivity { diff --git a/connectivity/inc/TKey.hxx b/connectivity/inc/TKey.hxx index a4d1d92ff2cc..d7c762e308e1 100644 --- a/connectivity/inc/TKey.hxx +++ b/connectivity/inc/TKey.hxx @@ -19,7 +19,6 @@ #pragma once -#include #include "sdbcx/VKey.hxx" namespace connectivity diff --git a/connectivity/inc/TKeyColumns.hxx b/connectivity/inc/TKeyColumns.hxx index c40cd1cd7a61..19510e4965e9 100644 --- a/connectivity/inc/TKeyColumns.hxx +++ b/connectivity/inc/TKeyColumns.hxx @@ -20,7 +20,6 @@ #pragma once #include -#include namespace connectivity { diff --git a/connectivity/inc/sdbcx/VKeyColumn.hxx b/connectivity/inc/sdbcx/VKeyColumn.hxx index 2a1b50403982..5adf3e0aab9d 100644 --- a/connectivity/inc/sdbcx/VKeyColumn.hxx +++ b/connectivity/inc/sdbcx/VKeyColumn.hxx @@ -19,7 +19,6 @@ #pragma once -#include #include namespace connectivity::sdbcx diff --git a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx index ffc0feb75a8b..24be4d72a6ce 100644 --- a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx +++ b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx @@ -25,8 +25,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/connectivity/source/drivers/mysqlc/mysqlc_statement.cxx b/connectivity/source/drivers/mysqlc/mysqlc_statement.cxx index 0082f96b61d1..5e07982773ce 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_statement.cxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_statement.cxx @@ -18,7 +18,6 @@ */ #include -#include #include "mysqlc_connection.hxx" #include "mysqlc_propertyids.hxx" @@ -27,7 +26,6 @@ #include "mysqlc_general.hxx" #include -#include #include using namespace connectivity::mysqlc; diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx index 31dbe09d85d6..d9889dea8091 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.cxx +++ b/connectivity/source/drivers/postgresql/pq_connection.cxx @@ -35,7 +35,6 @@ ************************************************************************/ #include -#include #include #include @@ -49,12 +48,8 @@ #include "pq_xusers.hxx" #include -#include #include -#include -#include -#include #include #include diff --git a/connectivity/source/inc/hsqldb/HDriver.hxx b/connectivity/source/inc/hsqldb/HDriver.hxx index 58f626901706..9727d38cb3b0 100644 --- a/connectivity/source/inc/hsqldb/HDriver.hxx +++ b/connectivity/source/inc/hsqldb/HDriver.hxx @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/connectivity/source/inc/java/sql/Driver.hxx b/connectivity/source/inc/java/sql/Driver.hxx index 3deba1b9887d..2fd49b252bdc 100644 --- a/connectivity/source/inc/java/sql/Driver.hxx +++ b/connectivity/source/inc/java/sql/Driver.hxx @@ -22,7 +22,6 @@ #include #include -#include #include #include diff --git a/connectivity/source/inc/mysql/YDriver.hxx b/connectivity/source/inc/mysql/YDriver.hxx index f4065dcc7fb0..545e9dde05fa 100644 --- a/connectivity/source/inc/mysql/YDriver.hxx +++ b/connectivity/source/inc/mysql/YDriver.hxx @@ -25,7 +25,6 @@ #include #include -#include #include #include #include diff --git a/connectivity/source/inc/odbc/OBoundParam.hxx b/connectivity/source/inc/odbc/OBoundParam.hxx index 1e05a61b0193..5765aad01523 100644 --- a/connectivity/source/inc/odbc/OBoundParam.hxx +++ b/connectivity/source/inc/odbc/OBoundParam.hxx @@ -22,6 +22,7 @@ #include #include #include +#include namespace connectivity::odbc { diff --git a/connectivity/source/manager/mdrivermanager.hxx b/connectivity/source/manager/mdrivermanager.hxx index 09ccd11e05c3..ec72df370dd4 100644 --- a/connectivity/source/manager/mdrivermanager.hxx +++ b/connectivity/source/manager/mdrivermanager.hxx @@ -26,7 +26,6 @@ #include #include -#include #include #include #include @@ -34,7 +33,6 @@ #include #include #include -#include #include namespace drivermanager diff --git a/cppu/qa/cppumaker/test_cppumaker.cxx b/cppu/qa/cppumaker/test_cppumaker.cxx index 78097e26e854..e1c3a414d4b3 100644 --- a/cppu/qa/cppumaker/test_cppumaker.cxx +++ b/cppu/qa/cppumaker/test_cppumaker.cxx @@ -360,7 +360,6 @@ #include #include #include -#include #include #include diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx index 7dfed7a714de..f5fbc0c9dbc8 100644 --- a/cppu/qa/test_any.cxx +++ b/cppu/qa/test_any.cxx @@ -46,7 +46,6 @@ #include #include #include -#include #include #include diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index 0a84ee4cb708..5d0d0b84f573 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include diff --git a/cppu/source/uno/loadmodule.cxx b/cppu/source/uno/loadmodule.cxx index f3ba0ba21616..f2811a5958d4 100644 --- a/cppu/source/uno/loadmodule.cxx +++ b/cppu/source/uno/loadmodule.cxx @@ -26,7 +26,6 @@ #include #include #include -#include #include #include diff --git a/cppuhelper/IwyuFilter_cppuhelper.yaml b/cppuhelper/IwyuFilter_cppuhelper.yaml index c3f92ce5e093..cbae100fb19d 100644 --- a/cppuhelper/IwyuFilter_cppuhelper.yaml +++ b/cppuhelper/IwyuFilter_cppuhelper.yaml @@ -22,6 +22,10 @@ excludelist: cppuhelper/source/exc_thrower.cxx: # No hpp -> hdl switch - cppuhelper/detail/XExceptionThrower.hpp + # Needed for mobile versions + - sal/log.hxx + - com/sun/star/ucb/InteractiveAugmentedIOException.hpp + - com/sun/star/ucb/NameClashException.hpp # Needed for cppu::throwException - cppuhelper/exc_hlp.hxx cppuhelper/source/findsofficepath.c: @@ -46,3 +50,10 @@ excludelist: cppuhelper/source/tdmgr.cxx: # Needed to inherit linker visibility from function declaration - cppuhelper/bootstrap.hxx + cppuhelper/source/typemanager.cxx: + # Actually used + - com/sun/star/reflection/TypeDescriptionSearchDepth.hpp + - com/sun/star/uno/TypeClass.hpp + cppuhelper/source/servicemanager.cxx: + # Actually used + - com/sun/star/uno/XComponentContext.hpp diff --git a/cppuhelper/source/exc_thrower.cxx b/cppuhelper/source/exc_thrower.cxx index 7c40d12db16e..ab7ed83f53e1 100644 --- a/cppuhelper/source/exc_thrower.cxx +++ b/cppuhelper/source/exc_thrower.cxx @@ -17,11 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include - #include #include -#include #include #include #include diff --git a/cppuhelper/source/supportsservice.cxx b/cppuhelper/source/supportsservice.cxx index eea82602a2ef..f7f267ea0fd5 100644 --- a/cppuhelper/source/supportsservice.cxx +++ b/cppuhelper/source/supportsservice.cxx @@ -16,7 +16,6 @@ #include #include #include -#include bool cppu::supportsService( css::lang::XServiceInfo * implementation, OUString const & name) diff --git a/cui/IwyuFilter_cui.yaml b/cui/IwyuFilter_cui.yaml index c2f63e05282c..69ecc5b3d9de 100644 --- a/cui/IwyuFilter_cui.yaml +++ b/cui/IwyuFilter_cui.yaml @@ -13,6 +13,9 @@ excludelist: cui/source/dialogs/DiagramDialog.cxx: # Needed for direct member access - com/sun/star/beans/PropertyValue.hpp + cui/source/dialogs/pastedlg.cxx: + # Needed for direct member access + - com/sun/star/beans/PropertyValue.hpp cui/source/dialogs/SignSignatureLineDialog.cxx: # Actually used - com/sun/star/graphic/XGraphic.hpp @@ -21,6 +24,15 @@ excludelist: # Actually used - com/sun/star/linguistic2/XMeaning.hpp - com/sun/star/linguistic2/XThesaurus.hpp + cui/source/dialogs/tipofthedaydlg.cxx: + # Needed for direct member access + - com/sun/star/beans/PropertyValue.hpp + cui/source/dialogs/toolbarmodedlg.cxx: + # Needed for direct member access + - com/sun/star/beans/PropertyValue.hpp + cui/source/tabpages/numfmt.cxx: + # Actually used + - com/sun/star/frame/XModel.hpp cui/source/customize/cfg.cxx: # Actually used - com/sun/star/ui/dialogs/XFilePicker3.hpp diff --git a/cui/qa/unit/cui-dialogs-test.cxx b/cui/qa/unit/cui-dialogs-test.cxx index fe8091a8e33e..f580644e37c9 100644 --- a/cui/qa/unit/cui-dialogs-test.cxx +++ b/cui/qa/unit/cui-dialogs-test.cxx @@ -9,9 +9,6 @@ #include #include -#include -#include -#include #include #include #include diff --git a/cui/qa/unit/cui-dialogs-test_2.cxx b/cui/qa/unit/cui-dialogs-test_2.cxx index f9c040636e6c..af1b27fc5b78 100644 --- a/cui/qa/unit/cui-dialogs-test_2.cxx +++ b/cui/qa/unit/cui-dialogs-test_2.cxx @@ -9,9 +9,6 @@ #include #include -#include -#include -#include #include using namespace ::com::sun::star; diff --git a/cui/qa/unit/cui-dialogs-test_3.cxx b/cui/qa/unit/cui-dialogs-test_3.cxx index d13c756785e0..e369fd11fd39 100644 --- a/cui/qa/unit/cui-dialogs-test_3.cxx +++ b/cui/qa/unit/cui-dialogs-test_3.cxx @@ -9,9 +9,6 @@ #include #include -#include -#include -#include #include using namespace ::com::sun::star; diff --git a/cui/qa/unit/cui-dialogs-test_4.cxx b/cui/qa/unit/cui-dialogs-test_4.cxx index 27449310b7fb..7183811b98f1 100644 --- a/cui/qa/unit/cui-dialogs-test_4.cxx +++ b/cui/qa/unit/cui-dialogs-test_4.cxx @@ -9,9 +9,6 @@ #include #include -#include -#include -#include #include using namespace ::com::sun::star; diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx index 19860e19b2d3..b6e4694dddac 100644 --- a/cui/source/customize/macropg.cxx +++ b/cui/source/customize/macropg.cxx @@ -32,10 +32,6 @@ #include #include -#include -#include -#include - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/cui/source/dialogs/AdditionsDialog.cxx b/cui/source/dialogs/AdditionsDialog.cxx index ab91e47cd21b..383afdaa62dc 100644 --- a/cui/source/dialogs/AdditionsDialog.cxx +++ b/cui/source/dialogs/AdditionsDialog.cxx @@ -10,6 +10,8 @@ #include #include +#include +#include #include @@ -35,6 +37,7 @@ #include #include +#include #include #include #include diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx index 0c33d35d6aa7..28bbfabcf845 100644 --- a/cui/source/dialogs/QrCodeGenDialog.cxx +++ b/cui/source/dialogs/QrCodeGenDialog.cxx @@ -42,7 +42,6 @@ #include #include #include -#include #include #include diff --git a/cui/source/dialogs/SignatureLineDialogBase.cxx b/cui/source/dialogs/SignatureLineDialogBase.cxx index 50214308fe10..d824e85e8e3e 100644 --- a/cui/source/dialogs/SignatureLineDialogBase.cxx +++ b/cui/source/dialogs/SignatureLineDialogBase.cxx @@ -11,11 +11,7 @@ #include -#include #include -#include -#include -#include using namespace css; using namespace css::uno; diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index ff7173763e11..a4701019c938 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -20,7 +20,6 @@ #include #include //osl_getProcessLocale -#include //rtl::isAsciiHexDigit #include //SAL_WARN #include //GetSettings #include //Application:: diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index 3e94ad472e63..d22837c7b4eb 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -36,7 +36,6 @@ #include #include -#include #include #include #include diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx index 375a966c7786..d86d277cc34f 100644 --- a/cui/source/dialogs/pastedlg.cxx +++ b/cui/source/dialogs/pastedlg.cxx @@ -26,8 +26,8 @@ #include #include #include -#include #include +#include SvPasteObjectDialog::SvPasteObjectDialog(weld::Window* pParent) : GenericDialogController(pParent, "cui/ui/pastespecial.ui", "PasteSpecialDialog") diff --git a/cui/source/dialogs/tipofthedaydlg.cxx b/cui/source/dialogs/tipofthedaydlg.cxx index ac6a4b9e6138..2404052271e6 100644 --- a/cui/source/dialogs/tipofthedaydlg.cxx +++ b/cui/source/dialogs/tipofthedaydlg.cxx @@ -33,7 +33,6 @@ #include #include -#include #include #include #include @@ -41,6 +40,7 @@ #include #include #include +#include TipOfTheDayDialog::TipOfTheDayDialog(weld::Window* pParent) : GenericDialogController(pParent, "cui/ui/tipofthedaydialog.ui", "TipOfTheDayDialog") diff --git a/cui/source/dialogs/toolbarmodedlg.cxx b/cui/source/dialogs/toolbarmodedlg.cxx index 8c3e54bbe489..e645f6bb26d0 100644 --- a/cui/source/dialogs/toolbarmodedlg.cxx +++ b/cui/source/dialogs/toolbarmodedlg.cxx @@ -14,7 +14,6 @@ #include #include -#include #include #include #include @@ -28,6 +27,7 @@ #include #include #include +#include static OUString GetCurrentApp() { diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 89ba22069339..a9d521708f5d 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -25,7 +25,6 @@ #include #include -#include #include #include #include @@ -56,7 +55,6 @@ #include #include #include -#include #include #include #include diff --git a/cui/source/inc/AdditionsDialog.hxx b/cui/source/inc/AdditionsDialog.hxx index c550034a16db..f11c4ee24691 100644 --- a/cui/source/inc/AdditionsDialog.hxx +++ b/cui/source/inc/AdditionsDialog.hxx @@ -10,13 +10,9 @@ #pragma once -#include #include #include #include -#include -#include -#include "dialmgr.hxx" // Detect changes on the UI #include @@ -26,20 +22,14 @@ // Extension Manager Connection #include -#include -#include -#include #include -#include -#include -#include -#include -#include #include #include #include +#include + class AdditionsDialog; class SearchAndParseThread; class AdditionsItem; diff --git a/cui/source/inc/about.hxx b/cui/source/inc/about.hxx index 27d07ce0d722..2cfc65a894f4 100644 --- a/cui/source/inc/about.hxx +++ b/cui/source/inc/about.hxx @@ -18,7 +18,6 @@ */ #pragma once -#include #include class AboutDialog : public weld::GenericDialogController diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index 17616cf945f8..5aa4a8c6041f 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx index 23501f1fd25e..1513347e481f 100644 --- a/cui/source/inc/page.hxx +++ b/cui/source/inc/page.hxx @@ -25,6 +25,7 @@ #include #include #include +#include // class SvxPageDescPage ------------------------------------------------- /* diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index 846e4a23e3f9..65e76e534ffd 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -21,7 +21,6 @@ #include #include -#include #include #include diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index b47cd1178149..3f7bad1d804a 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -39,7 +39,6 @@ #include #include -#include #include #include #include diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 1000dbf0983e..45aad05aef44 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -38,7 +38,6 @@ #include #include #include -#include #include #include #include