Kaydet (Commit) 162b729b authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Miklos Vajna

tdf#42949 Fix IWYU warnings in chart2/source/inc/chartview/

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
The fallout of this resulted in a lot of headers added back to
chart2/inc/ChartView.hxx

Change-Id: Ie0e3b156b8b9fa0ea7745ee8cf9d7dd0e942bf91
Reviewed-on: https://gerrit.libreoffice.org/55826
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 6b6c23d4
...@@ -30,6 +30,17 @@ blacklist: ...@@ -30,6 +30,17 @@ blacklist:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/util/XModeChangeBroadcaster.hpp - com/sun/star/util/XModeChangeBroadcaster.hpp
- com/sun/star/util/XUpdatable2.hpp - com/sun/star/util/XUpdatable2.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/datatransfer/XTransferable.hpp
- com/sun/star/lang/XInitialization.hpp
- com/sun/star/lang/XMultiServiceFactory.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/qa/XDumper.hpp
- com/sun/star/util/XModifyListener.hpp
chart2/source/inc/chartview/ExplicitValueProvider.hxx:
# base class has to be a complete type
- memory
chart2/source/inc/BaseGFXHelper.hxx: chart2/source/inc/BaseGFXHelper.hxx:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/awt/Rectangle.hpp - com/sun/star/awt/Rectangle.hpp
......
...@@ -21,9 +21,19 @@ ...@@ -21,9 +21,19 @@
#include <chartview/ExplicitValueProvider.hxx> #include <chartview/ExplicitValueProvider.hxx>
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <cppuhelper/interfacecontainer.h>
#include <svl/lstner.hxx> #include <svl/lstner.hxx>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/qa/XDumper.hpp>
#include <com/sun/star/util/XModeChangeBroadcaster.hpp> #include <com/sun/star/util/XModeChangeBroadcaster.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/util/XUpdatable2.hpp> #include <com/sun/star/util/XUpdatable2.hpp>
#include <vector> #include <vector>
...@@ -31,17 +41,10 @@ ...@@ -31,17 +41,10 @@
#include <vcl/timer.hxx> #include <vcl/timer.hxx>
namespace com { namespace sun { namespace star { namespace datatransfer { class XTransferable; } } } }
namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } } namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } } namespace com { namespace sun { namespace star { namespace drawing { class XShapes; } } } }
namespace com { namespace sun { namespace star { namespace io { class XOutputStream; } } } } namespace com { namespace sun { namespace star { namespace io { class XOutputStream; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XInitialization; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XServiceInfo; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XUnoTunnel; } } } }
namespace com { namespace sun { namespace star { namespace qa { class XDumper; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace com { namespace sun { namespace star { namespace util { class XModifyListener; } } } }
namespace com { namespace sun { namespace star { namespace util { class XUpdatable2; } } } } namespace com { namespace sun { namespace star { namespace util { class XUpdatable2; } } } }
class SdrPage; class SdrPage;
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <dlg_InsertErrorBars.hxx> #include <dlg_InsertErrorBars.hxx>
#include <res_ErrorBar.hxx> #include <res_ErrorBar.hxx>
#include <chartview/ExplicitScaleValues.hxx>
#include <chartview/ExplicitValueProvider.hxx> #include <chartview/ExplicitValueProvider.hxx>
#include <ChartModelHelper.hxx> #include <ChartModelHelper.hxx>
#include <ObjectIdentifier.hxx> #include <ObjectIdentifier.hxx>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <CharacterPropertyItemConverter.hxx> #include <CharacterPropertyItemConverter.hxx>
#include <GraphicPropertyItemConverter.hxx> #include <GraphicPropertyItemConverter.hxx>
#include <chartview/ChartSfxItemIds.hxx> #include <chartview/ChartSfxItemIds.hxx>
#include <chartview/ExplicitScaleValues.hxx>
#include <chartview/ExplicitValueProvider.hxx> #include <chartview/ExplicitValueProvider.hxx>
#include "SchWhichPairs.hxx" #include "SchWhichPairs.hxx"
#include <ChartModelHelper.hxx> #include <ChartModelHelper.hxx>
...@@ -34,6 +35,7 @@ ...@@ -34,6 +35,7 @@
#include <com/sun/star/chart/ChartAxisLabelPosition.hpp> #include <com/sun/star/chart/ChartAxisLabelPosition.hpp>
#include <com/sun/star/chart/ChartAxisMarkPosition.hpp> #include <com/sun/star/chart/ChartAxisMarkPosition.hpp>
#include <com/sun/star/chart/ChartAxisPosition.hpp> #include <com/sun/star/chart/ChartAxisPosition.hpp>
#include <com/sun/star/chart/TimeInterval.hpp>
#include <com/sun/star/chart2/XAxis.hpp> #include <com/sun/star/chart2/XAxis.hpp>
#include <com/sun/star/chart2/AxisOrientation.hpp> #include <com/sun/star/chart2/AxisOrientation.hpp>
#include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/AxisType.hpp>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <chartview/DrawModelWrapper.hxx> #include <chartview/DrawModelWrapper.hxx>
#include <chartview/ChartSfxItemIds.hxx> #include <chartview/ChartSfxItemIds.hxx>
#include <ObjectIdentifier.hxx> #include <ObjectIdentifier.hxx>
#include <chartview/ExplicitScaleValues.hxx>
#include <chartview/ExplicitValueProvider.hxx> #include <chartview/ExplicitValueProvider.hxx>
#include <dlg_ObjectProperties.hxx> #include <dlg_ObjectProperties.hxx>
#include <dlg_View3D.hxx> #include <dlg_View3D.hxx>
......
...@@ -19,20 +19,26 @@ ...@@ -19,20 +19,26 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_EXPLICITVALUEPROVIDER_HXX #ifndef INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_EXPLICITVALUEPROVIDER_HXX
#define INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_EXPLICITVALUEPROVIDER_HXX #define INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_EXPLICITVALUEPROVIDER_HXX
#include <chartview/ExplicitScaleValues.hxx>
#include <com/sun/star/chart2/XAxis.hpp>
#include <com/sun/star/chart2/XCoordinateSystem.hpp>
#include <com/sun/star/chart2/XDataSeries.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
#include <com/sun/star/awt/Rectangle.hpp> #include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <chartview/chartviewdllapi.hxx> #include <chartview/chartviewdllapi.hxx>
#include <ChartModel.hxx>
#include <memory> #include <memory>
namespace chart { class ChartModel; }
namespace chart { struct ExplicitIncrementData; }
namespace chart { struct ExplicitScaleData; }
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 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 drawing { class XShape; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XInterface; } } } }
namespace com { namespace sun { namespace star { namespace uno { template <typename > class Reference; } } } }
namespace com { namespace sun { namespace star { namespace uno { template <typename > class Sequence; } } } }
namespace com { namespace sun { namespace star { namespace util { class XNumberFormatsSupplier; } } } }
namespace chart namespace chart
{ {
......
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