diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-10-07 09:28:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-10-08 14:00:17 +0200 |
commit | 60706b01d18f5c8ff52aff73a2032f641873533c (patch) | |
tree | 44707846a08665f6e588be98d75722c0ae40ed16 /chart2/source/model | |
parent | 57b3161eb9ffb890c26e78309c4e833f631600ff (diff) |
tdf#42949 Fix IWYU warnings in chart2/source/model/*cxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ic4fdbad7469d506d7cf308cb96f069b781dd1f58
Reviewed-on: https://gerrit.libreoffice.org/61488
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'chart2/source/model')
41 files changed, 34 insertions, 136 deletions
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx index f4012e7d3248..f24864e57949 100644 --- a/chart2/source/model/filter/XMLFilter.cxx +++ b/chart2/source/model/filter/XMLFilter.cxx @@ -28,7 +28,6 @@ #include <cppuhelper/supportsservice.hxx> #include <comphelper/sequence.hxx> -#include <sot/storage.hxx> #include <osl/diagnose.h> #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> @@ -47,7 +46,6 @@ #include <com/sun/star/xml/sax/SAXParseException.hpp> #include <com/sun/star/packages/zip/ZipIOException.hpp> #include <com/sun/star/document/GraphicStorageHandler.hpp> -#include <com/sun/star/document/XGraphicStorageHandler.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <tools/diagnose_ex.h> #include <sal/log.hxx> diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx index fe589063dd97..7f0e0c07233e 100644 --- a/chart2/source/model/main/Axis.cxx +++ b/chart2/source/model/main/Axis.cxx @@ -33,15 +33,8 @@ #include <com/sun/star/chart/ChartAxisLabelPosition.hpp> #include <com/sun/star/chart/ChartAxisMarkPosition.hpp> #include <com/sun/star/chart/ChartAxisPosition.hpp> -#include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/lang/Locale.hpp> -#include <com/sun/star/drawing/LineStyle.hpp> -#include <com/sun/star/drawing/LineDash.hpp> -#include <com/sun/star/drawing/LineJoint.hpp> #include <com/sun/star/awt/Size.hpp> -#include <rtl/uuid.h> -#include <cppuhelper/queryinterface.hxx> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> diff --git a/chart2/source/model/main/BaseCoordinateSystem.cxx b/chart2/source/model/main/BaseCoordinateSystem.cxx index 34f497a149fd..cd5b1e4fab36 100644 --- a/chart2/source/model/main/BaseCoordinateSystem.cxx +++ b/chart2/source/model/main/BaseCoordinateSystem.cxx @@ -24,14 +24,12 @@ #include <CloneHelper.hxx> #include <ModifyListenerHelper.hxx> #include "Axis.hxx" -#include <AxisHelper.hxx> #include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/container/NoSuchElementException.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <tools/diagnose_ex.h> #include <algorithm> -#include <iterator> #include <com/sun/star/beans/PropertyAttribute.hpp> diff --git a/chart2/source/model/main/CartesianCoordinateSystem.cxx b/chart2/source/model/main/CartesianCoordinateSystem.cxx index c06fbb95766b..766afaddda11 100644 --- a/chart2/source/model/main/CartesianCoordinateSystem.cxx +++ b/chart2/source/model/main/CartesianCoordinateSystem.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/uno/XComponentContext.hpp> #include <CartesianCoordinateSystem.hxx> #include <servicenames_coosystems.hxx> #include <cppuhelper/supportsservice.hxx> @@ -28,6 +27,8 @@ using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + namespace { diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 019703701d9e..1940b16f04c3 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -19,10 +19,8 @@ #include <ChartModel.hxx> #include <servicenames.hxx> -#include <MediaDescriptorHelper.hxx> #include <DataSourceHelper.hxx> #include <ChartModelHelper.hxx> -#include <DiagramHelper.hxx> #include <DisposeHelper.hxx> #include <ControllerLockGuard.hxx> #include <ObjectIdentifier.hxx> @@ -33,7 +31,6 @@ #include <ChartView.hxx> #include <PopupRequest.hxx> #include <ModifyListenerHelper.hxx> -#include <svx/charthelper.hxx> #include <com/sun/star/chart/ChartDataRowSource.hpp> #include <com/sun/star/chart2/data/XPivotTableDataProvider.hpp> @@ -46,25 +43,15 @@ #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/view/XSelectionSupplier.hpp> -#include <com/sun/star/embed/XEmbedObjectCreator.hpp> -#include <com/sun/star/embed/XEmbedPersist.hpp> -#include <com/sun/star/embed/EmbedStates.hpp> -#include <com/sun/star/embed/XComponentSupplier.hpp> -#include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/embed/EmbedMapUnits.hpp> #include <com/sun/star/embed/Aspects.hpp> -#include <com/sun/star/awt/Gradient.hpp> -#include <com/sun/star/awt/XWindow.hpp> -#include <com/sun/star/awt/PosSize.hpp> #include <com/sun/star/datatransfer/UnsupportedFlavorException.hpp> #include <com/sun/star/datatransfer/XTransferable.hpp> -#include <com/sun/star/drawing/Hatch.hpp> -#include <com/sun/star/drawing/LineDash.hpp> #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/document/DocumentProperties.hpp> -#include <com/sun/star/chart2/XTimeBased.hpp> #include <com/sun/star/util/CloseVetoException.hpp> #include <com/sun/star/util/XModifyBroadcaster.hpp> +#include <com/sun/star/chart2/XChartTypeTemplate.hpp> #include <sal/log.hxx> #include <svl/zforlist.hxx> diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx index 369fd6d61bd5..dcf867eede57 100644 --- a/chart2/source/model/main/ChartModel_Persistence.cxx +++ b/chart2/source/model/main/ChartModel_Persistence.cxx @@ -40,7 +40,6 @@ #include <com/sun/star/embed/StorageFactory.hpp> #include <com/sun/star/io/IOException.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <com/sun/star/sheet/XSpreadsheetDocument.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/io/TempFile.hpp> #include <com/sun/star/io/XSeekable.hpp> @@ -54,7 +53,6 @@ #include <vcl/cvtgrf.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/storagehelper.hxx> -#include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <tools/diagnose_ex.h> #include <sal/log.hxx> diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx index bfe56b09a19a..6bbdd6f525ac 100644 --- a/chart2/source/model/main/DataPoint.cxx +++ b/chart2/source/model/main/DataPoint.cxx @@ -23,8 +23,6 @@ #include <UserDefinedProperties.hxx> #include <PropertyHelper.hxx> #include <ModifyListenerHelper.hxx> -#include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/chart2/source/model/main/DataPointProperties.cxx b/chart2/source/model/main/DataPointProperties.cxx index 54cc26b325b3..1cb709d0559c 100644 --- a/chart2/source/model/main/DataPointProperties.cxx +++ b/chart2/source/model/main/DataPointProperties.cxx @@ -26,8 +26,6 @@ #include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/drawing/LineDash.hpp> -#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp> -#include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/drawing/BitmapMode.hpp> #include <com/sun/star/drawing/RectanglePoint.hpp> #include <com/sun/star/chart2/XDataPointCustomLabelField.hpp> diff --git a/chart2/source/model/main/DataSeries.cxx b/chart2/source/model/main/DataSeries.cxx index 9ef10eb0ae12..85452f2f6911 100644 --- a/chart2/source/model/main/DataSeries.cxx +++ b/chart2/source/model/main/DataSeries.cxx @@ -30,12 +30,13 @@ #include <EventListenerHelper.hxx> #include <com/sun/star/container/NoSuchElementException.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> #include <algorithm> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; using ::com::sun::star::beans::Property; diff --git a/chart2/source/model/main/DataSeriesProperties.cxx b/chart2/source/model/main/DataSeriesProperties.cxx index b26d7db1c674..6c7e38d7e038 100644 --- a/chart2/source/model/main/DataSeriesProperties.cxx +++ b/chart2/source/model/main/DataSeriesProperties.cxx @@ -19,13 +19,9 @@ #include "DataSeriesProperties.hxx" #include "DataPointProperties.hxx" -#include "DataPoint.hxx" #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/chart2/StackingDirection.hpp> -#include <algorithm> - using namespace ::com::sun::star; using ::com::sun::star::beans::Property; diff --git a/chart2/source/model/main/Diagram.cxx b/chart2/source/model/main/Diagram.cxx index bc680705783e..0e627e6787e6 100644 --- a/chart2/source/model/main/Diagram.cxx +++ b/chart2/source/model/main/Diagram.cxx @@ -26,10 +26,7 @@ #include <DiagramHelper.hxx> #include <ThreeDHelper.hxx> #include <CloneHelper.hxx> -#include <AxisHelper.hxx> #include <SceneProperties.hxx> -#include <DisposeHelper.hxx> -#include <BaseGFXHelper.hxx> #include <unonames.hxx> #include <basegfx/numeric/ftools.hxx> @@ -38,17 +35,13 @@ #include <com/sun/star/chart2/RelativePosition.hpp> #include <com/sun/star/chart2/RelativeSize.hpp> #include <com/sun/star/container/NoSuchElementException.hpp> -#include <com/sun/star/drawing/CameraGeometry.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/drawing/HomogenMatrix.hpp> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> #include <algorithm> -#include <iterator> -#include <functional> using namespace ::com::sun::star; using namespace ::com::sun::star::beans::PropertyAttribute; diff --git a/chart2/source/model/main/FormattedString.cxx b/chart2/source/model/main/FormattedString.cxx index eb9ded888cd3..b93dbb31104a 100644 --- a/chart2/source/model/main/FormattedString.cxx +++ b/chart2/source/model/main/FormattedString.cxx @@ -22,11 +22,11 @@ #include <CharacterProperties.hxx> #include <PropertyHelper.hxx> #include <ModifyListenerHelper.hxx> -#include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; using ::com::sun::star::beans::Property; diff --git a/chart2/source/model/main/GridProperties.cxx b/chart2/source/model/main/GridProperties.cxx index 3abd7313267f..abe70b6f9288 100644 --- a/chart2/source/model/main/GridProperties.cxx +++ b/chart2/source/model/main/GridProperties.cxx @@ -22,14 +22,14 @@ #include <UserDefinedProperties.hxx> #include <PropertyHelper.hxx> #include <ModifyListenerHelper.hxx> -#include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> +namespace com { namespace sun { namespace star { namespace beans { class XPropertySetInfo; } } } } +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/model/main/Legend.cxx b/chart2/source/model/main/Legend.cxx index aa72ddeebd7d..07a56608e562 100644 --- a/chart2/source/model/main/Legend.cxx +++ b/chart2/source/model/main/Legend.cxx @@ -22,9 +22,7 @@ #include <FillProperties.hxx> #include <CharacterProperties.hxx> #include <UserDefinedProperties.hxx> -#include <LegendHelper.hxx> #include <ModifyListenerHelper.hxx> -#include <CloneHelper.hxx> #include <PropertyHelper.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/awt/Size.hpp> @@ -37,6 +35,8 @@ #include <algorithm> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; using namespace ::com::sun::star::beans::PropertyAttribute; diff --git a/chart2/source/model/main/PageBackground.cxx b/chart2/source/model/main/PageBackground.cxx index e7be1dfc30bf..a424bf2144f2 100644 --- a/chart2/source/model/main/PageBackground.cxx +++ b/chart2/source/model/main/PageBackground.cxx @@ -25,15 +25,14 @@ #include <ModifyListenerHelper.hxx> #include <com/sun/star/drawing/LineStyle.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <rtl/uuid.h> -#include <cppuhelper/queryinterface.hxx> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> #include <vector> #include <algorithm> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; using ::com::sun::star::beans::Property; diff --git a/chart2/source/model/main/PolarCoordinateSystem.cxx b/chart2/source/model/main/PolarCoordinateSystem.cxx index d84be4322485..fac2c282485b 100644 --- a/chart2/source/model/main/PolarCoordinateSystem.cxx +++ b/chart2/source/model/main/PolarCoordinateSystem.cxx @@ -20,7 +20,8 @@ #include <PolarCoordinateSystem.hxx> #include <servicenames_coosystems.hxx> #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/uno/XComponentContext.hpp> + +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } using namespace ::com::sun::star; diff --git a/chart2/source/model/main/StockBar.cxx b/chart2/source/model/main/StockBar.cxx index 3d3b34bce17c..bd512244cfd5 100644 --- a/chart2/source/model/main/StockBar.cxx +++ b/chart2/source/model/main/StockBar.cxx @@ -23,14 +23,13 @@ #include <UserDefinedProperties.hxx> #include <PropertyHelper.hxx> #include <ModifyListenerHelper.hxx> -#include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/style/XStyle.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <tools/diagnose_ex.h> #include <algorithm> +namespace com { namespace sun { namespace star { namespace beans { class XPropertySetInfo; } } } } + using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/model/main/Title.cxx b/chart2/source/model/main/Title.cxx index 7ce84c505b50..d082d5190eb8 100644 --- a/chart2/source/model/main/Title.cxx +++ b/chart2/source/model/main/Title.cxx @@ -18,7 +18,6 @@ */ #include "Title.hxx" -#include "FormattedString.hxx" #include <LinePropertiesHelper.hxx> #include <FillProperties.hxx> #include <ContainerHelper.hxx> @@ -30,16 +29,15 @@ #include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/chart2/RelativePosition.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/awt/Size.hpp> -#include <rtl/uuid.h> -#include <cppuhelper/queryinterface.hxx> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> #include <vector> #include <algorithm> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; using namespace ::com::sun::star::beans::PropertyAttribute; diff --git a/chart2/source/model/main/Wall.cxx b/chart2/source/model/main/Wall.cxx index 75b8f4bcdb9c..7814d7095366 100644 --- a/chart2/source/model/main/Wall.cxx +++ b/chart2/source/model/main/Wall.cxx @@ -23,22 +23,13 @@ #include <UserDefinedProperties.hxx> #include <PropertyHelper.hxx> #include <ModifyListenerHelper.hxx> -#include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/drawing/FillStyle.hpp> -#include <com/sun/star/awt/Gradient.hpp> -#include <com/sun/star/drawing/Hatch.hpp> #include <com/sun/star/drawing/LineStyle.hpp> -#include <com/sun/star/drawing/LineDash.hpp> -#include <com/sun/star/drawing/LineJoint.hpp> -#include <rtl/uuid.h> -#include <cppuhelper/queryinterface.hxx> #include <tools/diagnose_ex.h> #include <vector> #include <algorithm> using namespace ::com::sun::star; -using namespace ::com::sun::star::beans::PropertyAttribute; using ::com::sun::star::beans::Property; diff --git a/chart2/source/model/template/AreaChartType.cxx b/chart2/source/model/template/AreaChartType.cxx index 3384d0f2b4a7..fb3131f052dc 100644 --- a/chart2/source/model/template/AreaChartType.cxx +++ b/chart2/source/model/template/AreaChartType.cxx @@ -18,10 +18,11 @@ */ #include "AreaChartType.hxx" -#include <com/sun/star/uno/XComponentContext.hpp> #include <servicenames_charttypes.hxx> #include <cppuhelper/supportsservice.hxx> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; namespace chart diff --git a/chart2/source/model/template/BarChartType.cxx b/chart2/source/model/template/BarChartType.cxx index 6b206d2d85b2..14c36251efbd 100644 --- a/chart2/source/model/template/BarChartType.cxx +++ b/chart2/source/model/template/BarChartType.cxx @@ -18,10 +18,11 @@ */ #include "BarChartType.hxx" -#include <com/sun/star/uno/XComponentContext.hpp> #include <servicenames_charttypes.hxx> #include <cppuhelper/supportsservice.hxx> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; namespace chart diff --git a/chart2/source/model/template/BubbleChartType.cxx b/chart2/source/model/template/BubbleChartType.cxx index 6d154031846b..185eb7d46704 100644 --- a/chart2/source/model/template/BubbleChartType.cxx +++ b/chart2/source/model/template/BubbleChartType.cxx @@ -23,9 +23,7 @@ #include <CartesianCoordinateSystem.hxx> #include <AxisHelper.hxx> #include <AxisIndexDefines.hxx> -#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/chart2/AxisType.hpp> -#include <com/sun/star/chart2/CurveStyle.hpp> #include <cppuhelper/supportsservice.hxx> using namespace ::com::sun::star; diff --git a/chart2/source/model/template/BubbleChartTypeTemplate.cxx b/chart2/source/model/template/BubbleChartTypeTemplate.cxx index 1f1800b07363..90ec1a75db21 100644 --- a/chart2/source/model/template/BubbleChartTypeTemplate.cxx +++ b/chart2/source/model/template/BubbleChartTypeTemplate.cxx @@ -19,14 +19,10 @@ #include "BubbleChartTypeTemplate.hxx" #include "BubbleDataInterpreter.hxx" -#include <CartesianCoordinateSystem.hxx> -#include <Scaling.hxx> -#include <DiagramHelper.hxx> #include <servicenames_charttypes.hxx> #include <DataSeriesHelper.hxx> #include <com/sun/star/drawing/LineStyle.hpp> #include <PropertyHelper.hxx> -#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <tools/diagnose_ex.h> diff --git a/chart2/source/model/template/BubbleDataInterpreter.cxx b/chart2/source/model/template/BubbleDataInterpreter.cxx index f20bb39fecb3..6f1fc604bb49 100644 --- a/chart2/source/model/template/BubbleDataInterpreter.cxx +++ b/chart2/source/model/template/BubbleDataInterpreter.cxx @@ -21,7 +21,6 @@ #include <DataSeries.hxx> #include <DataSeriesHelper.hxx> #include <CommonConverters.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/chart2/data/XDataSink.hpp> #include <com/sun/star/util/XCloneable.hpp> #include <tools/diagnose_ex.h> diff --git a/chart2/source/model/template/CandleStickChartType.cxx b/chart2/source/model/template/CandleStickChartType.cxx index 673df6326b17..50de726e796c 100644 --- a/chart2/source/model/template/CandleStickChartType.cxx +++ b/chart2/source/model/template/CandleStickChartType.cxx @@ -23,10 +23,11 @@ #include <ModifyListenerHelper.hxx> #include <servicenames_charttypes.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; using ::com::sun::star::beans::Property; diff --git a/chart2/source/model/template/ChartType.cxx b/chart2/source/model/template/ChartType.cxx index c888019e8dc1..27302b114c92 100644 --- a/chart2/source/model/template/ChartType.cxx +++ b/chart2/source/model/template/ChartType.cxx @@ -18,8 +18,6 @@ */ #include "ChartType.hxx" -#include <PropertyHelper.hxx> -#include <CommonFunctors.hxx> #include <CartesianCoordinateSystem.hxx> #include <AxisHelper.hxx> #include <CloneHelper.hxx> @@ -28,7 +26,6 @@ #include <vcl/svapp.hxx> #include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/container/NoSuchElementException.hpp> -#include <com/sun/star/beans/PropertyAttribute.hpp> #include <tools/diagnose_ex.h> using namespace ::com::sun::star; diff --git a/chart2/source/model/template/ChartTypeManager.cxx b/chart2/source/model/template/ChartTypeManager.cxx index 641ddfe91646..2d458a05faec 100644 --- a/chart2/source/model/template/ChartTypeManager.cxx +++ b/chart2/source/model/template/ChartTypeManager.cxx @@ -20,8 +20,6 @@ #include <ChartTypeManager.hxx> #include <StackMode.hxx> -#include <CartesianCoordinateSystem.hxx> - #include "LineChartTypeTemplate.hxx" #include "BarChartTypeTemplate.hxx" #include "ColumnLineChartTypeTemplate.hxx" @@ -31,20 +29,15 @@ #include "StockChartTypeTemplate.hxx" #include "NetChartTypeTemplate.hxx" #include "BubbleChartTypeTemplate.hxx" -#include <config_features.h> -#include <cppuhelper/component_context.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/container/XContentEnumerationAccess.hpp> #include <com/sun/star/lang/XServiceName.hpp> -#include <com/sun/star/chart/ChartSolidType.hpp> -#include <com/sun/star/chart2/CurveStyle.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <tools/diagnose_ex.h> #include <sal/log.hxx> #include <algorithm> #include <iterator> -#include <functional> #include <o3tl/functional.hxx> #include <map> diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx index 5577176821c5..4d039476f473 100644 --- a/chart2/source/model/template/ChartTypeTemplate.cxx +++ b/chart2/source/model/template/ChartTypeTemplate.cxx @@ -18,22 +18,16 @@ */ #include "ChartTypeTemplate.hxx" -#include <PropertyHelper.hxx> -#include <DataSeriesHelper.hxx> #include "DataInterpreter.hxx" #include <CommonConverters.hxx> #include <ChartTypeHelper.hxx> -#include <CartesianCoordinateSystem.hxx> #include <AxisHelper.hxx> -#include <LegendHelper.hxx> #include <DiagramHelper.hxx> #include <AxisIndexDefines.hxx> #include <unonames.hxx> -#include <cppuhelper/component_context.hxx> #include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/chart/ChartSolidType.hpp> #include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/StackingDirection.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> @@ -41,9 +35,9 @@ #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> #include <tools/diagnose_ex.h> #include <comphelper/property.hxx> +#include <comphelper/sequence.hxx> #include <algorithm> -#include <iterator> using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/model/template/ColumnChartType.cxx b/chart2/source/model/template/ColumnChartType.cxx index 016b8bc940b2..cc4e5950052e 100644 --- a/chart2/source/model/template/ColumnChartType.cxx +++ b/chart2/source/model/template/ColumnChartType.cxx @@ -21,9 +21,10 @@ #include <servicenames_charttypes.hxx> #include <PropertyHelper.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/supportsservice.hxx> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + using namespace ::com::sun::star; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; diff --git a/chart2/source/model/template/ColumnLineDataInterpreter.cxx b/chart2/source/model/template/ColumnLineDataInterpreter.cxx index 7f15eb7bcc70..b99324d27c00 100644 --- a/chart2/source/model/template/ColumnLineDataInterpreter.cxx +++ b/chart2/source/model/template/ColumnLineDataInterpreter.cxx @@ -18,15 +18,9 @@ */ #include "ColumnLineDataInterpreter.hxx" -#include <DataSeries.hxx> -#include <DataSeriesHelper.hxx> -#include <CommonConverters.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/chart2/data/XDataSink.hpp> +#include <osl/diagnose.h> -#include <vector> #include <algorithm> -#include <iterator> using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/model/template/DataInterpreter.cxx b/chart2/source/model/template/DataInterpreter.cxx index 849c4e3404bf..a0b1d9641f2f 100644 --- a/chart2/source/model/template/DataInterpreter.cxx +++ b/chart2/source/model/template/DataInterpreter.cxx @@ -26,11 +26,9 @@ #include <com/sun/star/chart2/data/XDataSink.hpp> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> -#include <sal/log.hxx> #include <vector> #include <algorithm> -#include <iterator> using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/model/template/FilledNetChartType.cxx b/chart2/source/model/template/FilledNetChartType.cxx index 014d03dc0822..7739ab090b11 100644 --- a/chart2/source/model/template/FilledNetChartType.cxx +++ b/chart2/source/model/template/FilledNetChartType.cxx @@ -18,14 +18,10 @@ */ #include "FilledNetChartType.hxx" -#include <PropertyHelper.hxx> -#include <PolarCoordinateSystem.hxx> -#include <Scaling.hxx> #include <servicenames_charttypes.hxx> -#include <AxisIndexDefines.hxx> -#include <com/sun/star/chart2/AxisType.hpp> #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/uno/XComponentContext.hpp> + +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/model/template/LineChartType.cxx b/chart2/source/model/template/LineChartType.cxx index bd4de28ea4ee..bf8d8dbe396f 100644 --- a/chart2/source/model/template/LineChartType.cxx +++ b/chart2/source/model/template/LineChartType.cxx @@ -25,7 +25,8 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/chart2/CurveStyle.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> + +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } using namespace ::com::sun::star; diff --git a/chart2/source/model/template/NetChartType.cxx b/chart2/source/model/template/NetChartType.cxx index 869a2c3bf146..8099bfa05eb7 100644 --- a/chart2/source/model/template/NetChartType.cxx +++ b/chart2/source/model/template/NetChartType.cxx @@ -18,14 +18,12 @@ */ #include "NetChartType.hxx" -#include <PropertyHelper.hxx> #include <PolarCoordinateSystem.hxx> #include <servicenames_charttypes.hxx> #include <AxisIndexDefines.hxx> #include <AxisHelper.hxx> #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/chart2/AxisType.hpp> using namespace ::com::sun::star; diff --git a/chart2/source/model/template/NetChartTypeTemplate.cxx b/chart2/source/model/template/NetChartTypeTemplate.cxx index 331342362dff..fed499cb3970 100644 --- a/chart2/source/model/template/NetChartTypeTemplate.cxx +++ b/chart2/source/model/template/NetChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "NetChartTypeTemplate.hxx" -#include <PolarCoordinateSystem.hxx> #include <DiagramHelper.hxx> #include <servicenames_charttypes.hxx> #include <DataSeriesHelper.hxx> diff --git a/chart2/source/model/template/PieChartTypeTemplate.cxx b/chart2/source/model/template/PieChartTypeTemplate.cxx index 6993eaa6c40d..25b97c2a3a90 100644 --- a/chart2/source/model/template/PieChartTypeTemplate.cxx +++ b/chart2/source/model/template/PieChartTypeTemplate.cxx @@ -22,13 +22,11 @@ #include <DiagramHelper.hxx> #include <servicenames_charttypes.hxx> #include <DataSeriesHelper.hxx> -#include <BaseGFXHelper.hxx> #include <AxisHelper.hxx> #include <ThreeDHelper.hxx> #include <PropertyHelper.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/drawing/LineStyle.hpp> -#include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> diff --git a/chart2/source/model/template/ScatterChartType.hxx b/chart2/source/model/template/ScatterChartType.hxx index 28a7aab24488..e7f1e24de3cf 100644 --- a/chart2/source/model/template/ScatterChartType.hxx +++ b/chart2/source/model/template/ScatterChartType.hxx @@ -20,7 +20,6 @@ #define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_SCATTERCHARTTYPE_HXX #include "ChartType.hxx" -#include <com/sun/star/chart2/CurveStyle.hpp> namespace chart { diff --git a/chart2/source/model/template/ScatterChartTypeTemplate.cxx b/chart2/source/model/template/ScatterChartTypeTemplate.cxx index 15399ce3821f..e0dc1cd1183a 100644 --- a/chart2/source/model/template/ScatterChartTypeTemplate.cxx +++ b/chart2/source/model/template/ScatterChartTypeTemplate.cxx @@ -19,7 +19,6 @@ #include "ScatterChartTypeTemplate.hxx" #include "XYDataInterpreter.hxx" -#include <CartesianCoordinateSystem.hxx> #include <DiagramHelper.hxx> #include <servicenames_charttypes.hxx> #include <DataSeriesHelper.hxx> diff --git a/chart2/source/model/template/StockChartTypeTemplate.cxx b/chart2/source/model/template/StockChartTypeTemplate.cxx index 8073dca0614d..33fd369aad34 100644 --- a/chart2/source/model/template/StockChartTypeTemplate.cxx +++ b/chart2/source/model/template/StockChartTypeTemplate.cxx @@ -20,14 +20,8 @@ #include "StockChartTypeTemplate.hxx" #include <DataSeriesHelper.hxx> #include "StockDataInterpreter.hxx" -#include <CartesianCoordinateSystem.hxx> -#include <AxisHelper.hxx> #include <DiagramHelper.hxx> #include <servicenames_charttypes.hxx> -#include <servicenames_coosystems.hxx> -#include <AxisIndexDefines.hxx> -#include <com/sun/star/chart2/AxisType.hpp> -#include <com/sun/star/chart2/data/XDataSource.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> diff --git a/chart2/source/model/template/StockDataInterpreter.cxx b/chart2/source/model/template/StockDataInterpreter.cxx index a6db346a44ea..634231f832ca 100644 --- a/chart2/source/model/template/StockDataInterpreter.cxx +++ b/chart2/source/model/template/StockDataInterpreter.cxx @@ -19,16 +19,9 @@ #include "StockDataInterpreter.hxx" #include <DataSeries.hxx> -#include <DataSeriesHelper.hxx> -#include <CommonConverters.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/chart2/data/XDataSink.hpp> #include <tools/diagnose_ex.h> -#include <vector> -#include <algorithm> -#include <iterator> - using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; using namespace ::std; diff --git a/chart2/source/model/template/XYDataInterpreter.cxx b/chart2/source/model/template/XYDataInterpreter.cxx index 9b2819d4d02e..a1a1ed2d329d 100644 --- a/chart2/source/model/template/XYDataInterpreter.cxx +++ b/chart2/source/model/template/XYDataInterpreter.cxx @@ -21,7 +21,6 @@ #include <DataSeries.hxx> #include <DataSeriesHelper.hxx> #include <CommonConverters.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/chart2/data/XDataSink.hpp> #include <com/sun/star/util/XCloneable.hpp> #include <tools/diagnose_ex.h> |