Kaydet (Commit) 8dacd42f authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Jochen Nitschke

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: 's avatarJochen Nitschke <j.nitschke+logerrit@ok.de>
üst 8ea8ad4e
......@@ -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
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -32,6 +32,7 @@
#include "UndoManager.hxx"
#include <ChartView.hxx>
#include <PopupRequest.hxx>
#include <ModifyListenerHelper.hxx>
#include <svx/charthelper.hxx>
#include <vcl/openglwin.hxx>
......
......@@ -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>
......
......@@ -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
{
......
......@@ -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
{
......
......@@ -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
{
......
......@@ -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>
......
......@@ -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>
......
......@@ -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
{
......
......@@ -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>
......
......@@ -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
{
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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
......
......@@ -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>
......
......@@ -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
{
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -18,6 +18,7 @@
*/
#include "AreaChartType.hxx"
#include <com/sun/star/uno/XComponentContext.hpp>
#include <servicenames_charttypes.hxx>
#include <cppuhelper/supportsservice.hxx>
......
......@@ -18,6 +18,7 @@
*/
#include "BarChartType.hxx"
#include <com/sun/star/uno/XComponentContext.hpp>
#include <servicenames_charttypes.hxx>
#include <cppuhelper/supportsservice.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
{
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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
{
......
......@@ -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;
......
......@@ -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>
......
......@@ -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
{
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -20,7 +20,6 @@
#define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_LINECHARTTYPE_HXX
#include "ChartType.hxx"
#include <com/sun/star/chart2/CurveStyle.hpp>
namespace chart
{
......
......@@ -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>
......
......@@ -24,7 +24,6 @@
#include <MutexContainer.hxx>
#include <StackMode.hxx>
#include <comphelper/uno3.hxx>
#include <com/sun/star/chart2/CurveStyle.hpp>
namespace chart
{
......
......@@ -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>
......
......@@ -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>
......
......@@ -23,7 +23,6 @@
#include <OPropertySet.hxx>
#include <MutexContainer.hxx>
#include <comphelper/uno3.hxx>
#include <com/sun/star/chart2/CurveStyle.hpp>
namespace chart
{
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment