diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-03-17 01:11:29 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-03-25 13:42:28 +0100 |
commit | 4304226d79849b31fd0ded168cee45a91f240363 (patch) | |
tree | 01808c50e78f517573c0ed93d3ca26dd79c643d8 /svx/source | |
parent | bbe8bc3c8610d5d218afaa779e86d822a7a76345 (diff) |
tdf#42949 Fix IWYU warnings in include/sfx2/[a-D]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I444cb71bc3d045072a4b1f9eed279ed7e425a0d4
Reviewed-on: https://gerrit.libreoffice.org/69481
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svx/source')
21 files changed, 28 insertions, 0 deletions
diff --git a/svx/source/dialog/ClassificationCommon.cxx b/svx/source/dialog/ClassificationCommon.cxx index 082b5b6a9418..52ebd8ed32a2 100644 --- a/svx/source/dialog/ClassificationCommon.cxx +++ b/svx/source/dialog/ClassificationCommon.cxx @@ -11,6 +11,7 @@ #include <svx/ClassificationCommon.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> using namespace css; diff --git a/svx/source/dialog/ClassificationDialog.cxx b/svx/source/dialog/ClassificationDialog.cxx index 74dbb68900a4..11349012361b 100644 --- a/svx/source/dialog/ClassificationDialog.cxx +++ b/svx/source/dialog/ClassificationDialog.cxx @@ -24,6 +24,7 @@ #include <tools/XmlWriter.hxx> #include <tools/XmlWalker.hxx> #include <vcl/builderfactory.hxx> +#include <sfx2/objsh.hxx> #include <officecfg/Office/Common.hxx> diff --git a/svx/source/dialog/compressgraphicdialog.cxx b/svx/source/dialog/compressgraphicdialog.cxx index 8273a70a7f8f..17f2577a0afe 100644 --- a/svx/source/dialog/compressgraphicdialog.cxx +++ b/svx/source/dialog/compressgraphicdialog.cxx @@ -30,6 +30,7 @@ #include <svx/dialmgr.hxx> #include <svx/compressgraphicdialog.hxx> #include <sfx2/dispatch.hxx> +#include <sfx2/module.hxx> #include <comphelper/fileformat.h> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index c887d9cf38ee..f5a809ed3c5c 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -31,6 +31,7 @@ #include <sfx2/module.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/basedlgs.hxx> +#include <sfx2/viewfrm.hxx> #include <svl/cjkoptions.hxx> #include <svl/ctloptions.hxx> #include <com/sun/star/awt/XWindow.hpp> diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx index 7524ddb689ae..8141ec50b80f 100644 --- a/svx/source/dialog/svxruler.cxx +++ b/svx/source/dialog/svxruler.cxx @@ -21,6 +21,8 @@ #include <climits> #include <vcl/builder.hxx> +#include <vcl/commandevent.hxx> +#include <vcl/event.hxx> #include <vcl/image.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> diff --git a/svx/source/form/databaselocationinput.cxx b/svx/source/form/databaselocationinput.cxx index 96851ff2c655..f14d59f1a295 100644 --- a/svx/source/form/databaselocationinput.cxx +++ b/svx/source/form/databaselocationinput.cxx @@ -24,6 +24,7 @@ #include <svx/strings.hrc> #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> +#include <com/sun/star/container/XNameAccess.hpp> #include <comphelper/namedvaluecollection.hxx> #include <rtl/ustrbuf.hxx> diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index e383152c2dcb..8ff98b08fb9b 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -55,6 +55,7 @@ #include <comphelper/property.hxx> #include <comphelper/types.hxx> #include <connectivity/dbtools.hxx> +#include <vcl/svapp.hxx> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::awt; diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index b671bb343e01..c92c4041ae41 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -53,6 +53,7 @@ #include <svx/galleryitem.hxx> #include <comphelper/processfactory.hxx> #include <com/sun/star/frame/FrameSearchFlag.hpp> +#include <com/sun/star/frame/XDispatchProvider.hpp> #include <com/sun/star/gallery/GalleryItemType.hpp> #include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/style/GraphicLocation.hpp> diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx index 464b9a1d43b2..f7069bbde090 100644 --- a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx +++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx @@ -26,6 +26,7 @@ #include <svl/intitem.hxx> #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> +#include <com/sun/star/lang/IllegalArgumentException.hpp> using namespace css; using namespace css::uno; diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx b/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx index d77b26962dc0..45377297535e 100644 --- a/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx +++ b/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx @@ -23,7 +23,9 @@ #include <editeng/kernitem.hxx> #include <editeng/lspcitem.hxx> #include <sfx2/dispatch.hxx> +#include <sfx2/viewfrm.hxx> #include <svtools/unitconv.hxx> +#include <vcl/button.hxx> #define DEFAULT_LINE_SPACING 200 #define FIX_DIST_DEF 283 diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx index a6db28c0d02c..484ca84192d4 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx @@ -19,6 +19,7 @@ #include "ParaPropertyPanel.hxx" #include <sfx2/sidebar/Tools.hxx> #include <sfx2/dispatch.hxx> +#include <sfx2/viewfrm.hxx> #include <editeng/lrspitem.hxx> #include <editeng/ulspitem.hxx> #include <vcl/toolbox.hxx> diff --git a/svx/source/sidebar/paragraph/ParaSpacingWindow.cxx b/svx/source/sidebar/paragraph/ParaSpacingWindow.cxx index 8b67b8919907..d945b32ed5bf 100644 --- a/svx/source/sidebar/paragraph/ParaSpacingWindow.cxx +++ b/svx/source/sidebar/paragraph/ParaSpacingWindow.cxx @@ -20,6 +20,8 @@ #include "ParaSpacingWindow.hxx" #include <editeng/editids.hrc> #include <sfx2/dispatch.hxx> +#include <sfx2/app.hxx> +#include <sfx2/viewfrm.hxx> #include <svl/itempool.hxx> #include <svl/intitem.hxx> #include <vcl/builderfactory.hxx> diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 7c4adfa7ef4b..087dbf920654 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -29,6 +29,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/objsh.hxx> +#include <sfx2/viewfrm.hxx> #include <svx/dlgutil.hxx> #include <unotools/localedatawrapper.hxx> #include <unotools/viewoptions.hxx> diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx index 7e930d4a9503..5182b6edb219 100644 --- a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx +++ b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx @@ -23,7 +23,9 @@ #include <editeng/kernitem.hxx> #include <editeng/fhgtitem.hxx> #include <sfx2/dispatch.hxx> +#include <sfx2/viewfrm.hxx> #include <sfx2/sidebar/Theme.hxx> +#include <vcl/button.hxx> #include <vcl/settings.hxx> #include <svl/itempool.hxx> #include <helpids.h> diff --git a/svx/source/sidebar/text/TextUnderlineControl.cxx b/svx/source/sidebar/text/TextUnderlineControl.cxx index 5c1bdc2e131e..c509998e0b49 100644 --- a/svx/source/sidebar/text/TextUnderlineControl.cxx +++ b/svx/source/sidebar/text/TextUnderlineControl.cxx @@ -19,9 +19,11 @@ #include "TextUnderlineControl.hxx" #include <svx/svxids.hrc> #include <sfx2/dispatch.hxx> +#include <sfx2/viewfrm.hxx> #include <sfx2/sidebar/Theme.hxx> #include <editeng/editids.hrc> #include <editeng/udlnitem.hxx> +#include <vcl/button.hxx> #include <vcl/settings.hxx> #include <helpids.h> diff --git a/svx/source/stbctrls/selctrl.cxx b/svx/source/stbctrls/selctrl.cxx index 12320c61fcc6..50c55e93e85f 100644 --- a/svx/source/stbctrls/selctrl.cxx +++ b/svx/source/stbctrls/selctrl.cxx @@ -18,6 +18,7 @@ */ #include <vcl/builder.hxx> +#include <vcl/event.hxx> #include <vcl/menu.hxx> #include <vcl/status.hxx> #include <svl/intitem.hxx> diff --git a/svx/source/stbctrls/zoomctrl.cxx b/svx/source/stbctrls/zoomctrl.cxx index dfd8ed6871ea..3cf48cf01800 100644 --- a/svx/source/stbctrls/zoomctrl.cxx +++ b/svx/source/stbctrls/zoomctrl.cxx @@ -19,6 +19,8 @@ #include <i18nutil/unicode.hxx> #include <vcl/builder.hxx> +#include <vcl/commandevent.hxx> +#include <vcl/event.hxx> #include <vcl/svapp.hxx> #include <vcl/status.hxx> #include <vcl/menu.hxx> diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx index 95d213c46c2e..b605925a33eb 100644 --- a/svx/source/tbxctrls/colrctrl.cxx +++ b/svx/source/tbxctrls/colrctrl.cxx @@ -27,6 +27,7 @@ #include <sfx2/viewsh.hxx> #include <sfx2/objsh.hxx> #include <sfx2/dispatch.hxx> +#include <sfx2/viewfrm.hxx> #include <vcl/image.hxx> #include <svx/colrctrl.hxx> diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx index 369c54133fc8..af83529bc620 100644 --- a/svx/source/tbxctrls/extrusioncontrols.cxx +++ b/svx/source/tbxctrls/extrusioncontrols.cxx @@ -27,6 +27,7 @@ #include <sfx2/dispatch.hxx> #include <sfx2/objsh.hxx> #include <svl/eitem.hxx> +#include <vcl/event.hxx> #include <vcl/settings.hxx> #include <svl/intitem.hxx> #include <editeng/colritem.hxx> diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx index d9e819c31d55..f193a9d0f123 100644 --- a/svx/source/tbxctrls/fillctrl.cxx +++ b/svx/source/tbxctrls/fillctrl.cxx @@ -21,6 +21,7 @@ #include <sfx2/app.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/objsh.hxx> +#include <sfx2/viewfrm.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/sidebar/SidebarToolBox.hxx> #include <rtl/ustring.hxx> diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx index 8c69f9fb8198..14dc309e4a6c 100644 --- a/svx/source/tbxctrls/layctrl.cxx +++ b/svx/source/tbxctrls/layctrl.cxx @@ -20,7 +20,9 @@ #include <string> #include <vcl/toolbox.hxx> #include <vcl/button.hxx> +#include <vcl/event.hxx> #include <vcl/settings.hxx> +#include <vcl/svapp.hxx> #include <svl/intitem.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/app.hxx> |