From 3847676cf616ccce40037444e8386dec059487bf Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 18 May 2019 16:01:16 +0200 Subject: [PATCH] tdf#42949 Fix IWYU warnings in include/svx/[h-r]* Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ib7e1d0f7483aa8b5cab320278714f2d5f36fdbd9 Reviewed-on: https://gerrit.libreoffice.org/72534 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- .../drawinglayer/DrawViewWrapper.cxx | 1 + cui/source/inc/numpages.hxx | 1 + cui/source/options/optchart.cxx | 1 + dbaccess/source/core/api/RowSet.cxx | 1 + dbaccess/source/ui/control/sqledit.cxx | 1 + .../source/ui/querydesign/QueryDesignView.cxx | 1 + .../ui/querydesign/SelectionBrowseBox.cxx | 1 + .../source/propctrlr/formcomponenthandler.cxx | 1 + filter/source/msfilter/msdffimp.cxx | 1 + filter/source/msfilter/svdfppt.cxx | 1 + include/IwyuFilter_include.yaml | 6 +++++ include/svx/EnhancedCustomShapeGeometry.hxx | 1 + include/svx/EnhancedCustomShapeTypeNames.hxx | 1 + include/svx/IAccessibleParent.hxx | 11 ++++++---- include/svx/IAccessibleViewForwarder.hxx | 1 - .../svx/IAccessibleViewForwarderListener.hxx | 4 ---- include/svx/Palette.hxx | 5 +++-- include/svx/PaletteManager.hxx | 12 +++++----- include/svx/ParaLineSpacingPopup.hxx | 4 ---- include/svx/ParaSpacingControl.hxx | 7 +++--- include/svx/ParseContext.hxx | 3 ++- include/svx/ctredlin.hxx | 22 +++---------------- include/svx/e3dundo.hxx | 1 + include/svx/extrud3d.hxx | 6 +++++ include/svx/hdft.hxx | 6 ++--- include/svx/helperhittest3d.hxx | 1 - include/svx/hexcolorcontrol.hxx | 10 ++++----- include/svx/imapdlg.hxx | 16 +++++++++----- include/svx/ipolypolygoneditorcontroller.hxx | 1 - include/svx/itemwin.hxx | 2 -- include/svx/lathe3d.hxx | 6 +++++ include/svx/linectrl.hxx | 5 ----- include/svx/msdffdef.hxx | 1 - include/svx/numfmtsh.hxx | 1 - include/svx/numinf.hxx | 1 - include/svx/numvset.hxx | 4 ---- include/svx/obj3d.hxx | 15 +------------ include/svx/objfac3d.hxx | 1 - include/svx/optgrid.hxx | 8 ++++--- include/svx/pagectrl.hxx | 2 -- include/svx/paraprev.hxx | 1 - include/svx/postattr.hxx | 1 - include/svx/pszctrl.hxx | 1 - include/svx/ruler.hxx | 2 +- include/svx/scene3d.hxx | 2 ++ include/svx/sphere3d.hxx | 5 +++++ include/svx/svddef.hxx | 2 ++ sc/source/ui/miscdlgs/acredlin.cxx | 1 + sc/source/ui/optdlg/tpview.cxx | 1 + sc/source/ui/unoobj/confuno.cxx | 1 + sd/source/ui/func/fusldlg.cxx | 1 + sd/source/ui/view/drviewse.cxx | 1 + svx/inc/palettes.hxx | 2 ++ .../accessibility/ChildrenManagerImpl.cxx | 1 + .../customshapes/EnhancedCustomShape3d.cxx | 1 + svx/source/dialog/ctredlin.cxx | 2 ++ svx/source/dialog/dlgctl3d.cxx | 1 + svx/source/dialog/hexcolorcontrol.cxx | 2 ++ svx/source/dialog/imapdlg.cxx | 2 ++ svx/source/dialog/pagectrl.cxx | 1 + svx/source/dialog/paraprev.cxx | 1 + svx/source/engine3d/cube3d.cxx | 1 + svx/source/engine3d/extrud3d.cxx | 1 + svx/source/engine3d/lathe3d.cxx | 1 + svx/source/engine3d/sphere3d.cxx | 1 + svx/source/fmcomp/fmgridcl.cxx | 2 +- svx/source/form/ParseContext.cxx | 1 + svx/source/form/filtnav.cxx | 1 + svx/source/form/fmshimp.cxx | 1 + svx/source/form/formcontroller.cxx | 1 + svx/source/inc/sqlparserclient.hxx | 4 ++++ .../paragraph/ParaLineSpacingPopup.cxx | 1 + .../sidebar/paragraph/ParaSpacingControl.cxx | 2 ++ svx/source/svdraw/sdrhittesthelper.cxx | 1 + svx/source/svdraw/svdcrtv.cxx | 1 + svx/source/svdraw/svddrgv.cxx | 1 + svx/source/svdraw/svdview.cxx | 1 + svx/source/tbxctrls/PaletteManager.cxx | 4 ++++ svx/source/tbxctrls/linectrl.cxx | 1 + sw/source/uibase/frmdlg/colex.cxx | 1 + sw/source/uibase/misc/redlndlg.cxx | 2 ++ 81 files changed, 136 insertions(+), 99 deletions(-) diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx index e0fdacb4665f..8a4ec23bbc4d 100644 --- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx +++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index c1a1869c551a..dda1de56c2ce 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -27,6 +27,7 @@ #include #include #include +#include #define MN_GALLERY_ENTRY 100 diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index b9fd2a02bbda..0347f7ad4de9 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -19,6 +19,7 @@ #include #include "optchart.hxx" +#include #include #include #include diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index 890260121dde..b2b9430f562e 100644 --- a/dbaccess/source/core/api/RowSet.cxx +++ b/dbaccess/source/core/api/RowSet.cxx @@ -69,6 +69,7 @@ #include #include #include +#include #include #include #include diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx index 21f595116a1f..e5b9706194a9 100644 --- a/dbaccess/source/ui/control/sqledit.cxx +++ b/dbaccess/source/ui/control/sqledit.cxx @@ -34,6 +34,7 @@ #include #include #include +#include #include #include diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 8ed6ad6d858b..ab8ed4c847d8 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -53,6 +53,7 @@ #include #include #include +#include #include #include #include diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index 1baa163ace99..deaedd84fbc1 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index d7b4e835a7a2..c30f404bc037 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -96,6 +96,7 @@ #include #include #include +#include #include #include #include diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 5b83d170b3f1..8dbddea29cf1 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -100,6 +100,7 @@ #include #include #include +#include #include #include #include diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 1d2f3695e9ce..632a60bbdd98 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -56,6 +56,7 @@ #include #include #include +#include #include #include #include diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml index e654efeffae2..353cc15d3233 100644 --- a/include/IwyuFilter_include.yaml +++ b/include/IwyuFilter_include.yaml @@ -974,3 +974,9 @@ blacklist: include/svx/fmtools.hxx: # base class has to be a complete type - com/sun/star/lang/XEventListener.hpp + include/svx/ifaceids.hxx: + # Keep for macro define + - sfx2/shell.hxx + include/svx/measctrl.hxx: + # Needed for template class + - svx/svdobj.hxx diff --git a/include/svx/EnhancedCustomShapeGeometry.hxx b/include/svx/EnhancedCustomShapeGeometry.hxx index 23b22b3c3e17..4d52476ad189 100644 --- a/include/svx/EnhancedCustomShapeGeometry.hxx +++ b/include/svx/EnhancedCustomShapeGeometry.hxx @@ -22,6 +22,7 @@ #include #include +#include #include struct SvxMSDffVertPair diff --git a/include/svx/EnhancedCustomShapeTypeNames.hxx b/include/svx/EnhancedCustomShapeTypeNames.hxx index b91e1ebcd248..bf9049589341 100644 --- a/include/svx/EnhancedCustomShapeTypeNames.hxx +++ b/include/svx/EnhancedCustomShapeTypeNames.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SVX_ENHANCEDCUSTOMSHAPETYPENAMES_HXX #define INCLUDED_SVX_ENHANCEDCUSTOMSHAPETYPENAMES_HXX #include +#include #include namespace EnhancedCustomShapeTypeNames diff --git a/include/svx/IAccessibleParent.hxx b/include/svx/IAccessibleParent.hxx index ab0064504296..19284a7d0ce7 100644 --- a/include/svx/IAccessibleParent.hxx +++ b/include/svx/IAccessibleParent.hxx @@ -20,10 +20,13 @@ #ifndef INCLUDED_SVX_IACCESSIBLEPARENT_HXX #define INCLUDED_SVX_IACCESSIBLEPARENT_HXX -#include -#include -#include -#include +#include + +namespace accessibility { class AccessibleControlShape; } +namespace com::sun::star::accessibility { class XAccessible; } +namespace com::sun::star::beans { class XPropertySet; } +namespace com::sun::star::drawing { class XShape; } + namespace accessibility { class AccessibleShape; diff --git a/include/svx/IAccessibleViewForwarder.hxx b/include/svx/IAccessibleViewForwarder.hxx index 1b228669b7da..247e29c416d2 100644 --- a/include/svx/IAccessibleViewForwarder.hxx +++ b/include/svx/IAccessibleViewForwarder.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SVX_IACCESSIBLEVIEWFORWARDER_HXX #define INCLUDED_SVX_IACCESSIBLEVIEWFORWARDER_HXX -#include #include diff --git a/include/svx/IAccessibleViewForwarderListener.hxx b/include/svx/IAccessibleViewForwarderListener.hxx index b4195d1ed025..d22c0db568c8 100644 --- a/include/svx/IAccessibleViewForwarderListener.hxx +++ b/include/svx/IAccessibleViewForwarderListener.hxx @@ -20,13 +20,9 @@ #ifndef INCLUDED_SVX_IACCESSIBLEVIEWFORWARDERLISTENER_HXX #define INCLUDED_SVX_IACCESSIBLEVIEWFORWARDERLISTENER_HXX -#include - namespace accessibility { -class IAccessibleViewForwarder; - /**

