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

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

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

Change-Id: Ibbd16ba39d58891b834ae83feaa03f0522bdbb76
Reviewed-on: https://gerrit.libreoffice.org/55241Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 0453b6a8
......@@ -285,3 +285,35 @@ blacklist:
chart2/source/view/inc/VPolarTransformation.hxx:
# base class has to be a complete type
- com/sun/star/chart2/XTransformation.hpp
chart2/source/controller/inc/AccessibleTextHelper.hxx:
# base class has to be a complete type
- com/sun/star/accessibility/XAccessibleContext.hpp
- com/sun/star/lang/XInitialization.hpp
chart2/source/controller/inc/AccessibleChartView.hxx:
# base class has to be a complete type
- com/sun/star/lang/XInitialization.hpp
- com/sun/star/view/XSelectionChangeListener.hpp
chart2/source/controller/inc/AccessibleBase.hxx:
# base class has to be a complete type
- com/sun/star/accessibility/XAccessible.hpp
- com/sun/star/accessibility/XAccessibleContext.hpp
- com/sun/star/accessibility/XAccessibleComponent.hpp
- com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XEventListener.hpp
chart2/source/controller/inc/CharacterPropertyItemConverter.hxx:
# has to be a complete type
- com/sun/star/awt/Size.hpp
chart2/source/controller/inc/ChartToolbarController.hxx:
# base class has to be a complete type
- com/sun/star/frame/XStatusListener.hpp
- com/sun/star/frame/XToolbarController.hpp
- com/sun/star/lang/XInitialization.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/util/XUpdatable.hpp
chart2/source/controller/inc/ChartController.hxx:
# base class has to be a complete type
- com/sun/star/frame/XDispatchProvider.hpp
- com/sun/star/frame/XLayoutManagerListener.hpp
- com/sun/star/ui/XContextMenuInterception.hpp
- com/sun/star/util/XModeChangeListener.hpp
......@@ -31,6 +31,7 @@
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <rtl/ustrbuf.hxx>
#include <vcl/svapp.hxx>
#include <rtl/uuid.h>
......@@ -50,6 +51,7 @@
#include <vcl/settings.hxx>
#include <o3tl/functional.hxx>
#include <tools/diagnose_ex.h>
#include <unotools/accessiblestatesethelper.hxx>
#include <algorithm>
#include <iterator>
......
......@@ -29,6 +29,7 @@
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <rtl/ustring.hxx>
#include <vcl/window.hxx>
......
......@@ -19,6 +19,7 @@
#include <dlg_DataEditor.hxx>
#include "DataBrowser.hxx"
#include <comphelper/stl_types.hxx>
#include <sfx2/dispatch.hxx>
#include <vcl/taskpanelist.hxx>
......
......@@ -28,6 +28,7 @@
#include "tp_DataSource.hxx"
#include <vcl/layout.hxx>
#include <vcl/tabctrl.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
......
......@@ -21,28 +21,26 @@
#include <ObjectIdentifier.hxx>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/accessibility/XAccessibleContext.hpp>
#include <com/sun/star/accessibility/XAccessibleComponent.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/document/XEventListener.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <comphelper/accessibleeventnotifier.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <unotools/accessiblestatesethelper.hxx>
#include <rtl/ref.hxx>
#include <map>
#include <memory>
#include <vector>
#include <MutexContainer.hxx>
namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } }
namespace com { namespace sun { namespace star { namespace view { class XSelectionSupplier; } } } }
namespace utl { class AccessibleStateSetHelper; }
class SdrView;
namespace accessibility
......
......@@ -20,20 +20,18 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_ACCESSIBLECHARTVIEW_HXX
#include "AccessibleBase.hxx"
#include <MutexContainer.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/weakref.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <com/sun/star/view/XSelectionChangeListener.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <memory>
namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } } } }
namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace view { class XSelectionSupplier; } } } }
namespace accessibility
{
class IAccessibleViewForwarder;
......@@ -42,8 +40,6 @@ class IAccessibleViewForwarder;
namespace chart
{
class ExplicitValueProvider;
namespace impl
{
typedef ::cppu::ImplInheritanceHelper<
......
......@@ -19,15 +19,17 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_AXISITEMCONVERTER_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_AXISITEMCONVERTER_HXX
#include <chartview/ExplicitScaleValues.hxx>
#include <com/sun/star/chart2/XAxis.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/awt/Size.hpp>
#include "ItemConverter.hxx"
#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 chart2 { class XAxis; } } } }
namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } }
namespace chart { struct ExplicitIncrementData; }
namespace chart { struct ExplicitScaleData; }
class SdrModel;
namespace chart { namespace wrapper {
......
......@@ -20,7 +20,6 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_CHARACTERPROPERTYITEMCONVERTER_HXX
#include "ItemConverter.hxx"
#include <com/sun/star/beans/PropertyState.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <boost/optional.hpp>
......
......@@ -25,35 +25,41 @@
#include <svx/svdtypes.hxx>
#include <vcl/timer.hxx>
#include <vcl/event.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/document/XUndoManager.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <com/sun/star/ui/XContextMenuInterception.hpp>
#include <com/sun/star/uno/XWeak.hpp>
#include <com/sun/star/util/XCloseListener.hpp>
#include <com/sun/star/util/XCloseable.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/util/XModeChangeListener.hpp>
#include <com/sun/star/awt/Point.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/frame/XLayoutManagerListener.hpp>
#include <com/sun/star/frame/XLayoutManagerEventBroadcaster.hpp>
#include <memory>
#include <set>
namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } } } }
namespace com { namespace sun { namespace star { namespace accessibility { class XAccessibleContext; } } } }
namespace com { namespace sun { namespace star { namespace awt { class XFocusListener; } } } }
namespace com { namespace sun { namespace star { namespace awt { class XKeyListener; } } } }
namespace com { namespace sun { namespace star { namespace awt { class XMouseListener; } } } }
namespace com { namespace sun { namespace star { namespace awt { class XMouseMotionListener; } } } }
namespace com { namespace sun { namespace star { namespace awt { class XPaintListener; } } } }
namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
namespace com { namespace sun { namespace star { namespace awt { class XWindowListener; } } } }
namespace com { namespace sun { namespace star { namespace awt { struct Point; } } } }
namespace com { namespace sun { namespace star { namespace document { class XUndoManager; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XController; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XDispatch; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XLayoutManagerEventBroadcaster; } } } }
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 uno { class XComponentContext; } } } }
namespace com { namespace sun { namespace star { namespace util { class XCloseable; } } } }
namespace com { namespace sun { namespace star { namespace util { class XCloseListener; } } } }
namespace com { namespace sun { namespace star { namespace util { class XModifyListener; } } } }
namespace com { namespace sun { namespace star { namespace view { class XSelectionSupplier; } } } }
class SdrModel;
namespace svt
......
......@@ -18,8 +18,9 @@
#include <com/sun/star/util/XUpdatable.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/frame/XFramesSupplier.hpp>
namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XFramesSupplier; } } } }
namespace chart {
......
......@@ -19,16 +19,18 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_MAIN_COMMANDDISPATCHCONTAINER_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_MAIN_COMMANDDISPATCHCONTAINER_HXX
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/DispatchDescriptor.hpp>
#include <cppuhelper/weakref.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <set>
#include <map>
#include <vector>
namespace com { namespace sun { namespace star { namespace frame { class XController; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XDispatch; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace frame { struct DispatchDescriptor; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace com { namespace sun { namespace star { namespace util { struct URL; } } } }
namespace chart
{
......
......@@ -22,14 +22,15 @@
#include "ItemConverter.hxx"
#include "GraphicPropertyItemConverter.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/XComponentContext.hpp>
#include <tools/color.hxx>
#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 com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
class SdrModel;
namespace chart { namespace wrapper {
......
......@@ -21,8 +21,9 @@
#include <memory>
#include <svx/view3d.hxx>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/frame/XModel.hpp>
namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
class SdrModel;
......
......@@ -21,14 +21,9 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_ERRORBARITEMCONVERTER_HXX
#include "ItemConverter.hxx"
#include "GraphicPropertyItemConverter.hxx"
#include <NumberFormatterWrapper.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <memory>
#include <vector>
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
class SdrModel;
......
......@@ -20,8 +20,8 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_GRAPHICPROPERTYITEMCONVERTER_HXX
#include "ItemConverter.hxx"
#include <com/sun/star/beans/PropertyState.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
class SdrModel;
......
......@@ -20,10 +20,8 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_CHARTTYPE_HXX
#include <vcl/dialog.hxx>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace chart
{
......
......@@ -21,13 +21,11 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_CHARTTYPE_UNO_HXX
#include <comphelper/proparrhlp.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <vcl/vclevent.hxx>
#include <svtools/genericunodialog.hxx>
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace beans { class XPropertySetInfo; } } } }
namespace chart
{
typedef ::svt::OGenericUnoDialog ChartTypeUnoDlg_BASE;
......
......@@ -23,13 +23,13 @@
#include "TimerTriggeredControllerLock.hxx"
#include "TabPageNotifiable.hxx"
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <svtools/roadmapwizard.hxx>
#include <memory>
namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace chart
{
......
......@@ -22,17 +22,20 @@
#include <MutexContainer.hxx>
#include <cppuhelper/component.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XTerminateListener.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <tools/link.hxx>
#include <vcl/vclevent.hxx>
#include <vcl/vclptr.hxx>
namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
class VclWindowEvent;
namespace chart
{
......
......@@ -20,11 +20,11 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_DATAEDITOR_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_DATAEDITOR_HXX
#include <svl/lstner.hxx>
#include <vcl/toolbox.hxx>
#include <comphelper/stl_types.hxx>
#include <vcl/dialog.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace comphelper { template <class Tp, class Arg> class mem_fun1_t; }
namespace com { namespace sun { namespace star {
namespace chart2 {
......
......@@ -20,15 +20,18 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_DATASOURCE_HXX
#include <vcl/tabdlg.hxx>
#include <vcl/tabctrl.hxx>
#include <vcl/button.hxx>
#include <vcl/vclptr.hxx>
#include "TabPageNotifiable.hxx"
#include <com/sun/star/uno/XComponentContext.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 uno { class XComponentContext; } } } }
#include <memory>
class TabPage;
namespace chart
{
......
......@@ -20,7 +20,6 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_INSERTDATALABEL_HXX
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
#include <svl/itemset.hxx>
#include <memory>
......
......@@ -21,12 +21,12 @@
#include <memory>
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
#include <svl/itemset.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include "res_ErrorBar.hxx"
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace chart
{
......
......@@ -20,14 +20,14 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_INSERTLEGEND_HXX
#include <vcl/dialog.hxx>
#include <sfx2/basedlgs.hxx>
#include <memory>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include "res_LegendPosition.hxx"
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace chart
{
......
......@@ -21,7 +21,6 @@
#include "res_Titles.hxx"
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
#include <memory>
namespace chart
......
......@@ -21,8 +21,8 @@
#include <ObjectIdentifier.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/dlgctrl.hxx>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
namespace com { namespace sun { namespace star { namespace util { class XNumberFormatsSupplier; } } } }
namespace chart
{
......
......@@ -19,15 +19,13 @@
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_VIEW3D_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_VIEW3D_HXX
#include <com/sun/star/drawing/ShadeMode.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <vcl/tabdlg.hxx>
#include <vcl/tabctrl.hxx>
#include <svx/xtable.hxx>
#include <ControllerLockGuard.hxx>
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace chart
{
class ThreeD_SceneGeometry_TabPage;
......
......@@ -60,6 +60,7 @@
#include <com/sun/star/util/XModeChangeBroadcaster.hpp>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <com/sun/star/frame/LayoutManagerEvents.hpp>
#include <com/sun/star/frame/XLayoutManagerEventBroadcaster.hpp>
#include <com/sun/star/document/XUndoManagerSupplier.hpp>
#include <com/sun/star/document/XUndoAction.hpp>
#include <com/sun/star/ui/XSidebar.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