diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-05-28 01:10:13 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-09 12:52:02 +0200 |
commit | fa9d10e3350b84c3a249294cad650188dce39538 (patch) | |
tree | 59bc49f868415b4afa212a483ba67c2400c34c2f /chart2/source/controller/inc | |
parent | 0453b6a8453355229b2537186cb12fa529be8e89 (diff) |
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/55241
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/inc')
23 files changed, 97 insertions, 98 deletions
diff --git a/chart2/source/controller/inc/AccessibleBase.hxx b/chart2/source/controller/inc/AccessibleBase.hxx index 0217283d9925..324d743ee23d 100644 --- a/chart2/source/controller/inc/AccessibleBase.hxx +++ b/chart2/source/controller/inc/AccessibleBase.hxx @@ -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 diff --git a/chart2/source/controller/inc/AccessibleChartView.hxx b/chart2/source/controller/inc/AccessibleChartView.hxx index baab3db86285..0acac0d57e2b 100644 --- a/chart2/source/controller/inc/AccessibleChartView.hxx +++ b/chart2/source/controller/inc/AccessibleChartView.hxx @@ -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< diff --git a/chart2/source/controller/inc/AxisItemConverter.hxx b/chart2/source/controller/inc/AxisItemConverter.hxx index 3a82e54124af..b1327ff50040 100644 --- a/chart2/source/controller/inc/AxisItemConverter.hxx +++ b/chart2/source/controller/inc/AxisItemConverter.hxx @@ -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 { diff --git a/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx b/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx index 42a7ef895493..311ffddaae63 100644 --- a/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx +++ b/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx @@ -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> diff --git a/chart2/source/controller/inc/ChartController.hxx b/chart2/source/controller/inc/ChartController.hxx index 941672c0cc6e..d6f5658b62cf 100644 --- a/chart2/source/controller/inc/ChartController.hxx +++ b/chart2/source/controller/inc/ChartController.hxx @@ -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 diff --git a/chart2/source/controller/inc/ChartToolbarController.hxx b/chart2/source/controller/inc/ChartToolbarController.hxx index ad7d45ef5ba7..d45f191a65c7 100644 --- a/chart2/source/controller/inc/ChartToolbarController.hxx +++ b/chart2/source/controller/inc/ChartToolbarController.hxx @@ -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 { diff --git a/chart2/source/controller/inc/CommandDispatchContainer.hxx b/chart2/source/controller/inc/CommandDispatchContainer.hxx index 9cfed008dfb5..cbcf4345377b 100644 --- a/chart2/source/controller/inc/CommandDispatchContainer.hxx +++ b/chart2/source/controller/inc/CommandDispatchContainer.hxx @@ -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 { diff --git a/chart2/source/controller/inc/DataPointItemConverter.hxx b/chart2/source/controller/inc/DataPointItemConverter.hxx index 63dcbbd00782..46bb8745c5ca 100644 --- a/chart2/source/controller/inc/DataPointItemConverter.hxx +++ b/chart2/source/controller/inc/DataPointItemConverter.hxx @@ -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 { diff --git a/chart2/source/controller/inc/DrawViewWrapper.hxx b/chart2/source/controller/inc/DrawViewWrapper.hxx index 2adf512fe015..c9814bc96026 100644 --- a/chart2/source/controller/inc/DrawViewWrapper.hxx +++ b/chart2/source/controller/inc/DrawViewWrapper.hxx @@ -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; diff --git a/chart2/source/controller/inc/ErrorBarItemConverter.hxx b/chart2/source/controller/inc/ErrorBarItemConverter.hxx index 672ff7611f4d..bedb0dc9d6af 100644 --- a/chart2/source/controller/inc/ErrorBarItemConverter.hxx +++ b/chart2/source/controller/inc/ErrorBarItemConverter.hxx @@ -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; diff --git a/chart2/source/controller/inc/GraphicPropertyItemConverter.hxx b/chart2/source/controller/inc/GraphicPropertyItemConverter.hxx index 6f09b20c78d5..e65b7be16a14 100644 --- a/chart2/source/controller/inc/GraphicPropertyItemConverter.hxx +++ b/chart2/source/controller/inc/GraphicPropertyItemConverter.hxx @@ -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; diff --git a/chart2/source/controller/inc/dlg_ChartType.hxx b/chart2/source/controller/inc/dlg_ChartType.hxx index 2903587a5dd3..3d3f196775fd 100644 --- a/chart2/source/controller/inc/dlg_ChartType.hxx +++ b/chart2/source/controller/inc/dlg_ChartType.hxx @@ -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 { diff --git a/chart2/source/controller/inc/dlg_ChartType_UNO.hxx b/chart2/source/controller/inc/dlg_ChartType_UNO.hxx index 98065d3468bf..465d66748903 100644 --- a/chart2/source/controller/inc/dlg_ChartType_UNO.hxx +++ b/chart2/source/controller/inc/dlg_ChartType_UNO.hxx @@ -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; diff --git a/chart2/source/controller/inc/dlg_CreationWizard.hxx b/chart2/source/controller/inc/dlg_CreationWizard.hxx index a1fed3c8ae55..732968fde79f 100644 --- a/chart2/source/controller/inc/dlg_CreationWizard.hxx +++ b/chart2/source/controller/inc/dlg_CreationWizard.hxx @@ -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 { diff --git a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx index 85ac6ca87a77..2eed39a2a19d 100644 --- a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx +++ b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx @@ -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 { diff --git a/chart2/source/controller/inc/dlg_DataEditor.hxx b/chart2/source/controller/inc/dlg_DataEditor.hxx index c6f74d6797b1..18011859afc7 100644 --- a/chart2/source/controller/inc/dlg_DataEditor.hxx +++ b/chart2/source/controller/inc/dlg_DataEditor.hxx @@ -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 { diff --git a/chart2/source/controller/inc/dlg_DataSource.hxx b/chart2/source/controller/inc/dlg_DataSource.hxx index 1e5c4fee95fb..1e0eac3b5271 100644 --- a/chart2/source/controller/inc/dlg_DataSource.hxx +++ b/chart2/source/controller/inc/dlg_DataSource.hxx @@ -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 { diff --git a/chart2/source/controller/inc/dlg_InsertDataLabel.hxx b/chart2/source/controller/inc/dlg_InsertDataLabel.hxx index c1660dc20fda..30040f03409d 100644 --- a/chart2/source/controller/inc/dlg_InsertDataLabel.hxx +++ b/chart2/source/controller/inc/dlg_InsertDataLabel.hxx @@ -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> diff --git a/chart2/source/controller/inc/dlg_InsertErrorBars.hxx b/chart2/source/controller/inc/dlg_InsertErrorBars.hxx index 796b0dc46888..179f0ccec476 100644 --- a/chart2/source/controller/inc/dlg_InsertErrorBars.hxx +++ b/chart2/source/controller/inc/dlg_InsertErrorBars.hxx @@ -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 { diff --git a/chart2/source/controller/inc/dlg_InsertLegend.hxx b/chart2/source/controller/inc/dlg_InsertLegend.hxx index 38d58c398017..e93e72b9218d 100644 --- a/chart2/source/controller/inc/dlg_InsertLegend.hxx +++ b/chart2/source/controller/inc/dlg_InsertLegend.hxx @@ -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 { diff --git a/chart2/source/controller/inc/dlg_InsertTitle.hxx b/chart2/source/controller/inc/dlg_InsertTitle.hxx index 258fd220b9da..d93c7b0381e5 100644 --- a/chart2/source/controller/inc/dlg_InsertTitle.hxx +++ b/chart2/source/controller/inc/dlg_InsertTitle.hxx @@ -21,7 +21,6 @@ #include "res_Titles.hxx" #include <vcl/dialog.hxx> -#include <vcl/button.hxx> #include <memory> namespace chart diff --git a/chart2/source/controller/inc/dlg_ObjectProperties.hxx b/chart2/source/controller/inc/dlg_ObjectProperties.hxx index afa83bc6f56c..bfc1c9e09961 100644 --- a/chart2/source/controller/inc/dlg_ObjectProperties.hxx +++ b/chart2/source/controller/inc/dlg_ObjectProperties.hxx @@ -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 { diff --git a/chart2/source/controller/inc/dlg_View3D.hxx b/chart2/source/controller/inc/dlg_View3D.hxx index f3443fcbe2d0..300b4cb1d989 100644 --- a/chart2/source/controller/inc/dlg_View3D.hxx +++ b/chart2/source/controller/inc/dlg_View3D.hxx @@ -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; |