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

tdf#42949 Fix IWYU warnings in chart2/source/controller/inc/[I-V]*

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
A bit of fallout management as well.

Change-Id: Ie058eac6608d7c6dc2cfb29f1081b6684a4412ac
Reviewed-on: https://gerrit.libreoffice.org/55541Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJochen Nitschke <j.nitschke+logerrit@ok.de>
üst 5db29ca0
......@@ -317,3 +317,9 @@ blacklist:
- com/sun/star/frame/XLayoutManagerListener.hpp
- com/sun/star/ui/XContextMenuInterception.hpp
- com/sun/star/util/XModeChangeListener.hpp
chart2/source/controller/inc/ItemPropertyMap.hxx:
# base class has to be a complete type
- map
chart2/source/controller/inc/RangeSelectionHelper.hxx:
# base class has to be a complete type
- com/sun/star/uno/Sequence.h
......@@ -18,6 +18,7 @@
*/
#include <TimerTriggeredControllerLock.hxx>
#include <ControllerLockGuard.hxx>
#include <vcl/edit.hxx>
......
......@@ -22,9 +22,11 @@
#include <RangeSelectionHelper.hxx>
#include <TabPageNotifiable.hxx>
#include <helpids.h>
#include <chartview/ChartSfxItemIds.hxx>
#include <rtl/math.hxx>
#include <vcl/dialog.hxx>
#include <vcl/layout.hxx>
#include <svl/stritem.hxx>
#define CHART_LB_FUNCTION_STD_ERROR 0
......
......@@ -31,6 +31,7 @@
#include <svl/intitem.hxx>
#include <svl/eitem.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/builder.hxx>
namespace chart
{
......
......@@ -20,6 +20,7 @@
#include <res_Titles.hxx>
#include <TitleDialogData.hxx>
#include <svtools/controldims.hxx>
#include <vcl/builder.hxx>
namespace chart
{
......
......@@ -20,6 +20,7 @@
#include "tp_3D_SceneIllumination.hxx"
#include <bitmaps.hlst>
#include <CommonConverters.hxx>
#include <ControllerLockGuard.hxx>
#include <svx/colorbox.hxx>
#include <svx/dialogs.hrc>
......
......@@ -41,6 +41,7 @@
#include <svx/svdobj.hxx>
#include <vcl/virdev.hxx>
#include <svx/svdview.hxx>
#include <svx/svdpage.hxx>
namespace chart
{
......
......@@ -21,6 +21,7 @@
#include "ItemConverter.hxx"
#include "GraphicPropertyItemConverter.hxx"
#include <com/sun/star/uno/Sequence.h>
#include <tools/color.hxx>
......
......@@ -21,10 +21,12 @@
#include <unotools/eventlisteneradapter.hxx>
#include <svl/itemset.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <utility>
namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } }
namespace com { namespace sun { namespace star { namespace beans { class XPropertySetInfo; } } } }
namespace chart { namespace wrapper {
......
......@@ -20,11 +20,12 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_LEGENDITEMCONVERTER_HXX
#include "ItemConverter.hxx"
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <vector>
namespace com { namespace sun { namespace star { namespace awt { struct Size; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
class SdrModel;
namespace chart
......
......@@ -20,9 +20,10 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_MULTIPLECHARTCONVERTERS_HXX
#include "MultipleItemConverter.hxx"
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
namespace com { namespace sun { namespace star { namespace awt { struct Size; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
class SdrModel;
......
......@@ -21,9 +21,8 @@
#include <ObjectIdentifier.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/awt/KeyEvent.hpp>
namespace com { namespace sun { namespace star { namespace awt { struct KeyEvent; } } } }
namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } }
#include <memory>
#include <vector>
......
......@@ -22,8 +22,9 @@
#include <ObjectIdentifier.hxx>
#include <TitleHelper.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace chart
{
......
......@@ -21,7 +21,8 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_POSITIONANDSIZEHELPER_HXX
#include <ObjectIdentifier.hxx>
#include <com/sun/star/frame/XModel.hpp>
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace chart
{
......
......@@ -19,14 +19,17 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_RANGESELECTIONHELPER_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_RANGESELECTIONHELPER_HXX
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Sequence.h>
#include <rtl/ustring.hxx>
namespace com { namespace sun { namespace star { namespace beans { struct PropertyValue; } } } }
namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } }
namespace com { namespace sun { namespace star {
namespace sheet{
class XRangeSelection;
class XRangeSelectionListener;
class XCellRangesAccess;
}
}}}
......
......@@ -21,8 +21,9 @@
#include <ControllerLockGuard.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/frame/XModel.hpp>
#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
{
......
......@@ -21,11 +21,8 @@
#include "ItemConverter.hxx"
#include <com/sun/star/chart2/XRegressionCurveContainer.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <memory>
#include <vector>
namespace com { namespace sun { namespace star { namespace chart2 { class XRegressionCurveContainer; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
class SdrModel;
......
......@@ -20,14 +20,13 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_REGRESSIONEQUATIONITEMCONVERTER_HXX
#include "ItemConverter.hxx"
#include "GraphicPropertyItemConverter.hxx"
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <vector>
namespace com { namespace sun { namespace star { namespace awt { struct Size; } } } }
namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
class SdrModel;
namespace chart { namespace wrapper {
......
......@@ -23,14 +23,12 @@
#include <ObjectIdentifier.hxx>
class SdrObject;
#include <svx/svdtypes.hxx>
#include <com/sun/star/drawing/XShape.hpp>
namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } }
namespace chart
{
class ObjectIdentifier;
class Selection
{
public: //methods
......
......@@ -20,10 +20,11 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_SERIESOPTIONSITEMCONVERTER_HXX
#include "ItemConverter.hxx"
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/chart2/XCoordinateSystem.hpp>
namespace com { namespace sun { namespace star { namespace chart2 { class XCoordinateSystem; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace chart
{
......
......@@ -19,13 +19,9 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_STATISTICSITEMCONVERTER_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_STATISTICSITEMCONVERTER_HXX
#include <com/sun/star/frame/XModel.hpp>
#include "ItemConverter.hxx"
#include "GraphicPropertyItemConverter.hxx"
#include <NumberFormatterWrapper.hxx>
#include <vector>
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace chart
{
......
......@@ -19,14 +19,13 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TABPAGENOTIFIABLE_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TABPAGENOTIFIABLE_HXX
#include <vcl/tabpage.hxx>
#include <tools/color.hxx>
// color to use as foreground for an invalid range
#define RANGE_SELECTION_INVALID_RANGE_FOREGROUND_COLOR COL_WHITE
// color to use as background for an invalid range
#define RANGE_SELECTION_INVALID_RANGE_BACKGROUND_COLOR Color(0xff6563)
class TabPage;
namespace chart
{
......
......@@ -21,12 +21,14 @@
#include "ItemConverter.hxx"
#include <com/sun/star/chart2/XDataSeries.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/Sequence.h>
#include <vector>
namespace com { namespace sun { namespace star { namespace awt { struct Size; } } } }
namespace com { namespace sun { namespace star { namespace chart2 { class XDataSeries; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace chart { namespace wrapper {
class TextLabelItemConverter : public ItemConverter
......
......@@ -19,12 +19,14 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TIMERTRIGGEREDCONTROLLERLOCK_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TIMERTRIGGEREDCONTROLLERLOCK_HXX
#include <ControllerLockGuard.hxx>
#include <com/sun/star/uno/Reference.h>
#include <vcl/timer.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <memory>
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace chart { class ControllerLockGuardUNO; }
namespace chart
{
......
......@@ -20,11 +20,12 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TITLEDIALOGDATA_HXX
#include <ReferenceSizeProvider.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <memory>
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace chart
{
......
......@@ -20,11 +20,12 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TITLEITEMCONVERTER_HXX
#include "ItemConverter.hxx"
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <vector>
namespace com { namespace sun { namespace star { namespace awt { struct Size; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
class SdrModel;
namespace chart { namespace wrapper {
......
......@@ -21,9 +21,10 @@
#include <memory>
#include <svx/xtable.hxx>
#include <svx/svdpage.hxx>
class FontList;
class SdrObjList;
class SfxItemSet;
namespace chart
{
......
......@@ -21,18 +21,15 @@
#include <memory>
#include <vcl/button.hxx>
#include <sfx2/tabdlg.hxx>
#include <vcl/fixed.hxx>
#include <vcl/field.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/layout.hxx>
#include <svl/itemset.hxx>
#include <svx/chrtitem.hxx>
#include <chartview/ChartSfxItemIds.hxx>
#include "RangeSelectionListener.hxx"
#include <com/sun/star/chart2/XChartDocument.hpp>
class Dialog;
namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } }
namespace chart
{
......
......@@ -19,12 +19,13 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_RES_LEGENDPOSITION_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_RES_LEGENDPOSITION_HXX
#include <vcl/builder.hxx>
#include <vcl/button.hxx>
#include <vcl/fixed.hxx>
#include <svl/itemset.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
class VclBuilderContainer;
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace chart
{
......
......@@ -20,9 +20,11 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_RES_TITLES_HXX
#include "TitleDialogData.hxx"
#include <vcl/builder.hxx>
#include <vcl/fixed.hxx>
class VclBuilderContainer;
class Edit;
namespace chart
{
......
......@@ -34,6 +34,7 @@
#include <svx/chrtitem.hxx>
#include <com/sun/star/chart2/DataPointLabel.hpp>
#include <com/sun/star/chart2/Symbol.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <svx/xflclit.hxx>
#include <svl/intitem.hxx>
......
......@@ -38,6 +38,7 @@
#include <svl/eitem.hxx>
#include <svx/xgrscit.hxx>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/chart2/FillBitmap.hpp>
#include <com/sun/star/awt/Gradient.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
......
......@@ -19,6 +19,7 @@
#include <ItemConverter.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <osl/diagnose.h>
#include <svl/itempool.hxx>
#include <svl/itemprop.hxx>
......
......@@ -25,6 +25,7 @@
#include <com/sun/star/chart2/XLegend.hpp>
#include <com/sun/star/chart2/LegendPosition.hpp>
#include <com/sun/star/chart/ChartLegendExpansion.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <svl/intitem.hxx>
#include <svl/eitem.hxx>
......
......@@ -24,6 +24,7 @@
#include <CharacterPropertyItemConverter.hxx>
#include <MultipleItemConverter.hxx>
#include <unonames.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <svl/intitem.hxx>
#include <rtl/math.hxx>
......
......@@ -27,6 +27,7 @@
#include <rtl/math.hxx>
#include <com/sun/star/chart2/XTitled.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <functional>
#include <algorithm>
......
......@@ -33,6 +33,7 @@
#include <TitleHelper.hxx>
#include <DiagramHelper.hxx>
#include <chartview/DrawModelWrapper.hxx>
#include <chartview/ChartSfxItemIds.hxx>
#include <NumberFormatterWrapper.hxx>
#include <ViewElementListProvider.hxx>
#include <MultipleChartConverters.hxx>
......
......@@ -20,6 +20,7 @@
#include <ChartController.hxx>
#include <ChartWindow.hxx>
#include <chartview/DrawModelWrapper.hxx>
#include <chartview/ChartSfxItemIds.hxx>
#include <ObjectIdentifier.hxx>
#include <chartview/ExplicitValueProvider.hxx>
#include <dlg_ObjectProperties.hxx>
......
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