diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-12-22 11:35:30 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-03 09:39:22 +0100 |
commit | 5cb0c041fd50896d426626bad11032ffe4ac4614 (patch) | |
tree | 568c01ba4cf6cbd5efb534c0ea7af19492d7eca6 /chart2/source/controller/dialogs | |
parent | 5a2f1545134ec25d9bcb5f0d64bc7db8dc5aeb37 (diff) |
tdf#42949 Fix IWYU warnings in chart2/source/controller/* (2)
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Cleaned directories are chartapiwrapper and dialogs
Also a few other hxx in other inc dirs that came up
during the process
Change-Id: Ibf9c33aeee91a92216e8ab512f87acc482e13ae5
Reviewed-on: https://gerrit.libreoffice.org/65566
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'chart2/source/controller/dialogs')
44 files changed, 23 insertions, 128 deletions
diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index 56a7a2173c88..c34540f6a8e1 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -28,16 +28,10 @@ #include <unonames.hxx> #include <com/sun/star/chart2/DataPointGeometry3D.hpp> -#include <com/sun/star/chart2/PieChartOffsetMode.hpp> -#include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> -#include <svtools/controldims.hxx> #include <svtools/valueset.hxx> -#include <vcl/bitmap.hxx> -#include <vcl/builder.hxx> #include <vcl/image.hxx> -#include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx index 740735d45829..24e5f5e0ed2a 100644 --- a/chart2/source/controller/dialogs/DataBrowser.cxx +++ b/chart2/source/controller/dialogs/DataBrowser.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <svl/zformat.hxx> #include <svl/zforlist.hxx> #include "DataBrowser.hxx" @@ -25,7 +24,6 @@ #include <strings.hrc> #include <DataSeriesHelper.hxx> #include <DiagramHelper.hxx> -#include <ChartModelHelper.hxx> #include <CommonConverters.hxx> #include <NumberFormatterWrapper.hxx> #include <servicenames_charttypes.hxx> @@ -47,10 +45,8 @@ #include <com/sun/star/chart2/XChartType.hpp> #include <com/sun/star/container/XIndexReplace.hpp> -#include <com/sun/star/util/XNumberFormats.hpp> #include <algorithm> -#include <functional> using namespace ::com::sun::star; diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx index 15e1d00c307b..22df32c24849 100644 --- a/chart2/source/controller/dialogs/DataBrowserModel.cxx +++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx @@ -22,7 +22,6 @@ #include <ChartModelHelper.hxx> #include <DiagramHelper.hxx> #include <DataSeriesHelper.hxx> -#include <PropertyHelper.hxx> #include <ControllerLockGuard.hxx> #include <StatisticsHelper.hxx> #include <ChartTypeHelper.hxx> @@ -33,13 +32,11 @@ #include <unonames.hxx> #include <com/sun/star/container/XIndexReplace.hpp> -#include <com/sun/star/chart2/XAxis.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/chart2/XInternalDataProvider.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> #include <com/sun/star/chart2/data/XDataSource.hpp> -#include <com/sun/star/chart2/data/XDataSink.hpp> #include <com/sun/star/chart2/data/XLabeledDataSequence.hpp> #include <com/sun/star/chart2/data/XNumericalDataSequence.hpp> #include <com/sun/star/chart2/data/XTextualDataSequence.hpp> diff --git a/chart2/source/controller/dialogs/DialogModel.cxx b/chart2/source/controller/dialogs/DialogModel.cxx index 281f66c309f7..5f361953c1ec 100644 --- a/chart2/source/controller/dialogs/DialogModel.cxx +++ b/chart2/source/controller/dialogs/DialogModel.cxx @@ -19,23 +19,19 @@ #include "DialogModel.hxx" #include <RangeSelectionHelper.hxx> -#include <PropertyHelper.hxx> #include <DataSeriesHelper.hxx> #include <DataSourceHelper.hxx> #include <DiagramHelper.hxx> #include <strings.hrc> #include <ResId.hxx> #include <ContainerHelper.hxx> -#include <CommonFunctors.hxx> #include <ControllerLockGuard.hxx> #include <ChartTypeHelper.hxx> #include <ThreeDHelper.hxx> #include <ChartModel.hxx> -#include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/chart2/AxisType.hpp> -#include <com/sun/star/chart2/XTitled.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> diff --git a/chart2/source/controller/dialogs/ObjectNameProvider.cxx b/chart2/source/controller/dialogs/ObjectNameProvider.cxx index f36375af474f..df7aee8ba8de 100644 --- a/chart2/source/controller/dialogs/ObjectNameProvider.cxx +++ b/chart2/source/controller/dialogs/ObjectNameProvider.cxx @@ -26,7 +26,6 @@ #include <DiagramHelper.hxx> #include <DataSeriesHelper.hxx> #include <TitleHelper.hxx> -#include <AxisIndexDefines.hxx> #include <ExplicitCategoriesProvider.hxx> #include <CommonConverters.hxx> #include <NumberFormatterWrapper.hxx> diff --git a/chart2/source/controller/dialogs/TextDirectionListBox.cxx b/chart2/source/controller/dialogs/TextDirectionListBox.cxx index cb4afc8597f7..611251df8451 100644 --- a/chart2/source/controller/dialogs/TextDirectionListBox.cxx +++ b/chart2/source/controller/dialogs/TextDirectionListBox.cxx @@ -20,9 +20,6 @@ #include <TextDirectionListBox.hxx> #include <ResId.hxx> #include <strings.hrc> -#include <svl/languageoptions.hxx> -#include <vcl/window.hxx> -#include <vcl/builderfactory.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/dlg_ChartType.cxx b/chart2/source/controller/dialogs/dlg_ChartType.cxx index 44c6b06bf098..8848bc2787c4 100644 --- a/chart2/source/controller/dialogs/dlg_ChartType.cxx +++ b/chart2/source/controller/dialogs/dlg_ChartType.cxx @@ -18,10 +18,8 @@ */ #include <dlg_ChartType.hxx> -#include "TabPageIds.h" #include "tp_ChartType.hxx" #include <com/sun/star/chart2/XChartDocument.hpp> -#include <vcl/layout.hxx> namespace chart diff --git a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx index df04dbee684a..384f1ac6e4dc 100644 --- a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx +++ b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx @@ -21,7 +21,6 @@ #include <dlg_ChartType.hxx> #include <servicenames.hxx> #include <osl/mutex.hxx> -#include <toolkit/helper/vclunohelper.hxx> #include <vcl/svapp.hxx> #include <com/sun/star/frame/XModel.hpp> diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx index 9606ae805c6f..6c3be3da57c2 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx @@ -21,16 +21,13 @@ #include <dlg_CreationWizard.hxx> #include <servicenames.hxx> #include <TimerTriggeredControllerLock.hxx> -#include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <toolkit/awt/vclxwindow.hxx> -#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/awt/Point.hpp> #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/frame/Desktop.hpp> -#include <comphelper/sequence.hxx> #include <tools/diagnose_ex.h> namespace chart diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx index 45c8cdbaa27c..cc65860c3746 100644 --- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx +++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx @@ -22,15 +22,10 @@ #include <comphelper/stl_types.hxx> #include <osl/diagnose.h> -#include <sfx2/dispatch.hxx> #include <vcl/taskpanelist.hxx> #include <svtools/miscopt.hxx> -#include <unotools/pathoptions.hxx> -#include <svl/eitem.hxx> -#include <vcl/edit.hxx> #include <com/sun/star/frame/XStorable.hpp> -#include <com/sun/star/chart2/XChartDocument.hpp> using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx index 020d2a0e26ed..856420bcc245 100644 --- a/chart2/source/controller/dialogs/dlg_DataSource.cxx +++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx @@ -17,20 +17,17 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <com/sun/star/chart2/XChartDocument.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> + #include <dlg_DataSource.hxx> -#include <strings.hrc> -#include <ResId.hxx> #include "ChartTypeTemplateProvider.hxx" #include <DiagramHelper.hxx> -#include <ChartModel.hxx> #include "DialogModel.hxx" #include "tp_RangeChooser.hxx" #include "tp_DataSource.hxx" -#include <vcl/layout.hxx> -#include <vcl/tabctrl.hxx> - using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; using namespace ::chart; diff --git a/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx b/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx index 9a227f59b2f5..3843263ad664 100644 --- a/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx @@ -19,11 +19,6 @@ #include <dlg_InsertAxis_Grid.hxx> -#include <chartview/ChartSfxItemIds.hxx> -#include <ObjectNameProvider.hxx> - -#include <svl/eitem.hxx> - namespace chart { diff --git a/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx b/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx index 084ada9c74aa..65c201232352 100644 --- a/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx @@ -27,10 +27,6 @@ #include <AxisHelper.hxx> #include <ObjectNameProvider.hxx> -#include <com/sun/star/chart2/XAxis.hpp> -#include <com/sun/star/chart2/XDiagram.hpp> -#include <vcl/settings.hxx> - using ::com::sun::star::uno::Reference; using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx index ca9a74146cc9..fa6f51c0d86b 100644 --- a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx +++ b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx @@ -20,11 +20,9 @@ #include "dlg_NumberFormat.hxx" #include <svl/itemset.hxx> -#include <svx/numinf.hxx> -#include <svx/svxdlg.hxx> #include <svx/dialogs.hrc> #include <sfx2/tabdlg.hxx> -#include <svl/zforlist.hxx> +#include <sfx2/sfxdlg.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx index 13f0419a05ca..66a12ef6b3db 100644 --- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx +++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <svl/zforlist.hxx> #include <dlg_ObjectProperties.hxx> -#include "TabPageIds.h" #include <strings.hrc> #include "tp_AxisLabel.hxx" #include "tp_DataLabel.hxx" @@ -39,7 +37,6 @@ #include <ObjectNameProvider.hxx> #include <DiagramHelper.hxx> #include <NumberFormatterWrapper.hxx> -#include <AxisIndexDefines.hxx> #include <AxisHelper.hxx> #include <ExplicitCategoriesProvider.hxx> #include <ChartModel.hxx> @@ -48,8 +45,6 @@ #include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/XAxis.hpp> -#include <com/sun/star/chart2/XChartType.hpp> -#include <com/sun/star/chart2/XDataSeries.hpp> #include <svl/intitem.hxx> #include <svl/languageoptions.hxx> @@ -61,7 +56,6 @@ #include <svx/dialogs.hrc> #include <editeng/flstitem.hxx> -#include <svx/tabline.hxx> #include <svx/flagsdef.hxx> #include <svx/numinf.hxx> @@ -69,6 +63,9 @@ #include <svl/cjkoptions.hxx> #include <tools/diagnose_ex.h> +namespace com { namespace sun { namespace star { namespace chart2 { class XChartType; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XDataSeries; } } } } + namespace chart { diff --git a/chart2/source/controller/dialogs/dlg_ShapeFont.cxx b/chart2/source/controller/dialogs/dlg_ShapeFont.cxx index 7b257b556b44..d91385be94ce 100644 --- a/chart2/source/controller/dialogs/dlg_ShapeFont.cxx +++ b/chart2/source/controller/dialogs/dlg_ShapeFont.cxx @@ -19,10 +19,8 @@ #include <dlg_ShapeFont.hxx> #include <ViewElementListProvider.hxx> -#include "TabPageIds.h" #include <svl/intitem.hxx> -#include <sfx2/objsh.hxx> #include <svx/dialogs.hrc> #include <svx/flagsdef.hxx> #include <editeng/flstitem.hxx> diff --git a/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx b/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx index b203e13b3d7c..ccef966d0385 100644 --- a/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx +++ b/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx @@ -18,7 +18,6 @@ */ #include <dlg_ShapeParagraph.hxx> -#include "TabPageIds.h" #include <svl/cjkoptions.hxx> #include <svl/intitem.hxx> diff --git a/chart2/source/controller/dialogs/dlg_View3D.cxx b/chart2/source/controller/dialogs/dlg_View3D.cxx index e4db6f6a2818..fc329ce6b733 100644 --- a/chart2/source/controller/dialogs/dlg_View3D.cxx +++ b/chart2/source/controller/dialogs/dlg_View3D.cxx @@ -25,7 +25,6 @@ #include "tp_3D_SceneAppearance.hxx" #include "tp_3D_SceneIllumination.hxx" #include <ChartModelHelper.hxx> -#include <ControllerLockGuard.hxx> #include <com/sun/star/beans/XPropertySet.hpp> namespace chart diff --git a/chart2/source/controller/dialogs/res_BarGeometry.cxx b/chart2/source/controller/dialogs/res_BarGeometry.cxx index d067ae711978..128a1bc8ba32 100644 --- a/chart2/source/controller/dialogs/res_BarGeometry.cxx +++ b/chart2/source/controller/dialogs/res_BarGeometry.cxx @@ -18,7 +18,6 @@ */ #include "res_BarGeometry.hxx" -#include <vcl/builder.hxx> #include <ResId.hxx> #include <chart.hrc> diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index 0d7e48f264b5..2889bdb74f13 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.cxx +++ b/chart2/source/controller/dialogs/res_DataLabel.cxx @@ -31,8 +31,6 @@ #include <editeng/eeitem.hxx> #include <editeng/frmdiritem.hxx> #include <svx/svxids.hrc> -#include <svl/zforlist.hxx> -#include <svtools/controldims.hxx> #include <osl/diagnose.h> namespace chart diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index 5d3296953370..8d0517ce1970 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -20,10 +20,10 @@ #include <res_ErrorBar.hxx> #include <bitmaps.hlst> #include <RangeSelectionHelper.hxx> -#include <TabPageNotifiable.hxx> #include <helpids.h> #include <chartview/ChartSfxItemIds.hxx> #include <com/sun/star/chart2/XChartDocument.hpp> +#include <vcl/dialog.hxx> #include <rtl/math.hxx> #include <sal/log.hxx> diff --git a/chart2/source/controller/dialogs/res_LegendPosition.cxx b/chart2/source/controller/dialogs/res_LegendPosition.cxx index 68e64d84f34a..abe3f2688cec 100644 --- a/chart2/source/controller/dialogs/res_LegendPosition.cxx +++ b/chart2/source/controller/dialogs/res_LegendPosition.cxx @@ -22,7 +22,6 @@ #include <LegendHelper.hxx> #include <ChartModel.hxx> -#include <svtools/controldims.hxx> #include <com/sun/star/chart2/LegendPosition.hpp> #include <com/sun/star/chart/ChartLegendExpansion.hpp> @@ -31,7 +30,7 @@ #include <svl/intitem.hxx> #include <svl/eitem.hxx> #include <tools/diagnose_ex.h> -#include <vcl/builder.hxx> +#include <vcl/weld.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/res_Titles.cxx b/chart2/source/controller/dialogs/res_Titles.cxx index b10cd19aa95d..22bb474b2f82 100644 --- a/chart2/source/controller/dialogs/res_Titles.cxx +++ b/chart2/source/controller/dialogs/res_Titles.cxx @@ -19,8 +19,7 @@ #include <res_Titles.hxx> #include <TitleDialogData.hxx> -#include <svtools/controldims.hxx> -#include <vcl/builder.hxx> +#include <vcl/weld.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx index 8f140428a9da..1e39e1fdfb86 100644 --- a/chart2/source/controller/dialogs/res_Trendline.cxx +++ b/chart2/source/controller/dialogs/res_Trendline.cxx @@ -21,14 +21,10 @@ #include <bitmaps.hlst> #include <chartview/ChartSfxItemIds.hxx> -#include <editeng/sizeitem.hxx> #include <svl/intitem.hxx> #include <svl/stritem.hxx> #include <svl/zforlist.hxx> -#include <sfx2/tabdlg.hxx> - -#include <vector> -#include <algorithm> +#include <vcl/weld.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/res_Trendline.hxx b/chart2/source/controller/dialogs/res_Trendline.hxx index 0d5eb85e8a1f..91f70f241bfc 100644 --- a/chart2/source/controller/dialogs/res_Trendline.hxx +++ b/chart2/source/controller/dialogs/res_Trendline.hxx @@ -19,9 +19,18 @@ #ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_RES_TRENDLINE_HXX #define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_RES_TRENDLINE_HXX +#include <tools/link.hxx> #include <svl/itemset.hxx> #include <svx/chrtitem.hxx> -#include <vcl/weld.hxx> + +namespace weld { class Builder; } +namespace weld { class CheckButton; } +namespace weld { class Entry; } +namespace weld { class FormattedSpinButton; } +namespace weld { class Image; } +namespace weld { class RadioButton; } +namespace weld { class SpinButton; } +namespace weld { class ToggleButton; } class SvNumberFormatter; diff --git a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx index e261cff87d3c..781cd535b47c 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx @@ -21,7 +21,6 @@ #include <ChartModelHelper.hxx> #include <ThreeDHelper.hxx> #include <ControllerLockGuard.hxx> -#include <rtl/math.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/drawing/ShadeMode.hpp> #include <tools/diagnose_ex.h> diff --git a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx index 43cb32e001e2..729f9606033e 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx @@ -19,13 +19,10 @@ #include "tp_3D_SceneGeometry.hxx" -#include <BaseGFXHelper.hxx> #include <DiagramHelper.hxx> #include <ChartTypeHelper.hxx> #include <ThreeDHelper.hxx> #include <ControllerLockGuard.hxx> -#include <rtl/math.hxx> -#include <editeng/unoprnms.hxx> #include <com/sun/star/drawing/ProjectionMode.hpp> #include <tools/diagnose_ex.h> #include <tools/helpers.hxx> diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx index a6e70f363af6..4b5265d2239e 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx @@ -23,10 +23,8 @@ #include <ControllerLockGuard.hxx> #include <svx/colorbox.hxx> -#include <svx/dialogs.hrc> #include <svx/strings.hrc> #include <svx/dialmgr.hxx> -#include <rtl/math.hxx> #include <svtools/colrdlg.hxx> #include <svx/svx3ditems.hxx> #include <svx/svddef.hxx> diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx index 0272b44a97aa..066eefcdbd50 100644 --- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx +++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx @@ -19,7 +19,6 @@ #include "tp_AxisLabel.hxx" -#include "TabPageIds.h" #include <chartview/ChartSfxItemIds.hxx> #include <TextDirectionListBox.hxx> diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx index 4c098e6273a5..3fdc197f6583 100644 --- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx +++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx @@ -19,20 +19,12 @@ #include "tp_AxisPositions.hxx" -#include "TabPageIds.h" #include <chartview/ChartSfxItemIds.hxx> #include <AxisHelper.hxx> -#include <svx/svxids.hrc> #include <rtl/math.hxx> #include <svx/chrtitem.hxx> -#include <svl/eitem.hxx> #include <svl/intitem.hxx> -#include <svl/zformat.hxx> -#include <svtools/controldims.hxx> - -#include <com/sun/star/chart/ChartAxisPosition.hpp> -#include <com/sun/star/chart2/AxisType.hpp> using namespace ::com::sun::star; diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index bec21d752cf1..855885b459d6 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -23,12 +23,10 @@ #include <ChartModelHelper.hxx> #include <DiagramHelper.hxx> #include "res_BarGeometry.hxx" -#include <ControllerLockGuard.hxx> #include <unonames.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> -#include <svtools/controldims.hxx> #include <svtools/valueset.hxx> #include <o3tl/make_unique.hxx> diff --git a/chart2/source/controller/dialogs/tp_DataLabel.cxx b/chart2/source/controller/dialogs/tp_DataLabel.cxx index 7d189fad49ca..e64e5d4ed385 100644 --- a/chart2/source/controller/dialogs/tp_DataLabel.cxx +++ b/chart2/source/controller/dialogs/tp_DataLabel.cxx @@ -19,8 +19,6 @@ #include "tp_DataLabel.hxx" -#include "TabPageIds.h" - namespace chart { diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx index 758664428019..3fddd55005ac 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.cxx +++ b/chart2/source/controller/dialogs/tp_DataSource.cxx @@ -20,7 +20,6 @@ #include "tp_DataSource.hxx" #include <strings.hrc> #include <ResId.hxx> -#include <chartview/ChartSfxItemIds.hxx> #include "ChartTypeTemplateProvider.hxx" #include <RangeSelectionHelper.hxx> #include <DataSeriesHelper.hxx> @@ -28,21 +27,13 @@ #include <DataSourceHelper.hxx> #include "DialogModel.hxx" #include <TabPageNotifiable.hxx> -#include <com/sun/star/sheet/XRangeSelection.hpp> -#include <com/sun/star/table/XCellRange.hpp> #include <com/sun/star/chart2/XChartType.hpp> -#include <com/sun/star/chart2/XChartTypeTemplate.hpp> #include <com/sun/star/chart2/data/XDataProvider.hpp> #include <com/sun/star/util/XModifiable.hpp> #include <com/sun/star/chart2/data/XDataSink.hpp> -#include <rtl/ustrbuf.hxx> #include <tools/diagnose_ex.h> -#include <functional> -#include <algorithm> -#include <map> - using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/controller/dialogs/tp_DataSource.hxx b/chart2/source/controller/dialogs/tp_DataSource.hxx index 0d237ffa79a5..7c4f9b437e3e 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.hxx +++ b/chart2/source/controller/dialogs/tp_DataSource.hxx @@ -21,10 +21,6 @@ #include <svtools/wizardmachine.hxx> -#include <vcl/fixed.hxx> -#include <vcl/svtabbx.hxx> -#include <vcl/treelistbox.hxx> - #include <RangeSelectionListener.hxx> namespace com { namespace sun { namespace star { namespace chart2 { class XChartType; } } } } diff --git a/chart2/source/controller/dialogs/tp_ErrorBars.cxx b/chart2/source/controller/dialogs/tp_ErrorBars.cxx index 5288224f8e6f..7ad67dbe32d7 100644 --- a/chart2/source/controller/dialogs/tp_ErrorBars.cxx +++ b/chart2/source/controller/dialogs/tp_ErrorBars.cxx @@ -18,8 +18,6 @@ */ #include "tp_ErrorBars.hxx" -#include "TabPageIds.h" -#include <TabPageNotifiable.hxx> #include <vcl/settings.hxx> using namespace ::com::sun::star; diff --git a/chart2/source/controller/dialogs/tp_LegendPosition.cxx b/chart2/source/controller/dialogs/tp_LegendPosition.cxx index 0e358234e51e..efd8a29c790e 100644 --- a/chart2/source/controller/dialogs/tp_LegendPosition.cxx +++ b/chart2/source/controller/dialogs/tp_LegendPosition.cxx @@ -18,11 +18,8 @@ */ #include "tp_LegendPosition.hxx" -#include "TabPageIds.h" #include <res_LegendPosition.hxx> #include <TextDirectionListBox.hxx> -#include <chartview/ChartSfxItemIds.hxx> -#include <svx/chrtitem.hxx> #include <editeng/eeitem.hxx> #include <editeng/frmdiritem.hxx> diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.cxx b/chart2/source/controller/dialogs/tp_PointGeometry.cxx index a3717c81f729..bbf87155d895 100644 --- a/chart2/source/controller/dialogs/tp_PointGeometry.cxx +++ b/chart2/source/controller/dialogs/tp_PointGeometry.cxx @@ -18,7 +18,6 @@ */ #include "tp_PointGeometry.hxx" -#include "TabPageIds.h" #include "res_BarGeometry.hxx" #include <chartview/ChartSfxItemIds.hxx> diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.cxx b/chart2/source/controller/dialogs/tp_PolarOptions.cxx index a33bbcfa17ca..df169e8ddb37 100644 --- a/chart2/source/controller/dialogs/tp_PolarOptions.cxx +++ b/chart2/source/controller/dialogs/tp_PolarOptions.cxx @@ -20,11 +20,8 @@ #include "tp_PolarOptions.hxx" #include <chartview/ChartSfxItemIds.hxx> -#include <editeng/sizeitem.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> -#include <svtools/controldims.hxx> -#include <svx/chrtitem.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.cxx b/chart2/source/controller/dialogs/tp_RangeChooser.cxx index 130ab64df371..5a7db1ae3878 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.cxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.cxx @@ -19,15 +19,12 @@ #include "tp_RangeChooser.hxx" #include <DataSourceHelper.hxx> -#include <DiagramHelper.hxx> #include "ChartTypeTemplateProvider.hxx" #include "DialogModel.hxx" #include <RangeSelectionHelper.hxx> #include <TabPageNotifiable.hxx> -#include <com/sun/star/awt/XTopWindow.hpp> -#include <com/sun/star/embed/EmbedStates.hpp> -#include <com/sun/star/embed/XComponentSupplier.hpp> -#include <com/sun/star/chart2/XChartTypeTemplate.hpp> +#include <com/sun/star/beans/PropertyState.hpp> +#include <com/sun/star/beans/PropertyValue.hpp> #include <svtools/miscopt.hxx> #include <osl/diagnose.h> diff --git a/chart2/source/controller/dialogs/tp_Scale.cxx b/chart2/source/controller/dialogs/tp_Scale.cxx index 5c320ddf6151..561295f9756d 100644 --- a/chart2/source/controller/dialogs/tp_Scale.cxx +++ b/chart2/source/controller/dialogs/tp_Scale.cxx @@ -25,14 +25,12 @@ #include <AxisHelper.hxx> #include <svx/svxids.hrc> -#include <rtl/math.hxx> #include <osl/diagnose.h> #include <svx/chrtitem.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> #include <vcl/weld.hxx> #include <svl/zformat.hxx> -#include <svtools/controldims.hxx> #include <com/sun/star/chart2/AxisType.hpp> diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx index 91f2255cf99e..e7b344bce71a 100644 --- a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx +++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx @@ -21,12 +21,9 @@ #include <chartview/ChartSfxItemIds.hxx> -#include <editeng/sizeitem.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> #include <svl/ilstitem.hxx> -#include <svtools/controldims.hxx> -#include <svx/chrtitem.hxx> #include <com/sun/star/chart/MissingValueTreatment.hpp> diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx index d82092513047..b9d73f337cc0 100644 --- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx +++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx @@ -19,7 +19,6 @@ #include "tp_TitleRotation.hxx" -#include "TabPageIds.h" #include <chartview/ChartSfxItemIds.hxx> #include <TextDirectionListBox.hxx> diff --git a/chart2/source/controller/dialogs/tp_Trendline.cxx b/chart2/source/controller/dialogs/tp_Trendline.cxx index 60d77bf29280..b04051a8a63a 100644 --- a/chart2/source/controller/dialogs/tp_Trendline.cxx +++ b/chart2/source/controller/dialogs/tp_Trendline.cxx @@ -18,7 +18,6 @@ */ #include "tp_Trendline.hxx" -#include "TabPageIds.h" #include <vcl/settings.hxx> namespace chart diff --git a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx index 7b8dc3936fb8..628b77fc13f9 100644 --- a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx +++ b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx @@ -22,7 +22,6 @@ #include <res_LegendPosition.hxx> #include <ChartModelHelper.hxx> #include <AxisHelper.hxx> -#include <LegendHelper.hxx> #include <ControllerLockGuard.hxx> #include <com/sun/star/frame/XModel.hpp> |