summaryrefslogtreecommitdiff
path: root/chart2/source/model/main
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-06-10 23:37:01 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2018-06-16 12:26:17 +0200
commit8dacd42f3af903ac3daeef8f4dd444ffc7e1a99c (patch)
tree9c5f21266749a0557687ce83faef65f763460021 /chart2/source/model/main
parent8ea8ad4e492583e6d1ff278ff0dc679531c8a20e (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/source/model/main')
-rw-r--r--chart2/source/model/main/Axis.cxx1
-rw-r--r--chart2/source/model/main/Axis.hxx2
-rw-r--r--chart2/source/model/main/BaseCoordinateSystem.cxx1
-rw-r--r--chart2/source/model/main/ChartModel.cxx1
-rw-r--r--chart2/source/model/main/DataPoint.cxx1
-rw-r--r--chart2/source/model/main/DataPoint.hxx3
-rw-r--r--chart2/source/model/main/DataPointProperties.hxx3
-rw-r--r--chart2/source/model/main/DataSeriesProperties.hxx3
-rw-r--r--chart2/source/model/main/Diagram.cxx1
-rw-r--r--chart2/source/model/main/FormattedString.cxx2
-rw-r--r--chart2/source/model/main/FormattedString.hxx6
-rw-r--r--chart2/source/model/main/GridProperties.cxx2
-rw-r--r--chart2/source/model/main/GridProperties.hxx2
-rw-r--r--chart2/source/model/main/Legend.cxx1
-rw-r--r--chart2/source/model/main/Legend.hxx2
-rw-r--r--chart2/source/model/main/PageBackground.cxx2
-rw-r--r--chart2/source/model/main/PageBackground.hxx4
-rw-r--r--chart2/source/model/main/Title.cxx2
-rw-r--r--chart2/source/model/main/Title.hxx4
-rw-r--r--chart2/source/model/main/UndoManager.hxx1
-rw-r--r--chart2/source/model/main/Wall.cxx1
-rw-r--r--chart2/source/model/main/Wall.hxx2
22 files changed, 27 insertions, 20 deletions
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>