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

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

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here
A bit of fallout management was necessary as well
find-unneeded-includes gave no proposals for chart2/inc

Change-Id: Id382586f575cf45da758da453df9340b28e9ddd0
Reviewed-on: https://gerrit.libreoffice.org/54778Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 89dc667c
---
assumeFilename: chart2/source/controller/main/ChartWindow.cxx
blacklist:
chart2/source/inc/BaseGFXHelper.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
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
- com/sun/star/drawing/Direction3D.hpp
- com/sun/star/drawing/XShapes.hpp
chart2/source/inc/chartview/ExplicitScaleValues.hxx:
# base class has to be a complete type
- com/sun/star/chart/TimeUnit.hpp
- com/sun/star/chart2/AxisType.hpp
- com/sun/star/chart2/XScaling.hpp
chart2/source/inc/chartview/DrawModelWrapper.hxx:
# base class has to be a complete type
- com/sun/star/drawing/XDrawPage.hpp
- com/sun/star/frame/XModel.hpp
- com/sun/star/lang/XMultiServiceFactory.hpp
- svx/svdobj.hxx
chart2/source/inc/DataSource.hxx:
# base class has to be a complete type
- com/sun/star/chart2/data/XDataSink.hpp
- com/sun/star/chart2/data/XDataSource.hpp
- com/sun/star/lang/XServiceInfo.hpp
chart2/source/inc/DisposeHelper.hxx:
# base class has to be a complete type
- com/sun/star/uno/Reference.hxx
chart2/source/inc/EventListenerHelper.hxx:
# base class has to be a complete type
- com/sun/star/lang/XEventListener.hpp
chart2/source/inc/ErrorBar.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/chart2/data/XDataSink.hpp
- com/sun/star/chart2/data/XDataSource.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/uno/Any.hxx
- com/sun/star/util/XCloneable.hpp
- com/sun/star/util/XModifyBroadcaster.hpp
- com/sun/star/util/XModifyListener.hpp
chart2/source/inc/FormattedStringHelper.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/chart2/XFormattedString2.hpp
- com/sun/star/uno/XComponentContext.hpp
chart2/source/inc/FillProperties.hxx:
# base class has to be a complete type
- com/sun/star/beans/Property.hpp
chart2/source/inc/InternalData.hxx:
# base class has to be a complete type
- com/sun/star/uno/Sequence.hxx
chart2/source/inc/LifeTime.hxx:
# base class has to be a complete type
- com/sun/star/lang/XComponent.hpp
- com/sun/star/util/CloseVetoException.hpp
- com/sun/star/util/XCloseListener.hpp
- com/sun/star/util/XCloseable.hpp
- cppuhelper/interfacecontainer.hxx
chart2/source/inc/LinePropertiesHelper.hxx:
# base class has to be a complete type
- com/sun/star/beans/Property.hpp
- com/sun/star/beans/XPropertySet.hpp
chart2/source/inc/MediaDescriptorHelper.hxx:
# base class has to be a complete type
- com/sun/star/beans/PropertyValue.hpp
- com/sun/star/embed/XStorage.hpp
- com/sun/star/io/XInputStream.hpp
- com/sun/star/io/XOutputStream.hpp
- com/sun/star/io/XStream.hpp
chart2/source/inc/ModifyListenerHelper.hxx:
# base class has to be a complete type
- com/sun/star/uno/XWeak.hpp
- com/sun/star/util/XModifyListener.hpp
- cppuhelper/weakref.hxx
chart2/source/inc/NameContainer.hxx:
# base class has to be a complete type
- com/sun/star/container/XNameContainer.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/util/XCloneable.hpp
chart2/source/inc/NumberFormatterWrapper.hxx:
# base class has to be a complete type
- com/sun/star/util/XNumberFormatsSupplier.hpp
- svl/zforlist.hxx
chart2/source/inc/PropertyHelper.hxx:
# base class has to be a complete type
- com/sun/star/lang/XMultiServiceFactory.hpp
- com/sun/star/uno/Any.hxx
chart2/source/inc/PopupRequest.hxx:
# base class has to be a complete type
- com/sun/star/awt/XRequestCallback.hpp
chart2/source/inc/RangeHighlighter.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/chart2/data/XRangeHighlighter.hpp
- com/sun/star/view/XSelectionSupplier.hpp
chart2/source/inc/RelativePositionHelper.hxx:
# base class has to be a complete type
- com/sun/star/awt/Size.hpp
- com/sun/star/chart2/RelativeSize.hpp
chart2/source/inc/RelativeSizeHelper.hxx:
# base class has to be a complete type
- com/sun/star/awt/Size.hpp
- com/sun/star/beans/XPropertySet.hpp
chart2/source/inc/Scaling.hxx:
# base class has to be a complete type
- com/sun/star/chart2/XScaling.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XServiceName.hpp
chart2/source/inc/StatisticsHelper.hxx:
# base class has to be a complete type
- com/sun/star/chart2/XDataSeries.hpp
- com/sun/star/chart2/data/XDataProvider.hpp
- com/sun/star/chart2/data/XDataSource.hpp
- com/sun/star/uno/Sequence.hxx
chart2/source/inc/SceneProperties.hxx:
# base class has to be a complete type
- com/sun/star/beans/Property.hpp
chart2/source/inc/ThreeDHelper.hxx:
# base class has to be a complete type
- com/sun/star/chart2/XDiagram.hpp
chart2/source/inc/UserDefinedProperties.hxx:
# base class has to be a complete type
- com/sun/star/beans/Property.hpp
chart2/source/inc/UncachedDataSequence.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/chart2/XInternalDataProvider.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/container/XIndexReplace.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/util/XCloneable.hpp
- com/sun/star/util/XModifiable.hpp
chart2/source/inc/WeakListenerAdapter.hxx:
# base class has to be a complete type
- com/sun/star/util/XModifyListener.hpp
- com/sun/star/view/XSelectionChangeListener.hpp
chart2/source/inc/WrappedProperty.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
chart2/source/inc/WrappedPropertySet.hxx:
# base class has to be a complete type
- com/sun/star/beans/Property.hpp
- com/sun/star/beans/XMultiPropertySet.hpp
- com/sun/star/beans/XMultiPropertyStates.hpp
- com/sun/star/beans/XPropertySet.hpp
- cppuhelper/propshlp.hxx
- com/sun/star/beans/XPropertyState.hpp
......@@ -32,6 +32,7 @@
#include <vcl/svapp.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/diagnose_ex.h>
#include <comphelper/property.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::accessibility;
......
......@@ -45,6 +45,7 @@
#include <com/sun/star/chart2/data/XTextualDataSequence.hpp>
#include <com/sun/star/util/XModifiable.hpp>
#include <tools/diagnose_ex.h>
#include <comphelper/property.hxx>
#include <rtl/math.hxx>
......
......@@ -20,9 +20,6 @@
#define INCLUDED_CHART2_SOURCE_INC_BASEGFXHELPER_HXX
#include <basegfx/matrix/b3dhommatrix.hxx>
#include <basegfx/polygon/b3dpolypolygon.hxx>
#include <basegfx/polygon/b3dpolygon.hxx>
#include <basegfx/point/b3dpoint.hxx>
#include <basegfx/range/b2irectangle.hxx>
#include <basegfx/tuple/b3dtuple.hxx>
#include <basegfx/vector/b3dvector.hxx>
......
......@@ -37,8 +37,6 @@
#include <com/sun/star/util/XCloneable.hpp>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <vector>
namespace chart
{
......
......@@ -21,9 +21,7 @@
#include <com/sun/star/util/XCloneable.hpp>
#include <map>
#include <algorithm>
#include <iterator>
namespace chart
{
......
......@@ -29,7 +29,6 @@
#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/text/WritingMode.hpp>
#include <com/sun/star/chart2/data/XDataSequence.hpp>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/point/b3dpoint.hxx>
......@@ -37,8 +36,6 @@
#include "charttoolsdllapi.hxx"
#include <vector>
#include <algorithm>
#include <iterator>
namespace chart
{
......
......@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_COMMONFUNCTORS_HXX
#define INCLUDED_CHART2_SOURCE_INC_COMMONFUNCTORS_HXX
#include <algorithm>
#include <o3tl/any.hxx>
#include <rtl/math.hxx>
#include <com/sun/star/uno/Any.hxx>
......
......@@ -20,12 +20,6 @@
#define INCLUDED_CHART2_SOURCE_INC_CONTAINERHELPER_HXX
#include <vector>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <o3tl/functional.hxx>
namespace chart
{
......
......@@ -22,7 +22,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/chart2/data/XDataSource.hpp>
#include <com/sun/star/chart2/data/XDataSink.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase.hxx>
namespace chart
......
......@@ -20,26 +20,26 @@
#define INCLUDED_CHART2_SOURCE_INC_ERRORBAR_HXX
#include "MutexContainer.hxx"
#include "ModifyListenerHelper.hxx"
#include "charttoolsdllapi.hxx"
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/chart2/data/XDataSink.hpp>
#include <com/sun/star/chart2/data/XDataSource.hpp>
#include <com/sun/star/chart/ErrorBarStyle.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/LineJoint.hpp>
#include <com/sun/star/drawing/LineDash.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceName.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/XCloneable.hpp>
#include <com/sun/star/util/Color.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <vector>
namespace chart
{
......
......@@ -22,9 +22,7 @@
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <list>
#include <algorithm>
#include <utility>
namespace chart
{
......
......@@ -21,13 +21,11 @@
#include <osl/mutex.hxx>
#include <osl/conditn.hxx>
#include <com/sun/star/uno/Exception.hpp>
#include <cppuhelper/interfacecontainer.hxx>
#include <com/sun/star/util/CloseVetoException.hpp>
#include <com/sun/star/util/XCloseListener.hpp>
#include <com/sun/star/util/XCloseable.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <cppuhelper/weakref.hxx>
#include "charttoolsdllapi.hxx"
namespace apphelper
......
......@@ -23,6 +23,7 @@
#include "FastPropertyIdRanges.hxx"
#include "charttoolsdllapi.hxx"
#include <com/sun/star/beans/Property.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <vector>
......
......@@ -21,8 +21,6 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/util/URL.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
......
......@@ -19,10 +19,8 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_MODIFYLISTENERHELPER_HXX
#define INCLUDED_CHART2_SOURCE_INC_MODIFYLISTENERHELPER_HXX
#include <cppuhelper/interfacecontainer.hxx>
#include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <com/sun/star/util/XModifiable.hpp>
#include <com/sun/star/uno/XWeak.hpp>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/weakref.hxx>
......
......@@ -22,7 +22,6 @@
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/XCloneable.hpp>
#include <cppuhelper/implbase.hxx>
#include "charttoolsdllapi.hxx"
......
......@@ -21,16 +21,12 @@
// helper classes
#include <cppuhelper/propshlp.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/weak.hxx>
// interfaces and types
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/XMultiPropertyStates.hpp>
#include <com/sun/star/beans/Property.hpp>
#include <com/sun/star/style/XStyleSupplier.hpp>
#include <osl/mutex.hxx>
#include "charttoolsdllapi.hxx"
#include <memory>
......
......@@ -12,7 +12,6 @@
#include "MutexContainer.hxx"
#include <cppuhelper/compbase.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/awt/XRequestCallback.hpp>
namespace chart
......
......@@ -19,15 +19,11 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_PROPERTYHELPER_HXX
#define INCLUDED_CHART2_SOURCE_INC_PROPERTYHELPER_HXX
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/Property.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <comphelper/property.hxx>
#include "charttoolsdllapi.hxx"
#include <map>
#include <unordered_map>
namespace chart
......
......@@ -22,7 +22,6 @@
#include <rtl/math.hxx>
#include <utility>
#include <algorithm>
#include <vector>
namespace chart
......
......@@ -22,7 +22,6 @@
#include <com/sun/star/chart2/XScaling.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceName.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase.hxx>
namespace chart
......
......@@ -20,7 +20,6 @@
#define INCLUDED_CHART2_SOURCE_INC_STATISTICSHELPER_HXX
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/chart2/data/XDataSource.hpp>
#include <com/sun/star/chart2/data/XDataProvider.hpp>
#include <com/sun/star/chart2/XDataSeries.hpp>
......
......@@ -22,7 +22,6 @@
#include <com/sun/star/chart2/XDiagram.hpp>
#include <com/sun/star/drawing/CameraGeometry.hpp>
#include <com/sun/star/drawing/ShadeMode.hpp>
#include "charttoolsdllapi.hxx"
namespace chart
......
......@@ -25,12 +25,10 @@
#include <comphelper/broadcasthelper.hxx>
#include <comphelper/propertycontainer.hxx>
#include <comphelper/proparrhlp.hxx>
#include "charttoolsdllapi.hxx"
// interfaces and types
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/chart2/XInternalDataProvider.hpp>
#include <com/sun/star/chart2/data/XDataSequence.hpp>
#include <com/sun/star/chart2/data/XNumericalDataSequence.hpp>
......@@ -38,11 +36,8 @@
#include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/util/XCloneable.hpp>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <com/sun/star/util/XModifiable.hpp>
#include <vector>
namespace chart
{
......
......@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_USERDEFINEDPROPERTIES_HXX
#define INCLUDED_CHART2_SOURCE_INC_USERDEFINEDPROPERTIES_HXX
#include "PropertyHelper.hxx"
#include "FastPropertyIdRanges.hxx"
#include "charttoolsdllapi.hxx"
#include <com/sun/star/beans/Property.hpp>
......
......@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_WEAKLISTENERADAPTER_HXX
#define INCLUDED_CHART2_SOURCE_INC_WEAKLISTENERADAPTER_HXX
#include <com/sun/star/uno/XWeak.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/view/XSelectionChangeListener.hpp>
......
......@@ -30,7 +30,6 @@
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/propshlp.hxx>
#include <algorithm>
#include <vector>
namespace chart
......
......@@ -23,7 +23,6 @@
#include <svx/svdobj.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/drawing/XDrawPage.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <chartview/chartviewdllapi.hxx>
......
......@@ -37,6 +37,7 @@
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
#include <tools/diagnose_ex.h>
#include <comphelper/property.hxx>
#include <algorithm>
#include <iterator>
......
......@@ -22,6 +22,7 @@
#include <EventListenerHelper.hxx>
#include <PropertyHelper.hxx>
#include <CloneHelper.hxx>
#include <ModifyListenerHelper.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/supportsservice.hxx>
......
......@@ -21,6 +21,7 @@
#include <PropertyHelper.hxx>
#include <com/sun/star/chart2/FormattedString.hpp>
#include <tools/diagnose_ex.h>
#include <comphelper/property.hxx>
namespace chart
{
......
......@@ -42,6 +42,7 @@
#include <unotools/charclass.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/property.hxx>
#include <tools/diagnose_ex.h>
#include <vector>
......
......@@ -35,6 +35,7 @@
#include <DiagramHelper.hxx>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <tools/diagnose_ex.h>
#include <comphelper/property.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
......
......@@ -20,6 +20,7 @@
#include <Scaling.hxx>
#include <rtl/math.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/supportsservice.hxx>
namespace
......
......@@ -28,6 +28,7 @@
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/ShadeMode.hpp>
#include <tools/diagnose_ex.h>
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