diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-05-18 16:01:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-05-22 08:56:11 +0200 |
commit | 3847676cf616ccce40037444e8386dec059487bf (patch) | |
tree | 91b01be4248945599617dde39911e518d2919832 /svx | |
parent | 9bd5ba2d3a6f63279acfeea63303825bd300c778 (diff) |
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 <vmiklos@collabora.com>
Diffstat (limited to 'svx')
27 files changed, 38 insertions, 1 deletions
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 <svx/Palette.hxx> +#include <svx/SvxColorValueSet.hxx> +#include <svx/xtable.hxx> 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 <svx/ShapeTypeHandler.hxx> +#include <svx/AccessibleControlShape.hxx> #include <svx/AccessibleShapeInfo.hxx> #include <svx/IAccessibleViewForwarder.hxx> #include <vcl/svapp.hxx> 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 <svx/deflt3d.hxx> #include <svx/svdetc.hxx> #include <svx/svdmodel.hxx> #include <tools/poly.hxx> 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 <comphelper/processfactory.hxx> +#include <comphelper/string.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <sfx2/app.hxx> #include <sfx2/module.hxx> +#include <svtools/ctrlbox.hxx> #include <unotools/textsearch.hxx> #include <vcl/svlbitm.hxx> #include <vcl/viewdataentry.hxx> 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 <svx/helperhittest3d.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> #include <svx/polygn3d.hxx> +#include <svx/xflclit.hxx> #include <svx/xlnclit.hxx> #include <svx/xlnwtit.hxx> #include <helpids.h> 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 <sax/tools/converter.hxx> #include <svx/hexcolorcontrol.hxx> #include <rtl/character.hxx> #include <vcl/svapp.hxx> +#include <vcl/weld.hxx> 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 <svl/urihelper.hxx> #include <svtools/miscopt.hxx> #include <svtools/ehdl.hxx> +#include <svtools/inettbc.hxx> #include <svtools/sfxecode.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/objsh.hxx> @@ -49,6 +50,7 @@ #include <svx/svdopath.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> +#include <vcl/status.hxx> #include <vcl/builderfactory.hxx> #include "dlgunit.hxx" #include <memory> 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 <memory> #include <vcl/bitmap.hxx> #include <vcl/canvastools.hxx> +#include <vcl/outdev.hxx> #include <vcl/settings.hxx> #include <tools/fract.hxx> #include <editeng/frmdiritem.hxx> 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 <sfx2/dialoghelper.hxx> #include <svx/paraprev.hxx> +#include <vcl/outdev.hxx> #include <vcl/settings.hxx> 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 <svx/strings.hrc> +#include <svx/deflt3d.hxx> #include <svx/dialmgr.hxx> #include <svx/cube3d.hxx> #include <svx/globl3d.hxx> 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 <svx/strings.hrc> +#include <svx/deflt3d.hxx> #include <svx/dialmgr.hxx> #include <svx/svdpage.hxx> #include <svx/globl3d.hxx> 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 <svx/deflt3d.hxx> #include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <tools/poly.hxx> 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 <svx/strings.hrc> +#include <svx/deflt3d.hxx> #include <svx/dialmgr.hxx> #include <svx/svdmodel.hxx> #include <svx/svdpage.hxx> 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 <vcl/menu.hxx> #include <vcl/settings.hxx> #include <sal/log.hxx> - +#include <i18nlangtag/languagetag.hxx> #include <math.h> #include <memory> 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 <svx/dialmgr.hxx> +#include <i18nlangtag/languagetag.hxx> #include <unotools/syslocale.hxx> #include <vcl/svapp.hxx> #include <osl/diagnose.h> 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 <connectivity/dbtools.hxx> #include <connectivity/sqlnode.hxx> #include <cppuhelper/implbase.hxx> +#include <i18nlangtag/languagetag.hxx> #include <fmservs.hxx> #include <fmshimp.hxx> #include <sfx2/dispatch.hxx> 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 <sfx2/viewfrm.hxx> #include <sfx2/viewsh.hxx> #include <toolkit/helper/vclunohelper.hxx> +#include <tools/debug.hxx> #include <tools/diagnose_ex.h> #include <vcl/weld.hxx> #include <vcl/waitobj.hxx> 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 <toolkit/helper/vclunohelper.hxx> #include <tools/debug.hxx> #include <tools/diagnose_ex.h> +#include <unotools/localedatawrapper.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <vcl/window.hxx> 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 <svx/ParseContext.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> + +#include <memory> + 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 <editeng/lspcitem.hxx> #include <svx/ParaLineSpacingPopup.hxx> #include <unotools/viewoptions.hxx> #include <vcl/toolbox.hxx> 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 <comphelper/processfactory.hxx> #include <com/sun/star/frame/XFrame.hpp> +#include <com/sun/star/ui/ContextChangeEventMultiplexer.hpp> +#include <com/sun/star/ui/XContextChangeEventMultiplexer.hpp> 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 <svx/sdrhittesthelper.hxx> #include <svx/obj3d.hxx> #include <svx/helperhittest3d.hxx> +#include <svx/svdpage.hxx> #include <svx/sdrpagewindow.hxx> #include <svx/sdr/contact/viewobjectcontact.hxx> #include <svx/sdr/contact/displayinfo.hxx> 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 <svx/svdetc.hxx> #include <svx/scene3d.hxx> #include <svx/view3d.hxx> +#include <svx/xflclit.hxx> #include <svx/sdr/contact/objectcontactofobjlistpainter.hxx> #include <svx/sdr/contact/displayinfo.hxx> #include <svx/svdouno.hxx> 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 <tools/debug.hxx> #include <svx/svddrgv.hxx> #include <svx/svdview.hxx> #include <svx/xpoly.hxx> 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 <svx/obj3d.hxx> #include <svx/svddrgmt.hxx> #include <svx/svdotable.hxx> +#include <tools/debug.hxx> #include <tools/tenccvt.hxx> #include <svx/sdr/overlay/overlaypolypolygon.hxx> #include <svx/sdr/overlay/overlaymanager.hxx> 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 <memory> #include <svx/PaletteManager.hxx> +#include <tools/urlobj.hxx> #include <osl/file.hxx> #include <unotools/pathoptions.hxx> #include <sfx2/objsh.hxx> @@ -26,6 +27,7 @@ #include <svx/strings.hrc> #include <svx/svxids.hrc> #include <svx/dialmgr.hxx> +#include <svx/tbxcolorupdate.hxx> #include <vcl/toolbox.hxx> #include <svtools/colrdlg.hxx> #include <vcl/svapp.hxx> @@ -37,6 +39,8 @@ #include <com/sun/star/frame/XDispatchProvider.hpp> #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/frame/Desktop.hpp> +#include <com/sun/star/util/XURLTransformer.hpp> +#include <com/sun/star/util/URLTransformer.hpp> #include <palettes.hxx> 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 <svtools/toolbarmenu.hxx> #include <svtools/popupwindowcontroller.hxx> +#include <svtools/valueset.hxx> #include <svx/strings.hrc> #include <svx/svxids.hrc> |