From bdf5a7b5792cc93cd0a8984cfd8528dfe67b3e70 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 22 May 2018 19:24:29 +0200 Subject: tdf#42949 Fix IWYU warnings in chart2/source/view/inc/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here and a bit of fallout management. Change-Id: I1eb30323e083afca7c024d494856ccc66c41482d Reviewed-on: https://gerrit.libreoffice.org/55037 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- chart2/IwyuFilter_chart2.yaml | 25 ++++++++++++++++++++++ chart2/source/view/axes/VCartesianGrid.cxx | 1 + chart2/source/view/axes/VCoordinateSystem.cxx | 1 + chart2/source/view/charttypes/AreaChart.cxx | 2 ++ chart2/source/view/charttypes/BarChart.cxx | 1 + chart2/source/view/charttypes/BubbleChart.cxx | 1 + chart2/source/view/charttypes/CandleStickChart.cxx | 1 + chart2/source/view/charttypes/GL3DBarChart.cxx | 5 ++++- chart2/source/view/charttypes/NetChart.cxx | 2 ++ chart2/source/view/charttypes/PieChart.cxx | 2 ++ chart2/source/view/charttypes/VSeriesPlotter.cxx | 3 +++ chart2/source/view/diagram/VDiagram.cxx | 1 + chart2/source/view/inc/3DChartObjects.hxx | 2 -- chart2/source/view/inc/AbstractShapeFactory.hxx | 25 +++++++++++----------- chart2/source/view/inc/Clipping.hxx | 3 ++- chart2/source/view/inc/DateHelper.hxx | 1 - chart2/source/view/inc/GL3DBarChart.hxx | 7 +++--- chart2/source/view/inc/GL3DPlotterBase.hxx | 2 +- chart2/source/view/inc/GL3DRenderer.hxx | 6 +++--- chart2/source/view/inc/LabelPositionHelper.hxx | 7 ++++-- chart2/source/view/inc/LegendEntryProvider.hxx | 17 +++++++++------ chart2/source/view/inc/PlotterBase.hxx | 18 +++++++--------- chart2/source/view/inc/PlottingPositionHelper.hxx | 12 ++++++----- .../source/view/inc/PolarLabelPositionHelper.hxx | 1 - chart2/source/view/inc/PropertyMapper.hxx | 6 ++++-- chart2/source/view/inc/ScaleAutomatism.hxx | 4 +++- chart2/source/view/inc/VCoordinateSystem.hxx | 20 ++++++++++------- chart2/source/view/inc/VDataSeries.hxx | 19 ++++++++-------- chart2/source/view/inc/VDiagram.hxx | 12 ++++++++--- chart2/source/view/inc/VLegendSymbolFactory.hxx | 11 +++++++--- chart2/source/view/inc/VLineProperties.hxx | 5 ++++- chart2/source/view/inc/VSeriesPlotter.hxx | 9 ++++++-- chart2/source/view/main/AbstractShapeFactory.cxx | 3 +++ .../source/view/main/DataPointSymbolSupplier.cxx | 1 + chart2/source/view/main/LabelPositionHelper.cxx | 1 + chart2/source/view/main/PlottingPositionHelper.cxx | 1 + chart2/source/view/main/PropertyMapper.cxx | 1 + chart2/source/view/main/ShapeFactory.cxx | 6 ++++++ chart2/source/view/main/VDataSeries.cxx | 1 + chart2/source/view/main/VLegend.cxx | 1 + chart2/source/view/main/VLegendSymbolFactory.cxx | 3 +++ chart2/source/view/main/VLineProperties.cxx | 1 + 42 files changed, 172 insertions(+), 79 deletions(-) (limited to 'chart2') diff --git a/chart2/IwyuFilter_chart2.yaml b/chart2/IwyuFilter_chart2.yaml index f826ca6128ac..622c3fdb0e93 100644 --- a/chart2/IwyuFilter_chart2.yaml +++ b/chart2/IwyuFilter_chart2.yaml @@ -231,3 +231,28 @@ blacklist: - com/sun/star/io/XActiveDataSource.hpp - com/sun/star/lang/XMultiServiceFactory.hpp - com/sun/star/lang/XServiceInfo.hpp + chart2/source/view/inc/3DChartObjects.hxx: + # base class has to be a complete type + - boost/shared_array.hpp + - map + chart2/source/view/inc/Linear3DTransformation.hxx: + # base class has to be a complete type + - com/sun/star/chart2/XTransformation.hpp + chart2/source/view/inc/GL3DRenderer.hxx: + # base class has to be a complete type + - boost/shared_array.hpp + - map + - vector + chart2/source/view/inc/GL3DBarChart.hxx: + # base class has to be a complete type + - deque + - memory + - vector + - GL3DPlotterBase.hxx + - vcl/idle.hxx + chart2/source/view/inc/VLineProperties.hxx: + # base class has to be a complete type + - com/sun/star/uno/Reference.h + chart2/source/view/inc/VPolarTransformation.hxx: + # base class has to be a complete type + - com/sun/star/chart2/XTransformation.hpp diff --git a/chart2/source/view/axes/VCartesianGrid.cxx b/chart2/source/view/axes/VCartesianGrid.cxx index dcd679c814fd..e56608fd0b5c 100644 --- a/chart2/source/view/axes/VCartesianGrid.cxx +++ b/chart2/source/view/axes/VCartesianGrid.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include diff --git a/chart2/source/view/axes/VCoordinateSystem.cxx b/chart2/source/view/axes/VCoordinateSystem.cxx index 063697cc400a..f4e051b47ee4 100644 --- a/chart2/source/view/axes/VCoordinateSystem.cxx +++ b/chart2/source/view/axes/VCoordinateSystem.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include #include "VCartesianCoordinateSystem.hxx" #include "VPolarCoordinateSystem.hxx" diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx index 2a8d773244e0..22d952b8eeff 100644 --- a/chart2/source/view/charttypes/AreaChart.cxx +++ b/chart2/source/view/charttypes/AreaChart.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include "Splines.hxx" @@ -40,6 +41,7 @@ #include #include +#include #include namespace chart diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx index 17407d866a33..ec9940cf6b04 100644 --- a/chart2/source/view/charttypes/BarChart.cxx +++ b/chart2/source/view/charttypes/BarChart.cxx @@ -33,6 +33,7 @@ #include +#include #include #include #include diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx index ced8ddb2f657..ffd37cc57097 100644 --- a/chart2/source/view/charttypes/BubbleChart.cxx +++ b/chart2/source/view/charttypes/BubbleChart.cxx @@ -35,6 +35,7 @@ #include #include #include +#include namespace chart { diff --git a/chart2/source/view/charttypes/CandleStickChart.cxx b/chart2/source/view/charttypes/CandleStickChart.cxx index 1419c9ef4968..3b8bfd338a1d 100644 --- a/chart2/source/view/charttypes/CandleStickChart.cxx +++ b/chart2/source/view/charttypes/CandleStickChart.cxx @@ -20,6 +20,7 @@ #include "CandleStickChart.hxx" #include #include +#include #include #include #include "BarPositionHelper.hxx" diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 60309d08ad2a..644b168798e5 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -8,7 +8,8 @@ */ #include - +#include +#include #include #include @@ -19,6 +20,8 @@ #include #include #include +#include +#include #include #ifdef _WIN32 diff --git a/chart2/source/view/charttypes/NetChart.cxx b/chart2/source/view/charttypes/NetChart.cxx index 40cbf6a641ea..cbecb881b759 100644 --- a/chart2/source/view/charttypes/NetChart.cxx +++ b/chart2/source/view/charttypes/NetChart.cxx @@ -20,6 +20,7 @@ #include "NetChart.hxx" #include #include +#include #include #include #include @@ -39,6 +40,7 @@ #include #include +#include #include namespace chart diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index f3f1ef3e1cf9..7c24f5e0c4a3 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include +#include #include "PieChart.hxx" #include #include diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index f9c3ad0e94c6..011381e4db94 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -19,11 +19,13 @@ #include #include +#include #include #include #include #include +#include #include #include #include @@ -52,6 +54,7 @@ #include #include +#include #include #include #include diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index 3baf5373e593..a545e84a485b 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include #include #include diff --git a/chart2/source/view/inc/3DChartObjects.hxx b/chart2/source/view/inc/3DChartObjects.hxx index 432137747424..15c0b22c3c9c 100644 --- a/chart2/source/view/inc/3DChartObjects.hxx +++ b/chart2/source/view/inc/3DChartObjects.hxx @@ -12,9 +12,7 @@ #include #include -#include -#include #include "GL3DRenderer.hxx" #include diff --git a/chart2/source/view/inc/AbstractShapeFactory.hxx b/chart2/source/view/inc/AbstractShapeFactory.hxx index e281e6291ebf..bc276de6fa0f 100644 --- a/chart2/source/view/inc/AbstractShapeFactory.hxx +++ b/chart2/source/view/inc/AbstractShapeFactory.hxx @@ -11,25 +11,26 @@ #define INCLUDED_CHART2_SOURCE_VIEW_INC_ABSTRACTSHAPEFACTORY_HXX #include "PropertyMapper.hxx" -#include "VLineProperties.hxx" -#include +#include #include #include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include #include class OpenGLWindow; +namespace chart { struct VLineProperties; } +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XFormattedString; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } } +namespace com { namespace sun { namespace star { namespace drawing { struct HomogenMatrix; } } } } +namespace com { namespace sun { namespace star { namespace drawing { struct PolyPolygonShape3D; } } } } +namespace com { namespace sun { namespace star { namespace drawing { struct Position3D; } } } } +namespace com { namespace sun { namespace star { namespace graphic { class XGraphic; } } } } +namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } } +namespace com { namespace sun { namespace star { namespace drawing { struct Direction3D; } } } } namespace chart { diff --git a/chart2/source/view/inc/Clipping.hxx b/chart2/source/view/inc/Clipping.hxx index e99c1c1d90f7..9241fddd99a8 100644 --- a/chart2/source/view/inc/Clipping.hxx +++ b/chart2/source/view/inc/Clipping.hxx @@ -21,7 +21,8 @@ #define INCLUDED_CHART2_SOURCE_VIEW_INC_CLIPPING_HXX #include -#include + +namespace com { namespace sun { namespace star { namespace drawing { struct PolyPolygonShape3D; } } } } namespace chart { diff --git a/chart2/source/view/inc/DateHelper.hxx b/chart2/source/view/inc/DateHelper.hxx index 099985533853..bfd549b22142 100644 --- a/chart2/source/view/inc/DateHelper.hxx +++ b/chart2/source/view/inc/DateHelper.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_DATEHELPER_HXX #define INCLUDED_CHART2_SOURCE_VIEW_INC_DATEHELPER_HXX -#include #include namespace chart diff --git a/chart2/source/view/inc/GL3DBarChart.hxx b/chart2/source/view/inc/GL3DBarChart.hxx index 0c244a335b5a..bb31428d7db1 100644 --- a/chart2/source/view/inc/GL3DBarChart.hxx +++ b/chart2/source/view/inc/GL3DBarChart.hxx @@ -15,18 +15,19 @@ #include #include #include -#include "VDataSeries.hxx" #include -#include #include #include #include -#include + #include +namespace com { namespace sun { namespace star { namespace chart2 { class XChartType; } } } } +class Timer; + namespace chart { class ExplicitCategoriesProvider; diff --git a/chart2/source/view/inc/GL3DPlotterBase.hxx b/chart2/source/view/inc/GL3DPlotterBase.hxx index c403389fc8f4..33c5deda360d 100644 --- a/chart2/source/view/inc/GL3DPlotterBase.hxx +++ b/chart2/source/view/inc/GL3DPlotterBase.hxx @@ -10,13 +10,13 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_GL3DPLOTTERBASE_HXX #define INCLUDED_CHART2_SOURCE_VIEW_INC_GL3DPLOTTERBASE_HXX -#include "VDataSeries.hxx" #include #include namespace chart { class ExplicitCategoriesProvider; +class VDataSeries; class GL3DPlotterBase { diff --git a/chart2/source/view/inc/GL3DRenderer.hxx b/chart2/source/view/inc/GL3DRenderer.hxx index 9dc860229aee..2fcef5c309e5 100644 --- a/chart2/source/view/inc/GL3DRenderer.hxx +++ b/chart2/source/view/inc/GL3DRenderer.hxx @@ -15,14 +15,14 @@ #include #include -#include #include #include +#include +#include -#include +#include #include -#include #include namespace chart { diff --git a/chart2/source/view/inc/LabelPositionHelper.hxx b/chart2/source/view/inc/LabelPositionHelper.hxx index 36b2720dc845..48b5ab72c73a 100644 --- a/chart2/source/view/inc/LabelPositionHelper.hxx +++ b/chart2/source/view/inc/LabelPositionHelper.hxx @@ -23,8 +23,11 @@ #include "LabelAlignment.hxx" #include "PropertyMapper.hxx" #include -#include -#include + +namespace com { namespace sun { namespace star { namespace drawing { struct Position3D; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } } +namespace com { namespace sun { namespace star { namespace awt { struct Size; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } } namespace chart { diff --git a/chart2/source/view/inc/LegendEntryProvider.hxx b/chart2/source/view/inc/LegendEntryProvider.hxx index 4b0d3c597d6f..3ad8a94b8832 100644 --- a/chart2/source/view/inc/LegendEntryProvider.hxx +++ b/chart2/source/view/inc/LegendEntryProvider.hxx @@ -19,16 +19,19 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_LEGENDENTRYPROVIDER_HXX #define INCLUDED_CHART2_SOURCE_VIEW_INC_LEGENDENTRYPROVIDER_HXX -#include #include -#include -#include -#include -#include -#include - +#include +#include +#include #include +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XFormattedString2; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } } +namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } } +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + namespace chart { diff --git a/chart2/source/view/inc/PlotterBase.hxx b/chart2/source/view/inc/PlotterBase.hxx index a6753561348e..788992dc3de3 100644 --- a/chart2/source/view/inc/PlotterBase.hxx +++ b/chart2/source/view/inc/PlotterBase.hxx @@ -19,18 +19,16 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_PLOTTERBASE_HXX #define INCLUDED_CHART2_SOURCE_VIEW_INC_PLOTTERBASE_HXX -#include +#include +#include +#include -#include -#include -#include -#include -#include -#include -#include -#include +namespace com { namespace sun { namespace star { namespace drawing { struct HomogenMatrix; } } } } +namespace com { namespace sun { namespace star { namespace drawing { struct Position3D; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } } +namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } } -#include +namespace chart { struct ExplicitScaleData; } namespace chart { diff --git a/chart2/source/view/inc/PlottingPositionHelper.hxx b/chart2/source/view/inc/PlottingPositionHelper.hxx index bbfa8eebc7bd..bce3ceefeb9b 100644 --- a/chart2/source/view/inc/PlottingPositionHelper.hxx +++ b/chart2/source/view/inc/PlottingPositionHelper.hxx @@ -19,18 +19,20 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_PLOTTINGPOSITIONHELPER_HXX #define INCLUDED_CHART2_SOURCE_VIEW_INC_PLOTTINGPOSITIONHELPER_HXX -#include "LabelAlignment.hxx" #include #include #include -#include #include -#include -#include #include -#include #include +#include +#include + +namespace com { namespace sun { namespace star { namespace chart2 { class XTransformation; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } } +namespace com { namespace sun { namespace star { namespace drawing { struct HomogenMatrix; } } } } +namespace com { namespace sun { namespace star { namespace drawing { struct PolyPolygonShape3D; } } } } namespace chart { diff --git a/chart2/source/view/inc/PolarLabelPositionHelper.hxx b/chart2/source/view/inc/PolarLabelPositionHelper.hxx index 593a35b52fd5..9119889643c4 100644 --- a/chart2/source/view/inc/PolarLabelPositionHelper.hxx +++ b/chart2/source/view/inc/PolarLabelPositionHelper.hxx @@ -22,7 +22,6 @@ #include "LabelPositionHelper.hxx" #include -#include namespace chart { diff --git a/chart2/source/view/inc/PropertyMapper.hxx b/chart2/source/view/inc/PropertyMapper.hxx index 20f2356d4347..94b3a1c6b60b 100644 --- a/chart2/source/view/inc/PropertyMapper.hxx +++ b/chart2/source/view/inc/PropertyMapper.hxx @@ -23,11 +23,13 @@ #include -#include -#include +#include +#include #include +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } + namespace chart { diff --git a/chart2/source/view/inc/ScaleAutomatism.hxx b/chart2/source/view/inc/ScaleAutomatism.hxx index 2819a70eb1cc..df2e203bc0d6 100644 --- a/chart2/source/view/inc/ScaleAutomatism.hxx +++ b/chart2/source/view/inc/ScaleAutomatism.hxx @@ -19,11 +19,13 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_SCALEAUTOMATISM_HXX #define INCLUDED_CHART2_SOURCE_VIEW_INC_SCALEAUTOMATISM_HXX -#include #include #include +namespace chart { struct ExplicitIncrementData; } +namespace chart { struct ExplicitScaleData; } + namespace chart { diff --git a/chart2/source/view/inc/VCoordinateSystem.hxx b/chart2/source/view/inc/VCoordinateSystem.hxx index 7a4a7110a2e4..ba571bd6992c 100644 --- a/chart2/source/view/inc/VCoordinateSystem.hxx +++ b/chart2/source/view/inc/VCoordinateSystem.hxx @@ -20,22 +20,26 @@ #define INCLUDED_CHART2_SOURCE_VIEW_INC_VCOORDINATESYSTEM_HXX #include "MinimumAndMaximumSupplier.hxx" -#include "ScaleAutomatism.hxx" #include -#include #include - -#include -#include #include -#include -#include -#include #include #include #include +namespace chart { class ExplicitCategoriesProvider; } +namespace chart { class ScaleAutomatism; } +namespace com { namespace sun { namespace star { namespace awt { struct Rectangle; } } } } +namespace com { namespace sun { namespace star { namespace awt { struct Size; } } } } +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XAxis; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XCoordinateSystem; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } } +namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } } + + namespace chart { diff --git a/chart2/source/view/inc/VDataSeries.hxx b/chart2/source/view/inc/VDataSeries.hxx index 1566c642c745..4a20eb79bfea 100644 --- a/chart2/source/view/inc/VDataSeries.hxx +++ b/chart2/source/view/inc/VDataSeries.hxx @@ -21,22 +21,21 @@ #include "PropertyMapper.hxx" -#include -#include #include -#include -#include -#include -#include #include -#include -#include -#include +#include #include -#include #include +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XChartType; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XDataSeries; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { namespace data { class XDataSequence; } } } } } +namespace com { namespace sun { namespace star { namespace chart2 { struct DataPointLabel; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { struct Symbol; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } } + namespace chart { diff --git a/chart2/source/view/inc/VDiagram.hxx b/chart2/source/view/inc/VDiagram.hxx index f867a0a2f4b1..4c960776a59e 100644 --- a/chart2/source/view/inc/VDiagram.hxx +++ b/chart2/source/view/inc/VDiagram.hxx @@ -19,11 +19,17 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_VDIAGRAM_HXX #define INCLUDED_CHART2_SOURCE_VIEW_INC_VDIAGRAM_HXX -#include #include -#include -#include "AbstractShapeFactory.hxx" #include +#include +#include +#include + +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XDiagram; } } } } +namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } } + namespace chart { diff --git a/chart2/source/view/inc/VLegendSymbolFactory.hxx b/chart2/source/view/inc/VLegendSymbolFactory.hxx index e5ff577bfb07..6690b9464966 100644 --- a/chart2/source/view/inc/VLegendSymbolFactory.hxx +++ b/chart2/source/view/inc/VLegendSymbolFactory.hxx @@ -20,9 +20,14 @@ #define INCLUDED_CHART2_SOURCE_VIEW_INC_VLEGENDSYMBOLFACTORY_HXX #include "LegendEntryProvider.hxx" -#include -#include -#include +#include + +namespace com { namespace sun { namespace star { namespace awt { struct Size; } } } } +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } } +namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } } +namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } } +namespace com { namespace sun { namespace star { namespace uno { class Any; } } } } namespace chart { diff --git a/chart2/source/view/inc/VLineProperties.hxx b/chart2/source/view/inc/VLineProperties.hxx index 2e16ed29c8af..e2fe6e5e37c3 100644 --- a/chart2/source/view/inc/VLineProperties.hxx +++ b/chart2/source/view/inc/VLineProperties.hxx @@ -20,7 +20,10 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_VLINEPROPERTIES_HXX #define INCLUDED_CHART2_SOURCE_VIEW_INC_VLINEPROPERTIES_HXX -#include +#include +#include + +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } namespace chart { diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx index 6613596cbb74..afe4fb9bdcea 100644 --- a/chart2/source/view/inc/VSeriesPlotter.hxx +++ b/chart2/source/view/inc/VSeriesPlotter.hxx @@ -25,10 +25,15 @@ #include "LabelAlignment.hxx" #include "MinimumAndMaximumSupplier.hxx" #include "LegendEntryProvider.hxx" -#include -#include #include +namespace com { namespace sun { namespace star { namespace awt { struct Point; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XChartType; } } } } + + +namespace chart { class ExplicitCategoriesProvider; } +namespace chart { struct ExplicitScaleData; } + namespace com { namespace sun { namespace star { namespace util { class XNumberFormatsSupplier; diff --git a/chart2/source/view/main/AbstractShapeFactory.cxx b/chart2/source/view/main/AbstractShapeFactory.cxx index 87a09efa1810..840878e2200f 100644 --- a/chart2/source/view/main/AbstractShapeFactory.cxx +++ b/chart2/source/view/main/AbstractShapeFactory.cxx @@ -25,6 +25,8 @@ #include #include #include +#include +#include #include #include @@ -35,6 +37,7 @@ #include #include +#include #include #include #include diff --git a/chart2/source/view/main/DataPointSymbolSupplier.cxx b/chart2/source/view/main/DataPointSymbolSupplier.cxx index 54ba3f7eb8c6..fa0f4abffa8e 100644 --- a/chart2/source/view/main/DataPointSymbolSupplier.cxx +++ b/chart2/source/view/main/DataPointSymbolSupplier.cxx @@ -19,6 +19,7 @@ #include #include +#include namespace chart { diff --git a/chart2/source/view/main/LabelPositionHelper.cxx b/chart2/source/view/main/LabelPositionHelper.cxx index 29dfc3259d4b..111a396a4b49 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/PlottingPositionHelper.cxx b/chart2/source/view/main/PlottingPositionHelper.cxx index 8232ec5a6591..9ad4f4465e53 100644 --- a/chart2/source/view/main/PlottingPositionHelper.cxx +++ b/chart2/source/view/main/PlottingPositionHelper.cxx @@ -31,6 +31,7 @@ #include #include #include +#include #include diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx index 6241563e82fa..4a4c65833c59 100644 --- a/chart2/source/view/main/PropertyMapper.cxx +++ b/chart2/source/view/main/PropertyMapper.cxx @@ -21,6 +21,7 @@ #include #include +#include #include #include #include diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx index 738a52a3cabb..f92742727165 100644 --- a/chart2/source/view/main/ShapeFactory.cxx +++ b/chart2/source/view/main/ShapeFactory.cxx @@ -23,8 +23,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -40,7 +42,11 @@ #include #include #include +#include +#include +#include #include +#include #include #include #include diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index f1b06799bed9..80655b8bd31e 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -28,6 +28,7 @@ #include #include +#include #include #include diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx index 15494a12f27c..17889044e591 100644 --- a/chart2/source/view/main/VLegend.cxx +++ b/chart2/source/view/main/VLegend.cxx @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include diff --git a/chart2/source/view/main/VLegendSymbolFactory.cxx b/chart2/source/view/main/VLegendSymbolFactory.cxx index f2f49f22e6d6..cae5ee197144 100644 --- a/chart2/source/view/main/VLegendSymbolFactory.cxx +++ b/chart2/source/view/main/VLegendSymbolFactory.cxx @@ -22,7 +22,10 @@ #include #include #include +#include #include +#include +#include #include using namespace ::com::sun::star; diff --git a/chart2/source/view/main/VLineProperties.cxx b/chart2/source/view/main/VLineProperties.cxx index e694410ad298..2f79f0e56391 100644 --- a/chart2/source/view/main/VLineProperties.cxx +++ b/chart2/source/view/main/VLineProperties.cxx @@ -19,6 +19,7 @@ #include #include +#include namespace chart { -- cgit