diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-06-10 23:37:01 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-06-16 12:26:17 +0200 |
commit | 8dacd42f3af903ac3daeef8f4dd444ffc7e1a99c (patch) | |
tree | 9c5f21266749a0557687ce83faef65f763460021 /chart2 | |
parent | 8ea8ad4e492583e6d1ff278ff0dc679531c8a20e (diff) |
tdf#42949 Fix IWYU warnings in chart2/source/model/{main,template}/*hxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I53b8ac58e5f5a3778835e06a73b5f6e11dce4357
Reviewed-on: https://gerrit.libreoffice.org/55569
Tested-by: Jenkins
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'chart2')
44 files changed, 121 insertions, 34 deletions
diff --git a/chart2/IwyuFilter_chart2.yaml b/chart2/IwyuFilter_chart2.yaml index 17a1f840b677..0283ca1619ea 100644 --- a/chart2/IwyuFilter_chart2.yaml +++ b/chart2/IwyuFilter_chart2.yaml @@ -260,6 +260,79 @@ blacklist: - com/sun/star/io/XActiveDataSource.hpp - com/sun/star/lang/XMultiServiceFactory.hpp - com/sun/star/lang/XServiceInfo.hpp + chart2/source/model/main/DataPoint.hxx: + # base class has to be a complete type + - com/sun/star/container/XChild.hpp + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/util/XCloneable.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + - com/sun/star/util/XModifyListener.hpp + chart2/source/model/main/Axis.hxx: + # base class has to be a complete type + - com/sun/star/chart2/XAxis.hpp + - com/sun/star/chart2/XTitled.hpp + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/util/XCloneable.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + - com/sun/star/util/XModifyListener.hpp + chart2/source/model/main/FormattedString.hxx: + # base class has to be a complete type + - com/sun/star/chart2/XDataPointCustomLabelField.hpp + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/util/XCloneable.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + - com/sun/star/util/XModifyListener.hpp + chart2/source/model/main/GridProperties.hxx: + # base class has to be a complete type + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/util/XCloneable.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + - com/sun/star/util/XModifyListener.hpp + chart2/source/model/main/Legend.hxx: + # base class has to be a complete type + - com/sun/star/chart2/XLegend.hpp + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/util/XCloneable.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + - com/sun/star/util/XModifyListener.hpp + chart2/source/model/main/PageBackground.hxx: + # base class has to be a complete type + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/util/XCloneable.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + - com/sun/star/util/XModifyListener.hpp + chart2/source/model/main/Title.hxx: + # base class has to be a complete type + - com/sun/star/chart2/XTitle.hpp + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/util/XCloneable.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + - com/sun/star/util/XModifyListener.hpp + chart2/source/model/main/UndoManager.hxx: + # base class has to be a complete type + - com/sun/star/document/XUndoManager.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + chart2/source/model/main/Wall.hxx: + # base class has to be a complete type + - com/sun/star/util/XCloneable.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + - com/sun/star/util/XModifyListener.hpp + chart2/source/model/template/ChartType.hxx: + # base class has to be a complete type + - com/sun/star/chart2/XChartType.hpp + - com/sun/star/chart2/XDataSeriesContainer.hpp + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/util/XCloneable.hpp + - com/sun/star/util/XModifyBroadcaster.hpp + - com/sun/star/util/XModifyListener.hpp + chart2/source/model/template/ChartTypeTemplate.hxx: + # base class has to be a complete type + - com/sun/star/chart2/XChartTypeTemplate.hpp + - com/sun/star/lang/XServiceName.hpp + chart2/source/model/template/DataInterpreter.hxx: + # base class has to be a complete type + - com/sun/star/chart2/XDataInterpreter.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 diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx index af7e8338699c..bd9081d6c83e 100644 --- a/chart2/source/model/main/Axis.cxx +++ b/chart2/source/model/main/Axis.cxx @@ -26,6 +26,7 @@ #include <CloneHelper.hxx> #include <AxisHelper.hxx> #include <EventListenerHelper.hxx> +#include <ModifyListenerHelper.hxx> #include <unonames.hxx> #include <com/sun/star/chart/ChartAxisArrangeOrderType.hpp> diff --git a/chart2/source/model/main/Axis.hxx b/chart2/source/model/main/Axis.hxx index 942dd7d4c489..49f4003bbb4f 100644 --- a/chart2/source/model/main/Axis.hxx +++ b/chart2/source/model/main/Axis.hxx @@ -19,13 +19,11 @@ #ifndef INCLUDED_CHART2_SOURCE_MODEL_MAIN_AXIS_HXX #define INCLUDED_CHART2_SOURCE_MODEL_MAIN_AXIS_HXX -#include <com/sun/star/uno/XComponentContext.hpp> #include <MutexContainer.hxx> #include <OPropertySet.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/uno3.hxx> -#include <ModifyListenerHelper.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/chart2/XAxis.hpp> #include <com/sun/star/chart2/XTitled.hpp> diff --git a/chart2/source/model/main/BaseCoordinateSystem.cxx b/chart2/source/model/main/BaseCoordinateSystem.cxx index dabba0889268..e42ee706e89a 100644 --- a/chart2/source/model/main/BaseCoordinateSystem.cxx +++ b/chart2/source/model/main/BaseCoordinateSystem.cxx @@ -22,6 +22,7 @@ #include <UserDefinedProperties.hxx> #include <ContainerHelper.hxx> #include <CloneHelper.hxx> +#include <ModifyListenerHelper.hxx> #include "Axis.hxx" #include <AxisHelper.hxx> #include <com/sun/star/chart2/AxisType.hpp> diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index d0ceb73b88e7..08c905f5202e 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -32,6 +32,7 @@ #include "UndoManager.hxx" #include <ChartView.hxx> #include <PopupRequest.hxx> +#include <ModifyListenerHelper.hxx> #include <svx/charthelper.hxx> #include <vcl/openglwin.hxx> diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx index b85f3f5ab2e0..edf9ed675b0c 100644 --- a/chart2/source/model/main/DataPoint.cxx +++ b/chart2/source/model/main/DataPoint.cxx @@ -22,6 +22,7 @@ #include <CharacterProperties.hxx> #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> diff --git a/chart2/source/model/main/DataPoint.hxx b/chart2/source/model/main/DataPoint.hxx index 6236d210d6b8..de3e5020387c 100644 --- a/chart2/source/model/main/DataPoint.hxx +++ b/chart2/source/model/main/DataPoint.hxx @@ -24,11 +24,12 @@ #include <comphelper/uno3.hxx> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/util/XCloneable.hpp> +#include <com/sun/star/util/XModifyBroadcaster.hpp> +#include <com/sun/star/util/XModifyListener.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <OPropertySet.hxx> #include <MutexContainer.hxx> -#include <ModifyListenerHelper.hxx> namespace chart { diff --git a/chart2/source/model/main/DataPointProperties.hxx b/chart2/source/model/main/DataPointProperties.hxx index 6490b5c8cfe5..4b46e1a58397 100644 --- a/chart2/source/model/main/DataPointProperties.hxx +++ b/chart2/source/model/main/DataPointProperties.hxx @@ -21,10 +21,11 @@ #include <PropertyHelper.hxx> #include <FastPropertyIdRanges.hxx> -#include <com/sun/star/beans/Property.hpp> #include <vector> +namespace com { namespace sun { namespace star { namespace beans { struct Property; } } } } + namespace chart { diff --git a/chart2/source/model/main/DataSeriesProperties.hxx b/chart2/source/model/main/DataSeriesProperties.hxx index d35c7ce41019..e27b9acd44f2 100644 --- a/chart2/source/model/main/DataSeriesProperties.hxx +++ b/chart2/source/model/main/DataSeriesProperties.hxx @@ -21,10 +21,11 @@ #include <PropertyHelper.hxx> #include <FastPropertyIdRanges.hxx> -#include <com/sun/star/beans/Property.hpp> #include <vector> +namespace com { namespace sun { namespace star { namespace beans { struct Property; } } } } + namespace chart { diff --git a/chart2/source/model/main/Diagram.cxx b/chart2/source/model/main/Diagram.cxx index db848302a875..f32cc803688d 100644 --- a/chart2/source/model/main/Diagram.cxx +++ b/chart2/source/model/main/Diagram.cxx @@ -20,6 +20,7 @@ #include <Diagram.hxx> #include <PropertyHelper.hxx> #include "Wall.hxx" +#include <ModifyListenerHelper.hxx> #include <UserDefinedProperties.hxx> #include <ConfigColorScheme.hxx> #include <DiagramHelper.hxx> diff --git a/chart2/source/model/main/FormattedString.cxx b/chart2/source/model/main/FormattedString.cxx index ec3e73d6ff92..2a0608a79e08 100644 --- a/chart2/source/model/main/FormattedString.cxx +++ b/chart2/source/model/main/FormattedString.cxx @@ -21,7 +21,9 @@ #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> diff --git a/chart2/source/model/main/FormattedString.hxx b/chart2/source/model/main/FormattedString.hxx index aee7674081be..9d17d5f3885a 100644 --- a/chart2/source/model/main/FormattedString.hxx +++ b/chart2/source/model/main/FormattedString.hxx @@ -23,13 +23,11 @@ #include <OPropertySet.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/uno3.hxx> -#include <ModifyListenerHelper.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/chart2/XFormattedString2.hpp> -#include <com/sun/star/chart2/DataPointCustomLabelFieldType.hpp> #include <com/sun/star/chart2/XDataPointCustomLabelField.hpp> #include <com/sun/star/util/XCloneable.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> +#include <com/sun/star/util/XModifyBroadcaster.hpp> +#include <com/sun/star/util/XModifyListener.hpp> namespace chart { diff --git a/chart2/source/model/main/GridProperties.cxx b/chart2/source/model/main/GridProperties.cxx index 2d09454f069c..514e1d71e39f 100644 --- a/chart2/source/model/main/GridProperties.cxx +++ b/chart2/source/model/main/GridProperties.cxx @@ -21,10 +21,12 @@ #include <LinePropertiesHelper.hxx> #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> diff --git a/chart2/source/model/main/GridProperties.hxx b/chart2/source/model/main/GridProperties.hxx index 090e37edc2df..38d1f9a74ede 100644 --- a/chart2/source/model/main/GridProperties.hxx +++ b/chart2/source/model/main/GridProperties.hxx @@ -22,14 +22,12 @@ #include <cppuhelper/implbase.hxx> #include <comphelper/uno3.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/util/XModifyBroadcaster.hpp> #include <com/sun/star/util/XModifyListener.hpp> #include <OPropertySet.hxx> #include <MutexContainer.hxx> -#include <ModifyListenerHelper.hxx> namespace chart { diff --git a/chart2/source/model/main/Legend.cxx b/chart2/source/model/main/Legend.cxx index b989809050ae..91dc73363e4c 100644 --- a/chart2/source/model/main/Legend.cxx +++ b/chart2/source/model/main/Legend.cxx @@ -23,6 +23,7 @@ #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> diff --git a/chart2/source/model/main/Legend.hxx b/chart2/source/model/main/Legend.hxx index 74eb63c856b2..516324f2e107 100644 --- a/chart2/source/model/main/Legend.hxx +++ b/chart2/source/model/main/Legend.hxx @@ -19,14 +19,12 @@ #ifndef INCLUDED_CHART2_SOURCE_MODEL_MAIN_LEGEND_HXX #define INCLUDED_CHART2_SOURCE_MODEL_MAIN_LEGEND_HXX -#include <ModifyListenerHelper.hxx> #include <OPropertySet.hxx> #include <MutexContainer.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/uno3.hxx> #include <com/sun/star/chart2/XLegend.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/util/XModifyBroadcaster.hpp> #include <com/sun/star/util/XModifyListener.hpp> diff --git a/chart2/source/model/main/PageBackground.cxx b/chart2/source/model/main/PageBackground.cxx index f89831f91d7d..fab0fe647300 100644 --- a/chart2/source/model/main/PageBackground.cxx +++ b/chart2/source/model/main/PageBackground.cxx @@ -22,8 +22,10 @@ #include <FillProperties.hxx> #include <UserDefinedProperties.hxx> #include <PropertyHelper.hxx> +#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> diff --git a/chart2/source/model/main/PageBackground.hxx b/chart2/source/model/main/PageBackground.hxx index 2863dedde35e..9157eb9d90c9 100644 --- a/chart2/source/model/main/PageBackground.hxx +++ b/chart2/source/model/main/PageBackground.hxx @@ -20,13 +20,13 @@ #define INCLUDED_CHART2_SOURCE_MODEL_MAIN_PAGEBACKGROUND_HXX #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/util/XCloneable.hpp> +#include <com/sun/star/util/XModifyBroadcaster.hpp> +#include <com/sun/star/util/XModifyListener.hpp> #include <MutexContainer.hxx> #include <OPropertySet.hxx> #include <cppuhelper/implbase.hxx> -#include <ModifyListenerHelper.hxx> #include <comphelper/uno3.hxx> namespace chart diff --git a/chart2/source/model/main/Title.cxx b/chart2/source/model/main/Title.cxx index 1611e5d31ca5..b334dc21f1b4 100644 --- a/chart2/source/model/main/Title.cxx +++ b/chart2/source/model/main/Title.cxx @@ -24,11 +24,13 @@ #include <ContainerHelper.hxx> #include <CloneHelper.hxx> #include <PropertyHelper.hxx> +#include <ModifyListenerHelper.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/style/ParagraphAdjust.hpp> #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> diff --git a/chart2/source/model/main/Title.hxx b/chart2/source/model/main/Title.hxx index a402fb9f514a..9326b54b21ca 100644 --- a/chart2/source/model/main/Title.hxx +++ b/chart2/source/model/main/Title.hxx @@ -19,15 +19,15 @@ #ifndef INCLUDED_CHART2_SOURCE_MODEL_MAIN_TITLE_HXX #define INCLUDED_CHART2_SOURCE_MODEL_MAIN_TITLE_HXX -#include <ModifyListenerHelper.hxx> #include <OPropertySet.hxx> #include <MutexContainer.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/uno3.hxx> #include <com/sun/star/chart2/XTitle.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/util/XCloneable.hpp> +#include <com/sun/star/util/XModifyBroadcaster.hpp> +#include <com/sun/star/util/XModifyListener.hpp> namespace chart { diff --git a/chart2/source/model/main/UndoManager.hxx b/chart2/source/model/main/UndoManager.hxx index 47b4e82aca2b..c599113d45cb 100644 --- a/chart2/source/model/main/UndoManager.hxx +++ b/chart2/source/model/main/UndoManager.hxx @@ -22,7 +22,6 @@ #include <com/sun/star/document/XUndoManager.hpp> #include <com/sun/star/util/XModifyBroadcaster.hpp> -#include <com/sun/star/container/XChild.hpp> #include <cppuhelper/implbase2.hxx> diff --git a/chart2/source/model/main/Wall.cxx b/chart2/source/model/main/Wall.cxx index f5c4c0a1f317..1262e3d214a1 100644 --- a/chart2/source/model/main/Wall.cxx +++ b/chart2/source/model/main/Wall.cxx @@ -22,6 +22,7 @@ #include <FillProperties.hxx> #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> diff --git a/chart2/source/model/main/Wall.hxx b/chart2/source/model/main/Wall.hxx index 25bc245292a0..a3112a614bda 100644 --- a/chart2/source/model/main/Wall.hxx +++ b/chart2/source/model/main/Wall.hxx @@ -24,9 +24,7 @@ #include <com/sun/star/util/XModifyListener.hpp> #include <MutexContainer.hxx> #include <OPropertySet.hxx> -#include <cppuhelper/weak.hxx> -#include <ModifyListenerHelper.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/uno3.hxx> diff --git a/chart2/source/model/template/AreaChartType.cxx b/chart2/source/model/template/AreaChartType.cxx index 3427a131fd5d..3384d0f2b4a7 100644 --- a/chart2/source/model/template/AreaChartType.cxx +++ b/chart2/source/model/template/AreaChartType.cxx @@ -18,6 +18,7 @@ */ #include "AreaChartType.hxx" +#include <com/sun/star/uno/XComponentContext.hpp> #include <servicenames_charttypes.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/chart2/source/model/template/BarChartType.cxx b/chart2/source/model/template/BarChartType.cxx index ab71366b4fec..6b206d2d85b2 100644 --- a/chart2/source/model/template/BarChartType.cxx +++ b/chart2/source/model/template/BarChartType.cxx @@ -18,6 +18,7 @@ */ #include "BarChartType.hxx" +#include <com/sun/star/uno/XComponentContext.hpp> #include <servicenames_charttypes.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/chart2/source/model/template/BubbleChartType.hxx b/chart2/source/model/template/BubbleChartType.hxx index 099cbcc82ce8..e37a01ac25e1 100644 --- a/chart2/source/model/template/BubbleChartType.hxx +++ b/chart2/source/model/template/BubbleChartType.hxx @@ -20,7 +20,6 @@ #define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_BUBBLECHARTTYPE_HXX #include "ChartType.hxx" -#include <com/sun/star/chart2/CurveStyle.hpp> namespace chart { diff --git a/chart2/source/model/template/CandleStickChartType.cxx b/chart2/source/model/template/CandleStickChartType.cxx index 653bd35129df..673df6326b17 100644 --- a/chart2/source/model/template/CandleStickChartType.cxx +++ b/chart2/source/model/template/CandleStickChartType.cxx @@ -20,8 +20,10 @@ #include "CandleStickChartType.hxx" #include <PropertyHelper.hxx> #include <StockBar.hxx> +#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> diff --git a/chart2/source/model/template/ChartType.cxx b/chart2/source/model/template/ChartType.cxx index e398fcad65b5..568fb2c224fe 100644 --- a/chart2/source/model/template/ChartType.cxx +++ b/chart2/source/model/template/ChartType.cxx @@ -24,6 +24,7 @@ #include <AxisHelper.hxx> #include <CloneHelper.hxx> #include <AxisIndexDefines.hxx> +#include <ModifyListenerHelper.hxx> #include <vcl/svapp.hxx> #include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> diff --git a/chart2/source/model/template/ChartType.hxx b/chart2/source/model/template/ChartType.hxx index 7deffdd16c45..3274d5660c9b 100644 --- a/chart2/source/model/template/ChartType.hxx +++ b/chart2/source/model/template/ChartType.hxx @@ -23,12 +23,12 @@ #include <OPropertySet.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/uno3.hxx> -#include <ModifyListenerHelper.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/chart2/XChartType.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/util/XCloneable.hpp> +#include <com/sun/star/util/XModifyBroadcaster.hpp> +#include <com/sun/star/util/XModifyListener.hpp> #include <vector> diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx index 724bfff3a805..206993f26eed 100644 --- a/chart2/source/model/template/ChartTypeTemplate.cxx +++ b/chart2/source/model/template/ChartTypeTemplate.cxx @@ -36,6 +36,7 @@ #include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> +#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> #include <tools/diagnose_ex.h> #include <comphelper/property.hxx> diff --git a/chart2/source/model/template/ChartTypeTemplate.hxx b/chart2/source/model/template/ChartTypeTemplate.hxx index 3567066d6066..fc2e33b83bc8 100644 --- a/chart2/source/model/template/ChartTypeTemplate.hxx +++ b/chart2/source/model/template/ChartTypeTemplate.hxx @@ -20,17 +20,14 @@ #define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_CHARTTYPETEMPLATE_HXX #include <cppuhelper/implbase.hxx> -#include "DataInterpreter.hxx" #include <StackMode.hxx> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/chart2/XChartTypeTemplate.hpp> -#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> -#include <com/sun/star/chart2/XLegend.hpp> #include <com/sun/star/lang/XServiceName.hpp> -#include <com/sun/star/chart2/XChartType.hpp> -#include <com/sun/star/chart2/XDataSeries.hpp> -#include <utility> +namespace com { namespace sun { namespace star { namespace chart2 { class XChartType; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XCoordinateSystemContainer; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XDataSeries; } } } } +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } namespace chart { diff --git a/chart2/source/model/template/ColumnChartType.cxx b/chart2/source/model/template/ColumnChartType.cxx index d969cbe86108..016b8bc940b2 100644 --- a/chart2/source/model/template/ColumnChartType.cxx +++ b/chart2/source/model/template/ColumnChartType.cxx @@ -21,6 +21,7 @@ #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> using namespace ::com::sun::star; diff --git a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx index 85b1d64a32e7..99aa46045b51 100644 --- a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx +++ b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> +#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> #include <com/sun/star/drawing/LineStyle.hpp> #include <tools/diagnose_ex.h> diff --git a/chart2/source/model/template/DataInterpreter.hxx b/chart2/source/model/template/DataInterpreter.hxx index 5306146a6b34..72d3d61e4aab 100644 --- a/chart2/source/model/template/DataInterpreter.hxx +++ b/chart2/source/model/template/DataInterpreter.hxx @@ -22,7 +22,6 @@ #include <cppuhelper/implbase.hxx> #include <com/sun/star/chart2/XDataInterpreter.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> namespace chart { diff --git a/chart2/source/model/template/FilledNetChartType.cxx b/chart2/source/model/template/FilledNetChartType.cxx index 580e55351f1f..014d03dc0822 100644 --- a/chart2/source/model/template/FilledNetChartType.cxx +++ b/chart2/source/model/template/FilledNetChartType.cxx @@ -25,6 +25,7 @@ #include <AxisIndexDefines.hxx> #include <com/sun/star/chart2/AxisType.hpp> #include <cppuhelper/supportsservice.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/model/template/GL3DBarChartType.cxx b/chart2/source/model/template/GL3DBarChartType.cxx index 3a96833138af..34f7a516307c 100644 --- a/chart2/source/model/template/GL3DBarChartType.cxx +++ b/chart2/source/model/template/GL3DBarChartType.cxx @@ -15,6 +15,7 @@ #include <com/sun/star/beans/Property.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> using namespace com::sun::star; diff --git a/chart2/source/model/template/LineChartType.cxx b/chart2/source/model/template/LineChartType.cxx index e91ec3bb7204..bd4de28ea4ee 100644 --- a/chart2/source/model/template/LineChartType.cxx +++ b/chart2/source/model/template/LineChartType.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/chart2/CurveStyle.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> using namespace ::com::sun::star; diff --git a/chart2/source/model/template/LineChartType.hxx b/chart2/source/model/template/LineChartType.hxx index 8d823e80030c..27ebc7ffb2bf 100644 --- a/chart2/source/model/template/LineChartType.hxx +++ b/chart2/source/model/template/LineChartType.hxx @@ -20,7 +20,6 @@ #define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_LINECHARTTYPE_HXX #include "ChartType.hxx" -#include <com/sun/star/chart2/CurveStyle.hpp> namespace chart { diff --git a/chart2/source/model/template/LineChartTypeTemplate.cxx b/chart2/source/model/template/LineChartTypeTemplate.cxx index ded77be02c92..d04ca3667fc8 100644 --- a/chart2/source/model/template/LineChartTypeTemplate.cxx +++ b/chart2/source/model/template/LineChartTypeTemplate.cxx @@ -24,6 +24,7 @@ #include <PropertyHelper.hxx> #include <unonames.hxx> +#include <com/sun/star/chart2/CurveStyle.hpp> #include <com/sun/star/chart2/SymbolStyle.hpp> #include <com/sun/star/chart2/Symbol.hpp> #include <com/sun/star/drawing/LineStyle.hpp> diff --git a/chart2/source/model/template/LineChartTypeTemplate.hxx b/chart2/source/model/template/LineChartTypeTemplate.hxx index 053d25cb83ce..2663fb11325d 100644 --- a/chart2/source/model/template/LineChartTypeTemplate.hxx +++ b/chart2/source/model/template/LineChartTypeTemplate.hxx @@ -24,7 +24,6 @@ #include <MutexContainer.hxx> #include <StackMode.hxx> #include <comphelper/uno3.hxx> -#include <com/sun/star/chart2/CurveStyle.hpp> namespace chart { diff --git a/chart2/source/model/template/PieChartTypeTemplate.cxx b/chart2/source/model/template/PieChartTypeTemplate.cxx index 7082585818d1..f7c81d257617 100644 --- a/chart2/source/model/template/PieChartTypeTemplate.cxx +++ b/chart2/source/model/template/PieChartTypeTemplate.cxx @@ -31,6 +31,7 @@ #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> #include <tools/diagnose_ex.h> #include <rtl/math.hxx> diff --git a/chart2/source/model/template/ScatterChartTypeTemplate.cxx b/chart2/source/model/template/ScatterChartTypeTemplate.cxx index 05d14cac71e5..f2f34f55b5e8 100644 --- a/chart2/source/model/template/ScatterChartTypeTemplate.cxx +++ b/chart2/source/model/template/ScatterChartTypeTemplate.cxx @@ -26,6 +26,7 @@ #include <PropertyHelper.hxx> #include <unonames.hxx> +#include <com/sun/star/chart2/CurveStyle.hpp> #include <com/sun/star/chart2/SymbolStyle.hpp> #include <com/sun/star/chart2/Symbol.hpp> #include <com/sun/star/drawing/LineStyle.hpp> diff --git a/chart2/source/model/template/ScatterChartTypeTemplate.hxx b/chart2/source/model/template/ScatterChartTypeTemplate.hxx index 62f94db76177..ee32e200f551 100644 --- a/chart2/source/model/template/ScatterChartTypeTemplate.hxx +++ b/chart2/source/model/template/ScatterChartTypeTemplate.hxx @@ -23,7 +23,6 @@ #include <OPropertySet.hxx> #include <MutexContainer.hxx> #include <comphelper/uno3.hxx> -#include <com/sun/star/chart2/CurveStyle.hpp> namespace chart { diff --git a/chart2/source/model/template/StockChartTypeTemplate.cxx b/chart2/source/model/template/StockChartTypeTemplate.cxx index 5ebb4ec06214..e4e75c986659 100644 --- a/chart2/source/model/template/StockChartTypeTemplate.cxx +++ b/chart2/source/model/template/StockChartTypeTemplate.cxx @@ -30,6 +30,7 @@ #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> #include <PropertyHelper.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/drawing/LineStyle.hpp> |