The purpose of this interface is to notify a user of an IAccessibleViewForwarder when that view forwarder changes its properties. Such a change may be one of the following: diff --git a/include/svx/Palette.hxx b/include/svx/Palette.hxx index 3b9835bc739e..f66d06b30b05 100644 --- a/include/svx/Palette.hxx +++ b/include/svx/Palette.hxx @@ -19,11 +19,12 @@ #ifndef INCLUDED_SVX_PALETTE_HXX #define INCLUDED_SVX_PALETTE_HXX -#include -#include #include +#include class Color; +class ColorValueSet; +class SvxColorValueSet; typedef std::pair NamedColor; diff --git a/include/svx/PaletteManager.hxx b/include/svx/PaletteManager.hxx index 486edd94b4a2..e7c7cb1668bd 100644 --- a/include/svx/PaletteManager.hxx +++ b/include/svx/PaletteManager.hxx @@ -19,19 +19,19 @@ #ifndef INCLUDED_SVX_PALETTEMANAGER_HXX #define INCLUDED_SVX_PALETTEMANAGER_HXX -#include #include #include -#include - -#include -#include -#include +#include #include #include #include +class SvxColorValueSet; +namespace com::sun::star::uno { class XComponentContext; } +namespace svx { class ToolboxButtonColorUpdater; } +namespace weld { class Window; } + class SVX_DLLPUBLIC PaletteManager { const sal_uInt16 mnMaxRecentColors; diff --git a/include/svx/ParaLineSpacingPopup.hxx b/include/svx/ParaLineSpacingPopup.hxx index 293253ec5f10..b6666286da24 100644 --- a/include/svx/ParaLineSpacingPopup.hxx +++ b/include/svx/ParaLineSpacingPopup.hxx @@ -19,12 +19,8 @@ #ifndef INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARALINESPACINGPOPUP_HXX #define INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARALINESPACINGPOPUP_HXX -#include -#include #include -#include #include -#include namespace svx { diff --git a/include/svx/ParaSpacingControl.hxx b/include/svx/ParaSpacingControl.hxx index cefcc81dee30..382c0e48bded 100644 --- a/include/svx/ParaSpacingControl.hxx +++ b/include/svx/ParaSpacingControl.hxx @@ -21,10 +21,11 @@ #include #include -#include #include -#include -#include + +namespace com::sun::star::ui { class XContextChangeEventMultiplexer; } +namespace com::sun::star::ui { struct ContextChangeEventObject; } +namespace vcl { class Window; } namespace svx { diff --git a/include/svx/ParseContext.hxx b/include/svx/ParseContext.hxx index cc188ac6d99c..2f6b274ee205 100644 --- a/include/svx/ParseContext.hxx +++ b/include/svx/ParseContext.hxx @@ -19,10 +19,11 @@ #ifndef INCLUDED_SVX_PARSECONTEXT_HXX #define INCLUDED_SVX_PARSECONTEXT_HXX +#include + #include #include #include -#include #include namespace svxform diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 4114042f8f51..b6ae656d586f 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -20,27 +20,16 @@ #ifndef INCLUDED_SVX_CTREDLIN_HXX #define INCLUDED_SVX_CTREDLIN_HXX -#include #include #include #include -#include -#include #include -#include -#include -#include #include -#include #include #include #include #include -#include -#include -#include -#include -#include +#include #include namespace utl { @@ -48,16 +37,11 @@ namespace utl { class TextSearch; } -namespace vcl { class Window; } +namespace comphelper::string { class NaturalStringSorter; } -class DateField; -class Edit; -class FixedText; -class ListBox; class Point; class SvViewDataEntry; -class TimeField; -struct SvSortData; +class SvtCalendarBox; enum class SvxRedlinDateMode { diff --git a/include/svx/e3dundo.hxx b/include/svx/e3dundo.hxx index 5247a86d1db0..1c65b64a1909 100644 --- a/include/svx/e3dundo.hxx +++ b/include/svx/e3dundo.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SVX_E3DUNDO_HXX #define INCLUDED_SVX_E3DUNDO_HXX +#include #include #include #include diff --git a/include/svx/extrud3d.hxx b/include/svx/extrud3d.hxx index 5e9d052552f5..deb5687f6fe7 100644 --- a/include/svx/extrud3d.hxx +++ b/include/svx/extrud3d.hxx @@ -20,8 +20,14 @@ #ifndef INCLUDED_SVX_EXTRUD3D_HXX #define INCLUDED_SVX_EXTRUD3D_HXX +#include +#include #include #include +#include +#include + +class E3dDefaultAttributes; /************************************************************************* |* diff --git a/include/svx/hdft.hxx b/include/svx/hdft.hxx index 2a307ec13e10..a062476931a5 100644 --- a/include/svx/hdft.hxx +++ b/include/svx/hdft.hxx @@ -21,16 +21,14 @@ #include -#include -#include -#include -#include #include #include #include #include +namespace weld { class CustomWeld; } + namespace svx { SVX_DLLPUBLIC bool ShowBorderBackgroundDlg(weld::Window* pParent, SfxItemSet* pBBSet); diff --git a/include/svx/helperhittest3d.hxx b/include/svx/helperhittest3d.hxx index b9af1f24288f..e8a4a9e77aae 100644 --- a/include/svx/helperhittest3d.hxx +++ b/include/svx/helperhittest3d.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SVX_HELPERHITTEST3D_HXX #include -#include #include diff --git a/include/svx/hexcolorcontrol.hxx b/include/svx/hexcolorcontrol.hxx index f47f50fb1e82..515f070717c8 100644 --- a/include/svx/hexcolorcontrol.hxx +++ b/include/svx/hexcolorcontrol.hxx @@ -20,13 +20,13 @@ #ifndef INCLUDED_SVX_HEXCOLOR_HXX #define INCLUDED_SVX_HEXCOLOR_HXX -#include -#include -#include -#include -#include #include #include +#include + +namespace weld { class Entry; } + +struct ImplSVEvent; namespace weld { diff --git a/include/svx/imapdlg.hxx b/include/svx/imapdlg.hxx index d2b1cf620bf4..1630c019f0cc 100644 --- a/include/svx/imapdlg.hxx +++ b/include/svx/imapdlg.hxx @@ -20,19 +20,25 @@ #ifndef INCLUDED_SVX_IMAPDLG_HXX #define INCLUDED_SVX_IMAPDLG_HXX -#include #include #include #include -#include -#include -#include -#include #include #include #include +namespace vcl { class Window; } +namespace weld { class Button; } +namespace weld { class ComboBox; } +namespace weld { class CustomWeld; } +namespace weld { class Entry; } +namespace weld { class Label; } +namespace weld { class Toolbar; } +namespace weld { class Widget; } +namespace weld { class Window; } + class ImageMap; +class URLBox; /************************************************************************* |* diff --git a/include/svx/ipolypolygoneditorcontroller.hxx b/include/svx/ipolypolygoneditorcontroller.hxx index a65a5d868e56..4e1ef9124821 100644 --- a/include/svx/ipolypolygoneditorcontroller.hxx +++ b/include/svx/ipolypolygoneditorcontroller.hxx @@ -23,7 +23,6 @@ #include #include -#include // Defines diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx index efeebed13f79..19660d21a8ea 100644 --- a/include/svx/itemwin.hxx +++ b/include/svx/itemwin.hxx @@ -19,13 +19,11 @@ #ifndef INCLUDED_SVX_ITEMWIN_HXX #define INCLUDED_SVX_ITEMWIN_HXX -#include #include #include #include -class XLineColorItem; class XLineWidthItem; class SfxObjectShell; diff --git a/include/svx/lathe3d.hxx b/include/svx/lathe3d.hxx index 719c369c80b4..4313e74bddb6 100644 --- a/include/svx/lathe3d.hxx +++ b/include/svx/lathe3d.hxx @@ -20,8 +20,14 @@ #ifndef INCLUDED_SVX_LATHE3D_HXX #define INCLUDED_SVX_LATHE3D_HXX +#include +#include #include #include +#include +#include + +class E3dDefaultAttributes; /************************************************************************* |* diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx index a2b1a484e18a..c1b341060f41 100644 --- a/include/svx/linectrl.hxx +++ b/include/svx/linectrl.hxx @@ -20,17 +20,12 @@ #define INCLUDED_SVX_LINECTRL_HXX -#include -#include #include #include -#include #include class XLineStyleItem; class XLineDashItem; -class SvxLineBox; -class SvxMetricField; // SvxLineStyleController: diff --git a/include/svx/msdffdef.hxx b/include/svx/msdffdef.hxx index 4a4bd1249ce4..b722e95be8b3 100644 --- a/include/svx/msdffdef.hxx +++ b/include/svx/msdffdef.hxx @@ -22,7 +22,6 @@ #include #include -#include #define DFF_COMMON_RECORD_HEADER_SIZE 8 diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx index 2b7d36e5c475..5e3e54cd754c 100644 --- a/include/svx/numfmtsh.hxx +++ b/include/svx/numfmtsh.hxx @@ -26,7 +26,6 @@ #include #include -#include class Color; diff --git a/include/svx/numinf.hxx b/include/svx/numinf.hxx index 0702fe2e8b6e..b5bf135b1be2 100644 --- a/include/svx/numinf.hxx +++ b/include/svx/numinf.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_SVX_NUMINF_HXX #define INCLUDED_SVX_NUMINF_HXX -#include #include #include #include diff --git a/include/svx/numvset.hxx b/include/svx/numvset.hxx index cab7968c895a..6f0c144397db 100644 --- a/include/svx/numvset.hxx +++ b/include/svx/numvset.hxx @@ -21,7 +21,6 @@ #include #include -#include #include #include #include @@ -39,9 +38,6 @@ namespace com{namespace sun{ namespace star{ } }}} -class SvxBrushItem; -class SvxNumRule; - enum class NumberingPageType { BULLET, diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx index f1c09d611dbc..8916d145e45e 100644 --- a/include/svx/obj3d.hxx +++ b/include/svx/obj3d.hxx @@ -22,29 +22,16 @@ #include #include -#include -#include -#include -#include -#include -#include -#include +#include #include #include -#include -#include -#include #include // Forward declarations -class SfxPoolItem; -class Viewport3D; class E3dScene; -namespace basegfx { class B3DPolyPolygon; } namespace sdr { namespace properties { class BaseProperties; - class E3dProperties; class E3dCompoundProperties; class E3dExtrudeProperties; class E3dLatheProperties; diff --git a/include/svx/objfac3d.hxx b/include/svx/objfac3d.hxx index 8c9761e6b6d6..19f7074e4088 100644 --- a/include/svx/objfac3d.hxx +++ b/include/svx/objfac3d.hxx @@ -30,7 +30,6 @@ |* \************************************************************************/ -class SdrObjFactory; class SdrObject; struct SdrObjCreatorParams; diff --git a/include/svx/optgrid.hxx b/include/svx/optgrid.hxx index 1e4f62c92c96..df86d3240391 100644 --- a/include/svx/optgrid.hxx +++ b/include/svx/optgrid.hxx @@ -20,11 +20,13 @@ #define INCLUDED_SVX_OPTGRID_HXX #include -#include -#include #include -class SvxGridTabPage; +namespace weld { class CheckButton; } +namespace weld { class MetricSpinButton; } +namespace weld { class SpinButton; } +namespace weld { class ToggleButton; } +namespace weld { class Widget; } class SVX_DLLPUBLIC SvxOptionsGrid { diff --git a/include/svx/pagectrl.hxx b/include/svx/pagectrl.hxx index 3da3950ec9ef..b5abe5c6aec6 100644 --- a/include/svx/pagectrl.hxx +++ b/include/svx/pagectrl.hxx @@ -20,11 +20,9 @@ #define INCLUDED_SVX_PAGECTRL_HXX #include -#include #include #include -class SvxBoxItem; enum class SvxPageUsage; enum class SvxFrameDirection; diff --git a/include/svx/paraprev.hxx b/include/svx/paraprev.hxx index e650173d699f..f605584ec637 100644 --- a/include/svx/paraprev.hxx +++ b/include/svx/paraprev.hxx @@ -20,7 +20,6 @@ #define INCLUDED_SVX_PARAPREV_HXX #include -#include #include #include diff --git a/include/svx/postattr.hxx b/include/svx/postattr.hxx index 1e5da716376e..c0b47586917b 100644 --- a/include/svx/postattr.hxx +++ b/include/svx/postattr.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_SVX_POSTATTR_HXX #define INCLUDED_SVX_POSTATTR_HXX -#include #include #include diff --git a/include/svx/pszctrl.hxx b/include/svx/pszctrl.hxx index d7c57be179fc..d22e0ba05d18 100644 --- a/include/svx/pszctrl.hxx +++ b/include/svx/pszctrl.hxx @@ -23,7 +23,6 @@ #include #include -class SvxSizeItem; struct SvxPosSizeStatusBarControl_Impl; class SVX_DLLPUBLIC SvxPosSizeStatusBarControl : public SfxStatusBarControl diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx index 4c914c689e9b..d69c4f672f0a 100644 --- a/include/svx/ruler.hxx +++ b/include/svx/ruler.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_SVX_RULER_HXX #define INCLUDED_SVX_RULER_HXX -#include #include #include #include @@ -27,6 +26,7 @@ #include +class Menu; class SvxProtectItem; class SvxRulerItem; class SfxBindings; diff --git a/include/svx/scene3d.hxx b/include/svx/scene3d.hxx index 993cd2ef9175..b3432db5f15c 100644 --- a/include/svx/scene3d.hxx +++ b/include/svx/scene3d.hxx @@ -22,8 +22,10 @@ #include #include +#include #include #include +#include #include namespace sdr { namespace properties { diff --git a/include/svx/sphere3d.hxx b/include/svx/sphere3d.hxx index ae054923c9de..345ae1991782 100644 --- a/include/svx/sphere3d.hxx +++ b/include/svx/sphere3d.hxx @@ -20,8 +20,13 @@ #ifndef INCLUDED_SVX_SPHERE3D_HXX #define INCLUDED_SVX_SPHERE3D_HXX +#include +#include #include #include +#include + +class E3dDefaultAttributes; /** * SphereObject with diameter r3DSize. diff --git a/include/svx/svddef.hxx b/include/svx/svddef.hxx index 0378eb392e10..34ed1c9dda3c 100644 --- a/include/svx/svddef.hxx +++ b/include/svx/svddef.hxx @@ -138,6 +138,8 @@ class SdrVertShearAllItem; class SdrVertShearOneItem; class SdrYesNoItem; class SfxBoolItem; +class SfxUInt16Item; +class SfxUInt32Item; class SfxStringItem; class SfxVoidItem; class Svx3DCharacterModeItem; diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx index d57f785ae8cc..c04fa55f0b85 100644 --- a/sc/source/ui/miscdlgs/acredlin.cxx +++ b/sc/source/ui/miscdlgs/acredlin.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx index e4a10483313d..2033e8f1fc26 100644 --- a/sc/source/ui/optdlg/tpview.cxx +++ b/sc/source/ui/optdlg/tpview.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx index 8130d1ce6556..d66c141ca7a2 100644 --- a/sc/source/ui/unoobj/confuno.cxx +++ b/sc/source/ui/unoobj/confuno.cxx @@ -45,6 +45,7 @@ #include #include #include +#include using namespace com::sun::star; diff --git a/sd/source/ui/func/fusldlg.cxx b/sd/source/ui/func/fusldlg.cxx index 062ef720e8ab..8f522d8cdcb6 100644 --- a/sd/source/ui/func/fusldlg.cxx +++ b/sd/source/ui/func/fusldlg.cxx @@ -18,6 +18,7 @@ */ #include +#include #include #include #include diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index 7de76723d82a..d00f125a23eb 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -44,6 +44,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/inc/palettes.hxx b/svx/inc/palettes.hxx index 028efad2b400..c02ffae7fbbe 100644 --- a/svx/inc/palettes.hxx +++ b/svx/inc/palettes.hxx @@ -20,6 +20,8 @@ #define INCLUDED_SVX_INC_PALETTE_HXX #include +#include +#include class SvFileStream; diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx index 88b03e5ee599..f3af5cc9e946 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.cxx +++ b/svx/source/accessibility/ChildrenManagerImpl.cxx @@ -23,6 +23,7 @@ #include "ChildrenManagerImpl.hxx" #include +#include #include #include #include diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx index 8d7a9d3350a5..d34e2d130df9 100644 --- a/svx/source/customshapes/EnhancedCustomShape3d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx @@ -18,6 +18,7 @@ */ #include "EnhancedCustomShape3d.hxx" +#include #include #include #include diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index c519ef1f1bfc..22595f923e2a 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -18,10 +18,12 @@ */ #include +#include #include #include #include #include +#include #include #include #include diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index 7dea82cde3f4..c7f24743dd29 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/dialog/hexcolorcontrol.cxx b/svx/source/dialog/hexcolorcontrol.cxx index 70e32e540827..f1c071547ff0 100644 --- a/svx/source/dialog/hexcolorcontrol.cxx +++ b/svx/source/dialog/hexcolorcontrol.cxx @@ -17,9 +17,11 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include #include #include +#include namespace weld { diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx index b1dcd35b5071..7fccc33ae9f1 100644 --- a/svx/source/dialog/imapdlg.cxx +++ b/svx/source/dialog/imapdlg.cxx @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -49,6 +50,7 @@ #include #include #include +#include #include #include "dlgunit.hxx" #include diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx index d7b100253d0a..0ad090a95ced 100644 --- a/svx/source/dialog/pagectrl.cxx +++ b/svx/source/dialog/pagectrl.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx index fd3ee567bce9..641e9ad40d1d 100644 --- a/svx/source/dialog/paraprev.cxx +++ b/svx/source/dialog/paraprev.cxx @@ -19,6 +19,7 @@ #include #include +#include #include SvxParaPrevWindow::SvxParaPrevWindow() : diff --git a/svx/source/engine3d/cube3d.cxx b/svx/source/engine3d/cube3d.cxx index 048170d44413..8d2758f67fc6 100644 --- a/svx/source/engine3d/cube3d.cxx +++ b/svx/source/engine3d/cube3d.cxx @@ -19,6 +19,7 @@ #include +#include #include #include #include diff --git a/svx/source/engine3d/extrud3d.cxx b/svx/source/engine3d/extrud3d.cxx index 05089abf073b..a631659e452f 100644 --- a/svx/source/engine3d/extrud3d.cxx +++ b/svx/source/engine3d/extrud3d.cxx @@ -19,6 +19,7 @@ #include +#include #include #include #include diff --git a/svx/source/engine3d/lathe3d.cxx b/svx/source/engine3d/lathe3d.cxx index 99d4eddeae15..8773b91b5a22 100644 --- a/svx/source/engine3d/lathe3d.cxx +++ b/svx/source/engine3d/lathe3d.cxx @@ -18,6 +18,7 @@ */ +#include #include #include #include diff --git a/svx/source/engine3d/sphere3d.cxx b/svx/source/engine3d/sphere3d.cxx index ecd6b370c4d4..4beaf3b1e811 100644 --- a/svx/source/engine3d/sphere3d.cxx +++ b/svx/source/engine3d/sphere3d.cxx @@ -19,6 +19,7 @@ #include +#include #include #include #include diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 02e98c643ed7..e4d4bf6e010b 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -75,7 +75,7 @@ #include #include #include - +#include #include #include diff --git a/svx/source/form/ParseContext.cxx b/svx/source/form/ParseContext.cxx index bf74bab912bb..e16b614efba3 100644 --- a/svx/source/form/ParseContext.cxx +++ b/svx/source/form/ParseContext.cxx @@ -24,6 +24,7 @@ #include +#include #include #include #include diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index c7b755317d89..1fbe04e3b55c 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 82e0873c669a..9b689c2de116 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -94,6 +94,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index db5fc8ca8b14..c1d71eaed344 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -82,6 +82,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/inc/sqlparserclient.hxx b/svx/source/inc/sqlparserclient.hxx index 231554265a83..ac2cb7038cdc 100644 --- a/svx/source/inc/sqlparserclient.hxx +++ b/svx/source/inc/sqlparserclient.hxx @@ -22,6 +22,10 @@ #include +#include + +#include + namespace com { namespace sun { namespace star { namespace util { class XNumberFormatter; diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx index 4920c79c3b1d..cea47f656e6b 100644 --- a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx +++ b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.cxx @@ -19,6 +19,7 @@ #include "ParaLineSpacingControl.hxx" +#include #include #include #include diff --git a/svx/source/sidebar/paragraph/ParaSpacingControl.cxx b/svx/source/sidebar/paragraph/ParaSpacingControl.cxx index 6b402c3b9765..7e703d347e55 100644 --- a/svx/source/sidebar/paragraph/ParaSpacingControl.cxx +++ b/svx/source/sidebar/paragraph/ParaSpacingControl.cxx @@ -30,6 +30,8 @@ #include #include +#include +#include using namespace svx; diff --git a/svx/source/svdraw/sdrhittesthelper.cxx b/svx/source/svdraw/sdrhittesthelper.cxx index cf9191c8428e..7cbdbc1c80f4 100644 --- a/svx/source/svdraw/sdrhittesthelper.cxx +++ b/svx/source/svdraw/sdrhittesthelper.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx index 14abc87437ad..22efc51b1c65 100644 --- a/svx/source/svdraw/svdcrtv.cxx +++ b/svx/source/svdraw/svdcrtv.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx index b6a5e3b8e6a1..ea08590cf4e3 100644 --- a/svx/source/svdraw/svddrgv.cxx +++ b/svx/source/svdraw/svddrgv.cxx @@ -18,6 +18,7 @@ */ +#include #include #include #include diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 1966875a863e..17821df622df 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index 17afd89e120e..a62d6f0a5831 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include #include @@ -26,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -37,6 +39,8 @@ #include #include #include +#include +#include #include diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx index 8e510e01a953..e09e812ee249 100644 --- a/svx/source/tbxctrls/linectrl.cxx +++ b/svx/source/tbxctrls/linectrl.cxx @@ -26,6 +26,7 @@ #include #include +#include #include #include diff --git a/sw/source/uibase/frmdlg/colex.cxx b/sw/source/uibase/frmdlg/colex.cxx index 5beebe17dd33..6ff14fd31a66 100644 --- a/sw/source/uibase/frmdlg/colex.cxx +++ b/sw/source/uibase/frmdlg/colex.cxx @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx index 65a3db34f0f3..30493a522cbf 100644 --- a/sw/source/uibase/misc/redlndlg.cxx +++ b/sw/source/uibase/misc/redlndlg.cxx @@ -24,6 +24,8 @@ #include #include #include +#include +#include #include #include #include