diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-06-16 20:46:19 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-25 11:00:01 +0200 |
commit | dbfa1c452fd9d02330cb3ec5bf2fd4f2c7782d1a (patch) | |
tree | 7ccf7399cca79ec6f8f6771e6c7558e8e9105cc9 /chart2 | |
parent | 879c455e49a28831fab1477d5ced65a69e5c2918 (diff) |
tdf#42949 Fix IWYU warnings in chart2/source/inc/[A-C]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Thanks to codemaker changes there are more
warnings to fix than before.
Also try harder to use fw declarations.
Change-Id: If8b1981d5bb0f0b00e9f88d318307594fffa2506
Reviewed-on: https://gerrit.libreoffice.org/55934
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'chart2')
34 files changed, 81 insertions, 63 deletions
diff --git a/chart2/IwyuFilter_chart2.yaml b/chart2/IwyuFilter_chart2.yaml index 96145192a107..92a202f08e4a 100644 --- a/chart2/IwyuFilter_chart2.yaml +++ b/chart2/IwyuFilter_chart2.yaml @@ -41,41 +41,22 @@ blacklist: chart2/source/inc/chartview/ExplicitValueProvider.hxx: # base class has to be a complete type - memory - chart2/source/inc/BaseGFXHelper.hxx: + chart2/source/inc/AxisHelper.hxx: # base class has to be a complete type - - com/sun/star/awt/Rectangle.hpp - - com/sun/star/drawing/PolyPolygonShape3D.hpp - chart2/source/inc/CharacterProperties.hxx: - # base class has to be a complete type - - com/sun/star/beans/Property.hpp - - com/sun/star/beans/XMultiPropertySet.hpp + - com/sun/star/chart2/ScaleData.hpp chart2/source/inc/CachedDataSequence.hxx: # base class has to be a complete type - - com/sun/star/beans/XPropertySet.hpp - com/sun/star/chart2/data/XDataSequence.hpp - com/sun/star/chart2/data/XNumericalDataSequence.hpp - com/sun/star/chart2/data/XTextualDataSequence.hpp - com/sun/star/lang/XInitialization.hpp - com/sun/star/lang/XServiceInfo.hpp - - com/sun/star/uno/XComponentContext.hpp - com/sun/star/util/XCloneable.hpp - com/sun/star/util/XModifyBroadcaster.hpp - chart2/source/inc/ColorPerPointHelper.hxx: - # base class has to be a complete type - - com/sun/star/beans/XPropertySet.hpp - chart2/source/inc/CommonConverters.hxx: - # base class has to be a complete type - - com/sun/star/awt/Rectangle.hpp - - com/sun/star/chart2/data/XDataSequence.hpp - - com/sun/star/drawing/PolyPolygonBezierCoords.hpp - chart2/source/inc/ColorPerPointHelper.hxx: - # base class has to be a complete type - - com/sun/star/beans/XPropertySet.hpp chart2/source/inc/ConfigColorScheme.hxx: # base class has to be a complete type - com/sun/star/chart2/XColorScheme.hpp - com/sun/star/lang/XServiceInfo.hpp - - com/sun/star/uno/XComponentContext.hpp chart2/source/inc/chartview/DataPointSymbolSupplier.hxx: # base class has to be a complete type - com/sun/star/lang/XMultiServiceFactory.hpp diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx index 31cf7ff0c9ba..ad989990613f 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx @@ -49,6 +49,7 @@ #include <com/sun/star/chart/ChartErrorCategory.hpp> #include <com/sun/star/chart/ChartSymbolType.hpp> #include <com/sun/star/chart/XChartDocument.hpp> +#include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/drawing/LineJoint.hpp> #include <com/sun/star/drawing/LineStyle.hpp> diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx index 5153e6b5bf80..acc994787c12 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/chart2/XAxis.hpp> #include <com/sun/star/chart/ChartAxisType.hpp> #include <chartview/ExplicitScaleValues.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; using ::com::sun::star::uno::Any; diff --git a/chart2/source/controller/dialogs/RangeSelectionHelper.cxx b/chart2/source/controller/dialogs/RangeSelectionHelper.cxx index df3b1a190ce1..d06dcf894ee5 100644 --- a/chart2/source/controller/dialogs/RangeSelectionHelper.cxx +++ b/chart2/source/controller/dialogs/RangeSelectionHelper.cxx @@ -20,6 +20,8 @@ #include <RangeSelectionHelper.hxx> #include <RangeSelectionListener.hxx> #include <com/sun/star/awt/XTopWindow.hpp> +#include <com/sun/star/chart2/XChartDocument.hpp> +#include <com/sun/star/chart2/data/XDataProvider.hpp> #include <tools/diagnose_ex.h> using namespace ::com::sun::star; diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx index f6abe9722a82..26e2a6cc1164 100644 --- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx +++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx @@ -46,6 +46,7 @@ #include <CommonConverters.hxx> #include <RegressionCalculationHelper.hxx> +#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> diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index 6615fe1a73e9..bc52d9fe0cb0 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -23,6 +23,7 @@ #include <TabPageNotifiable.hxx> #include <helpids.h> #include <chartview/ChartSfxItemIds.hxx> +#include <com/sun/star/chart2/XChartDocument.hpp> #include <rtl/math.hxx> #include <vcl/dialog.hxx> diff --git a/chart2/source/controller/inc/RangeSelectionListener.hxx b/chart2/source/controller/inc/RangeSelectionListener.hxx index 47ae70a881a6..be064b5e22bc 100644 --- a/chart2/source/controller/inc/RangeSelectionListener.hxx +++ b/chart2/source/controller/inc/RangeSelectionListener.hxx @@ -21,9 +21,9 @@ #include <ControllerLockGuard.hxx> #include <cppuhelper/implbase.hxx> +#include <com/sun/star/sheet/XRangeSelectionListener.hpp> namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } } -namespace com { namespace sun { namespace star { namespace sheet { class XRangeSelectionListener; } } } } namespace chart { diff --git a/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx b/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx index 11182a850be4..ed1f69d808d2 100644 --- a/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx @@ -39,7 +39,9 @@ #include <com/sun/star/chart2/XAxis.hpp> #include <com/sun/star/chart2/AxisOrientation.hpp> #include <com/sun/star/chart2/AxisType.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <osl/diagnose.h> #include <o3tl/any.hxx> #include <svl/eitem.hxx> #include <svx/chrtitem.hxx> diff --git a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx index 9574f3ee5d41..87886016a366 100644 --- a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx @@ -32,6 +32,7 @@ #include <unonames.hxx> #include <svx/chrtitem.hxx> +#include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart2/Symbol.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx index 1374c4c4f2c7..a54dee05fc67 100644 --- a/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart2/XInternalDataProvider.hpp> +#include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/chart/ErrorBarStyle.hpp> #include <com/sun/star/lang/XServiceName.hpp> #include <tools/diagnose_ex.h> diff --git a/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx b/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx index f74bf202a370..f987739e4d98 100644 --- a/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx @@ -37,6 +37,7 @@ #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart2/XInternalDataProvider.hpp> +#include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/chart/ErrorBarStyle.hpp> #include <com/sun/star/lang/XServiceName.hpp> #include <tools/diagnose_ex.h> diff --git a/chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx b/chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx index 20cc502b2b4d..9dd03bf7ace3 100644 --- a/chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx @@ -34,6 +34,7 @@ #include <svl/stritem.hxx> #include <svx/tabline.hxx> +#include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart2/Symbol.hpp> #include <memory> diff --git a/chart2/source/inc/AxisHelper.hxx b/chart2/source/inc/AxisHelper.hxx index 4cdb75df84c2..2cbe2d82e381 100644 --- a/chart2/source/inc/AxisHelper.hxx +++ b/chart2/source/inc/AxisHelper.hxx @@ -20,18 +20,22 @@ #define INCLUDED_CHART2_SOURCE_INC_AXISHELPER_HXX #include "charttoolsdllapi.hxx" -#include "ReferenceSizeProvider.hxx" -#include "ExplicitCategoriesProvider.hxx" -#include <com/sun/star/chart2/XChartType.hpp> -#include <com/sun/star/chart2/XCoordinateSystem.hpp> -#include <com/sun/star/chart2/XDiagram.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/util/XNumberFormatsSupplier.hpp> - -#include <ChartModel.hxx> +#include <com/sun/star/chart2/ScaleData.hpp> #include <vector> +namespace chart { class ChartModel; } +namespace chart { class ExplicitCategoriesProvider; } +namespace chart { class ReferenceSizeProvider; } +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 XChartType; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XCoordinateSystem; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XDiagram; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XScaling; } } } } +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + namespace chart { diff --git a/chart2/source/inc/BaseGFXHelper.hxx b/chart2/source/inc/BaseGFXHelper.hxx index df6a11087722..5ff581fdf9b8 100644 --- a/chart2/source/inc/BaseGFXHelper.hxx +++ b/chart2/source/inc/BaseGFXHelper.hxx @@ -25,14 +25,15 @@ #include <basegfx/vector/b3dvector.hxx> #include <basegfx/range/b3drange.hxx> #include <com/sun/star/awt/Point.hpp> -#include <com/sun/star/awt/Rectangle.hpp> #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/drawing/HomogenMatrix.hpp> #include <com/sun/star/drawing/Direction3D.hpp> #include <com/sun/star/drawing/Position3D.hpp> -#include <com/sun/star/drawing/PolyPolygonShape3D.hpp> #include "charttoolsdllapi.hxx" +namespace com { namespace sun { namespace star { namespace awt { struct Rectangle; } } } } +namespace com { namespace sun { namespace star { namespace drawing { struct PolyPolygonShape3D; } } } } + namespace chart { namespace BaseGFXHelper diff --git a/chart2/source/inc/CachedDataSequence.hxx b/chart2/source/inc/CachedDataSequence.hxx index c18a8daac9e6..9d8cb6e6ec0d 100644 --- a/chart2/source/inc/CachedDataSequence.hxx +++ b/chart2/source/inc/CachedDataSequence.hxx @@ -29,14 +29,14 @@ // interfaces and types #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/chart2/data/XDataSequence.hpp> #include <com/sun/star/chart2/data/XNumericalDataSequence.hpp> #include <com/sun/star/chart2/data/XTextualDataSequence.hpp> #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/util/XModifyBroadcaster.hpp> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + namespace chart { diff --git a/chart2/source/inc/CharacterProperties.hxx b/chart2/source/inc/CharacterProperties.hxx index f3cba60f723b..fe22e7b9a0e5 100644 --- a/chart2/source/inc/CharacterProperties.hxx +++ b/chart2/source/inc/CharacterProperties.hxx @@ -22,12 +22,13 @@ #include "PropertyHelper.hxx" #include "FastPropertyIdRanges.hxx" #include "charttoolsdllapi.hxx" -#include <com/sun/star/beans/Property.hpp> -#include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/awt/FontDescriptor.hpp> #include <vector> +namespace com { namespace sun { namespace star { namespace beans { class XMultiPropertySet; } } } } +namespace com { namespace sun { namespace star { namespace beans { struct Property; } } } } + namespace chart { diff --git a/chart2/source/inc/ChartModelHelper.hxx b/chart2/source/inc/ChartModelHelper.hxx index 7f90f8c3d177..92c8c80ee534 100644 --- a/chart2/source/inc/ChartModelHelper.hxx +++ b/chart2/source/inc/ChartModelHelper.hxx @@ -19,22 +19,22 @@ #ifndef INCLUDED_CHART2_SOURCE_INC_CHARTMODELHELPER_HXX #define INCLUDED_CHART2_SOURCE_INC_CHARTMODELHELPER_HXX -#include <com/sun/star/chart2/XChartType.hpp> -#include <com/sun/star/chart2/XDataSeries.hpp> -#include <com/sun/star/chart2/XDiagram.hpp> -#include <com/sun/star/chart2/XChartDocument.hpp> -#include <com/sun/star/chart2/data/XDataProvider.hpp> -#include <com/sun/star/chart2/data/XRangeHighlighter.hpp> -#include <com/sun/star/view/XSelectionSupplier.hpp> - #include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/frame/XModel.hpp> #include "charttoolsdllapi.hxx" -#include <ChartModel.hxx> - #include <vector> +namespace chart { class ChartModel; } +namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XChartType; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XCoordinateSystem; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XDataSeries; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { class XDiagram; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { namespace data { class XDataProvider; } } } } } +namespace com { namespace sun { namespace star { namespace chart2 { namespace data { class XRangeHighlighter; } } } } } +namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } } +namespace com { namespace sun { namespace star { namespace view { class XSelectionSupplier; } } } } + namespace chart { diff --git a/chart2/source/inc/ChartTypeHelper.hxx b/chart2/source/inc/ChartTypeHelper.hxx index bd21130d3689..c2945dfb9380 100644 --- a/chart2/source/inc/ChartTypeHelper.hxx +++ b/chart2/source/inc/ChartTypeHelper.hxx @@ -20,13 +20,12 @@ #ifndef INCLUDED_CHART2_SOURCE_INC_CHARTTYPEHELPER_HXX #define INCLUDED_CHART2_SOURCE_INC_CHARTTYPEHELPER_HXX -#include <com/sun/star/chart2/XChartType.hpp> -#include <com/sun/star/chart2/AxisType.hpp> -#include <com/sun/star/chart2/XDataSeries.hpp> -#include <com/sun/star/chart2/XDiagram.hpp> #include <com/sun/star/drawing/Direction3D.hpp> #include "charttoolsdllapi.hxx" +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/inc/ChartViewHelper.hxx b/chart2/source/inc/ChartViewHelper.hxx index 5bde941b709d..9705aa9625f5 100644 --- a/chart2/source/inc/ChartViewHelper.hxx +++ b/chart2/source/inc/ChartViewHelper.hxx @@ -19,9 +19,11 @@ #ifndef INCLUDED_CHART2_SOURCE_INC_CHARTVIEWHELPER_HXX #define INCLUDED_CHART2_SOURCE_INC_CHARTVIEWHELPER_HXX -#include <com/sun/star/frame/XModel.hpp> #include "charttoolsdllapi.hxx" +namespace com { namespace sun { namespace star { namespace uno { template <class interface_type> class Reference; } } } } +namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } } + namespace chart { diff --git a/chart2/source/inc/CloneHelper.hxx b/chart2/source/inc/CloneHelper.hxx index 88beb52436d0..da697e05ece4 100644 --- a/chart2/source/inc/CloneHelper.hxx +++ b/chart2/source/inc/CloneHelper.hxx @@ -23,6 +23,7 @@ #include <algorithm> #include <iterator> +#include <vector> namespace chart { diff --git a/chart2/source/inc/ColorPerPointHelper.hxx b/chart2/source/inc/ColorPerPointHelper.hxx index c482389cb427..e98cfe1c654a 100644 --- a/chart2/source/inc/ColorPerPointHelper.hxx +++ b/chart2/source/inc/ColorPerPointHelper.hxx @@ -20,9 +20,11 @@ #ifndef INCLUDED_CHART2_SOURCE_INC_COLORPERPOINTHELPER_HXX #define INCLUDED_CHART2_SOURCE_INC_COLORPERPOINTHELPER_HXX -#include <com/sun/star/beans/XPropertySet.hpp> #include "charttoolsdllapi.hxx" +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } +namespace com { namespace sun { namespace star { namespace uno { template <class interface_type> class Reference; } } } } + namespace chart { diff --git a/chart2/source/inc/CommonConverters.hxx b/chart2/source/inc/CommonConverters.hxx index d4a5b6ed19b6..c60a4d301df3 100644 --- a/chart2/source/inc/CommonConverters.hxx +++ b/chart2/source/inc/CommonConverters.hxx @@ -20,23 +20,21 @@ #define INCLUDED_CHART2_SOURCE_INC_COMMONCONVERTERS_HXX #include <com/sun/star/awt/Point.hpp> -#include <com/sun/star/awt/Rectangle.hpp> #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/drawing/Direction3D.hpp> #include <com/sun/star/drawing/HomogenMatrix.hpp> #include <com/sun/star/drawing/HomogenMatrix3.hpp> -#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp> #include <com/sun/star/drawing/PointSequenceSequence.hpp> #include <com/sun/star/drawing/Position3D.hpp> #include <com/sun/star/drawing/PolyPolygonShape3D.hpp> -#include <com/sun/star/chart2/data/XDataSequence.hpp> #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/point/b3dpoint.hxx> #include <basegfx/vector/b3dvector.hxx> #include "charttoolsdllapi.hxx" -#include <iterator> -#include <vector> +namespace com { namespace sun { namespace star { namespace awt { struct Rectangle; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { namespace data { class XDataSequence; } } } } } +namespace com { namespace sun { namespace star { namespace drawing { struct PolyPolygonBezierCoords; } } } } namespace chart { diff --git a/chart2/source/inc/ConfigColorScheme.hxx b/chart2/source/inc/ConfigColorScheme.hxx index b4a4ee5004ee..2f9dc85a43df 100644 --- a/chart2/source/inc/ConfigColorScheme.hxx +++ b/chart2/source/inc/ConfigColorScheme.hxx @@ -23,10 +23,11 @@ #include <cppuhelper/implbase.hxx> #include <com/sun/star/chart2/XColorScheme.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <memory> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + namespace chart { diff --git a/chart2/source/inc/ControllerLockGuard.hxx b/chart2/source/inc/ControllerLockGuard.hxx index 7eec2b11c5b4..f1e33434079d 100644 --- a/chart2/source/inc/ControllerLockGuard.hxx +++ b/chart2/source/inc/ControllerLockGuard.hxx @@ -19,9 +19,11 @@ #ifndef INCLUDED_CHART2_SOURCE_INC_CONTROLLERLOCKGUARD_HXX #define INCLUDED_CHART2_SOURCE_INC_CONTROLLERLOCKGUARD_HXX -#include <com/sun/star/frame/XModel.hpp> #include "charttoolsdllapi.hxx" -#include <ChartModel.hxx> +#include <com/sun/star/uno/Reference.h> + +namespace chart { class ChartModel; } +namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } } namespace chart { diff --git a/chart2/source/model/main/BaseCoordinateSystem.cxx b/chart2/source/model/main/BaseCoordinateSystem.cxx index e42ee706e89a..1b9bb68cb814 100644 --- a/chart2/source/model/main/BaseCoordinateSystem.cxx +++ b/chart2/source/model/main/BaseCoordinateSystem.cxx @@ -26,6 +26,7 @@ #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> diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx index 5a6be73f2e54..efc408fce7bf 100644 --- a/chart2/source/model/main/UndoManager.cxx +++ b/chart2/source/model/main/UndoManager.cxx @@ -20,6 +20,7 @@ #include "UndoManager.hxx" #include <ChartViewHelper.hxx> +#include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/NoSupportException.hpp> diff --git a/chart2/source/model/template/ChartType.cxx b/chart2/source/model/template/ChartType.cxx index 568fb2c224fe..7f6863ca8465 100644 --- a/chart2/source/model/template/ChartType.cxx +++ b/chart2/source/model/template/ChartType.cxx @@ -27,6 +27,7 @@ #include <ModifyListenerHelper.hxx> #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> diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx index 4a9cf9218641..79fb6b92a3c8 100644 --- a/chart2/source/tools/AxisHelper.cxx +++ b/chart2/source/tools/AxisHelper.cxx @@ -27,12 +27,14 @@ #include <Scaling.hxx> #include <ChartModelHelper.hxx> #include <DataSourceHelper.hxx> +#include <ReferenceSizeProvider.hxx> +#include <ExplicitCategoriesProvider.hxx> #include <unonames.hxx> #include <unotools/saveopt.hxx> #include <com/sun/star/chart/ChartAxisPosition.hpp> - +#include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> diff --git a/chart2/source/tools/BaseGFXHelper.cxx b/chart2/source/tools/BaseGFXHelper.cxx index b840daec901c..e2ec9396e283 100644 --- a/chart2/source/tools/BaseGFXHelper.cxx +++ b/chart2/source/tools/BaseGFXHelper.cxx @@ -19,6 +19,8 @@ #include <BaseGFXHelper.hxx> #include <com/sun/star/drawing/DoubleSequence.hpp> +#include <com/sun/star/drawing/PolyPolygonShape3D.hpp> +#include <com/sun/star/awt/Rectangle.hpp> using namespace ::com::sun::star; using namespace ::com::sun::star::drawing; diff --git a/chart2/source/tools/CharacterProperties.cxx b/chart2/source/tools/CharacterProperties.cxx index d9894b9825ca..5e1fd9cbcf11 100644 --- a/chart2/source/tools/CharacterProperties.cxx +++ b/chart2/source/tools/CharacterProperties.cxx @@ -19,6 +19,7 @@ #include <CharacterProperties.hxx> +#include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/awt/FontSlant.hpp> diff --git a/chart2/source/tools/ChartTypeHelper.cxx b/chart2/source/tools/ChartTypeHelper.cxx index 658855d6380b..3bd2c2c53a60 100644 --- a/chart2/source/tools/ChartTypeHelper.cxx +++ b/chart2/source/tools/ChartTypeHelper.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/chart/DataLabelPlacement.hpp> +#include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/chart/MissingValueTreatment.hpp> #include <tools/diagnose_ex.h> diff --git a/chart2/source/tools/CommonConverters.cxx b/chart2/source/tools/CommonConverters.cxx index ab3ed677f9c5..6de0addac8f4 100644 --- a/chart2/source/tools/CommonConverters.cxx +++ b/chart2/source/tools/CommonConverters.cxx @@ -18,8 +18,11 @@ */ #include <CommonConverters.hxx> +#include <com/sun/star/awt/Rectangle.hpp> #include <com/sun/star/drawing/DoubleSequence.hpp> +#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp> #include <com/sun/star/text/WritingMode2.hpp> +#include <com/sun/star/chart2/data/XDataSequence.hpp> #include <com/sun/star/chart2/data/XNumericalDataSequence.hpp> #include <com/sun/star/chart2/data/XTextualDataSequence.hpp> #include <rtl/math.hxx> diff --git a/chart2/source/tools/RegressionCurveHelper.cxx b/chart2/source/tools/RegressionCurveHelper.cxx index 01ffba6b8fba..35eb59470535 100644 --- a/chart2/source/tools/RegressionCurveHelper.cxx +++ b/chart2/source/tools/RegressionCurveHelper.cxx @@ -33,6 +33,7 @@ #include <ResId.hxx> #include <strings.hrc> #include <DiagramHelper.hxx> +#include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #include <tools/diagnose_ex.h> #include <comphelper/property.hxx> diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 247d385fb689..0e16536e7267 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -48,6 +48,7 @@ #include <BaseGFXHelper.hxx> #include <DataSeriesHelper.hxx> #include <DateHelper.hxx> +#include <ExplicitCategoriesProvider.hxx> #include <defines.hxx> #include <unonames.hxx> #if HAVE_FEATURE_OPENGL |