diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-03-23 13:17:16 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-03-28 10:27:23 +0100 |
commit | 1d39c5aa7bd6419060ed10d9fbdc2a643000f363 (patch) | |
tree | af83df9344cef3dcdb0ed2708332411594969568 /sfx2 | |
parent | 6f41502b82fa108246b7547d9da3c6bf6b42f72f (diff) |
tdf#42949 Fix IWYU warnings in include/sfx2/[e-M]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I6e97c7ed6c0211dfafee83b9bdbea672e415fc49
Reviewed-on: https://gerrit.libreoffice.org/69715
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sfx2')
29 files changed, 33 insertions, 0 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index 5abd5594baeb..5ad63a9869f4 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -48,6 +48,7 @@ #include <unotools/securityoptions.hxx> #include <unotools/pathoptions.hxx> #include <svtools/miscopt.hxx> +#include <svtools/imgdef.hxx> #include <vcl/toolbox.hxx> #include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index c52764404809..4a655f940d4c 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -70,6 +70,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/docfile.hxx> +#include <sfx2/docfilt.hxx> #include <sfx2/fcontnr.hxx> #include <sfx2/new.hxx> #include <sfx2/objitem.hxx> diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx index 6a02b5bacab6..4dc55e2a126d 100644 --- a/sfx2/source/appl/childwin.cxx +++ b/sfx2/source/appl/childwin.cxx @@ -28,6 +28,7 @@ #include <cppuhelper/implbase.hxx> #include <sal/log.hxx> +#include <vcl/svapp.hxx> #include <sfx2/childwin.hxx> #include <sfx2/app.hxx> #include <sfx2/bindings.hxx> diff --git a/sfx2/source/appl/impldde.hxx b/sfx2/source/appl/impldde.hxx index 68bb0cd113d2..ee2f2ecb9238 100644 --- a/sfx2/source/appl/impldde.hxx +++ b/sfx2/source/appl/impldde.hxx @@ -21,6 +21,7 @@ #include <rtl/ustring.hxx> #include <sfx2/linksrc.hxx> +#include <tools/link.hxx> class DdeConnection; class DdeData; diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index f9c243b34a6f..b0e8792d8b37 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -49,6 +49,7 @@ #include <com/sun/star/document/MacroExecMode.hpp> #include <com/sun/star/document/UpdateDocMode.hpp> #include <sfx2/filedlghelper.hxx> +#include <sfx2/docfilt.hxx> #include <sfx2/fcontnr.hxx> #include <comphelper/processfactory.hxx> #include <cppuhelper/implbase.hxx> diff --git a/sfx2/source/bastyp/frmhtml.cxx b/sfx2/source/bastyp/frmhtml.cxx index 5bcf59dfb167..5ff72824c7a8 100644 --- a/sfx2/source/bastyp/frmhtml.cxx +++ b/sfx2/source/bastyp/frmhtml.cxx @@ -21,6 +21,7 @@ #include <svtools/htmltokn.h> #include <svtools/asynclink.hxx> +#include <sfx2/frmdescr.hxx> #include <sfx2/frmhtml.hxx> #include <sfx2/docfile.hxx> #include <sfx2/viewfrm.hxx> diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx index f5ba6bcf4b50..a318dc875f0f 100644 --- a/sfx2/source/bastyp/frmhtmlw.cxx +++ b/sfx2/source/bastyp/frmhtmlw.cxx @@ -28,7 +28,9 @@ #include <tools/stream.hxx> #include <tools/debug.hxx> #include <unotools/resmgr.hxx> +#include <svtools/htmlout.hxx> +#include <sfx2/frmdescr.hxx> #include <sfx2/frmhtmlw.hxx> #include <sfx2/evntconf.hxx> #include <sfx2/frame.hxx> diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx index 1e664d6371e3..fbcbe656dec1 100644 --- a/sfx2/source/config/evntconf.cxx +++ b/sfx2/source/config/evntconf.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/uno/Any.hxx> #include <comphelper/processfactory.hxx> #include <sfx2/evntconf.hxx> +#include <svl/macitem.hxx> #include <sfx2/docfile.hxx> #include <sfx2/app.hxx> diff --git a/sfx2/source/control/emojicontrol.cxx b/sfx2/source/control/emojicontrol.cxx index 12b640c191fe..775ee77b3a75 100644 --- a/sfx2/source/control/emojicontrol.cxx +++ b/sfx2/source/control/emojicontrol.cxx @@ -20,6 +20,7 @@ #include <sfx2/emojiview.hxx> #include <sfx2/emojiviewitem.hxx> #include <sfx2/emojicontrol.hxx> +#include <vcl/tabpage.hxx> #include <comphelper/propertysequence.hxx> #include <comphelper/dispatchcommand.hxx> #include <officecfg/Office/Common.hxx> diff --git a/sfx2/source/control/sfxstatuslistener.cxx b/sfx2/source/control/sfxstatuslistener.cxx index 9323def48af9..cdb943f24d34 100644 --- a/sfx2/source/control/sfxstatuslistener.cxx +++ b/sfx2/source/control/sfxstatuslistener.cxx @@ -39,6 +39,7 @@ #include <sfx2/dispatch.hxx> #include <sfx2/unoctitm.hxx> #include <sfx2/msgpool.hxx> +#include <sfx2/msg.hxx> using namespace ::cppu; using namespace ::com::sun::star::uno; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 4a18c9fc587e..928616f99e13 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -60,6 +60,7 @@ #include <sfx2/request.hxx> #include <statcach.hxx> #include <sfx2/msgpool.hxx> +#include <sfx2/msg.hxx> #include <sfx2/objsh.hxx> #include <sfx2/viewsh.hxx> #include <osl/file.hxx> diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 01a4ccf90ac0..6c30efc09bdb 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -83,6 +83,7 @@ #include <sfx2/frame.hxx> #include <sfx2/docfile.hxx> #include <sfx2/docfac.hxx> +#include <sfx2/docfilt.hxx> #include <sfx2/objsh.hxx> #include <openflag.hxx> #include <sfx2/passwd.hxx> diff --git a/sfx2/source/dialog/filedlgimpl.hxx b/sfx2/source/dialog/filedlgimpl.hxx index b3de82cbe6a5..cdc8189692fb 100644 --- a/sfx2/source/dialog/filedlgimpl.hxx +++ b/sfx2/source/dialog/filedlgimpl.hxx @@ -34,6 +34,7 @@ class SfxFilterMatcher; class GraphicFilter; class FileDialogHelper; +struct ImplSVEvent; namespace sfx2 { diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 96f16e64fccd..5a5660f7e550 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -22,6 +22,7 @@ #include <sfx2/filedlghelper.hxx> #include <sfx2/strings.hrc> #include <sfx2/docfac.hxx> +#include <sfx2/docfilt.hxx> #include <sfx2/sfxresid.hxx> #include <osl/thread.h> #include <rtl/strbuf.hxx> diff --git a/sfx2/source/dialog/partwnd.cxx b/sfx2/source/dialog/partwnd.cxx index 05312c84f1d4..f97bc2d30445 100644 --- a/sfx2/source/dialog/partwnd.cxx +++ b/sfx2/source/dialog/partwnd.cxx @@ -35,6 +35,7 @@ #include <toolkit/helper/vclunohelper.hxx> +#include <vcl/event.hxx> #include <sfx2/sfxsids.hrc> #include <partwnd.hxx> #include <sfx2/bindings.hxx> diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index 065ca5afde1a..b983787838e3 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -27,8 +27,10 @@ #include <unotools/viewoptions.hxx> #include <sal/log.hxx> +#include <vcl/event.hxx> #include <vcl/menu.hxx> #include <vcl/timer.hxx> +#include <vcl/svapp.hxx> #include <splitwin.hxx> #include <workwin.hxx> diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 5e17b9757cf9..02834f8fb98c 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -70,6 +70,7 @@ #include <sfx2/strings.hrc> #include <sfx2/sfxbasemodel.hxx> #include <sfx2/docfile.hxx> +#include <sfx2/docfilt.hxx> #include <sfx2/request.hxx> #include <openflag.hxx> #include <memory> diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 12af26232cec..8537b43de933 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -104,6 +104,7 @@ #include <sfx2/viewfrm.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/docfile.hxx> +#include <sfx2/docfilt.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/request.hxx> #include <sfx2/printer.hxx> diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index dec6fe3e6353..351e610d6e71 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -20,6 +20,7 @@ #include <officecfg/Office/Common.hxx> #include <sfx2/app.hxx> #include <sfx2/docfac.hxx> +#include <sfx2/docfilt.hxx> #include <sfx2/fcontnr.hxx> #include <sfx2/filedlghelper.hxx> #include <sfx2/objsh.hxx> diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index 6b9894628e94..159e6ceb0c6c 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -32,6 +32,7 @@ #include <rtl/ustring.hxx> #include <o3tl/typed_flags_set.hxx> +#include <sfx2/basedlgs.hxx> #include <sfx2/childwin.hxx> #include <sfx2/objface.hxx> #include <sfx2/shell.hxx> diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx index 7182b479e282..4e9fe7916441 100644 --- a/sfx2/source/sidebar/SidebarToolBox.cxx +++ b/sfx2/source/sidebar/SidebarToolBox.cxx @@ -23,6 +23,7 @@ #include <vcl/builderfactory.hxx> #include <vcl/commandinfoprovider.hxx> +#include <vcl/event.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> #include <toolkit/helper/vclunohelper.hxx> diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx index ffa258f639c8..dd8eac28bcac 100644 --- a/sfx2/source/statbar/stbitem.cxx +++ b/sfx2/source/statbar/stbitem.cxx @@ -27,6 +27,8 @@ #include <com/sun/star/frame/status/ItemState.hpp> #include <com/sun/star/awt/MouseButton.hpp> +#include <vcl/commandevent.hxx> +#include <vcl/event.hxx> #include <vcl/status.hxx> #include <sfx2/app.hxx> diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index 7241d98101f2..1501c3a07708 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -59,6 +59,7 @@ #include <framework/menuconfiguration.hxx> #include <framework/sfxhelperfunctions.hxx> #include <vcl/taskpanelist.hxx> +#include <vcl/event.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <tools/globname.hxx> #include <svtools/menuoptions.hxx> diff --git a/sfx2/source/view/classificationcontroller.cxx b/sfx2/source/view/classificationcontroller.cxx index d2bc9824db88..0bb7b2daea70 100644 --- a/sfx2/source/view/classificationcontroller.cxx +++ b/sfx2/source/view/classificationcontroller.cxx @@ -21,6 +21,7 @@ #include <toolkit/helper/vclunohelper.hxx> #include <vcl/toolbox.hxx> #include <vcl/fixed.hxx> +#include <vcl/event.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/classificationhelper.hxx> #include <sfx2/strings.hrc> diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx index c3d2f96c2f6f..db94f56a9b44 100644 --- a/sfx2/source/view/classificationhelper.cxx +++ b/sfx2/source/view/classificationhelper.cxx @@ -34,6 +34,8 @@ #include <sfx2/viewfrm.hxx> #include <tools/datetime.hxx> #include <unotools/datetime.hxx> +#include <vcl/svapp.hxx> +#include <vcl/settings.hxx> #include <vcl/weld.hxx> #include <svl/fstathelper.hxx> #include <config_folders.h> diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 9f59d7335e0c..a7d8ac8850f4 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/UnreachableStateException.hpp> #include <com/sun/star/embed/XVisualObject.hpp> diff --git a/sfx2/source/view/lokcharthelper.cxx b/sfx2/source/view/lokcharthelper.cxx index d0d37e4865a4..2622aba832cc 100644 --- a/sfx2/source/view/lokcharthelper.cxx +++ b/sfx2/source/view/lokcharthelper.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <com/sun/star/frame/XModel.hpp> +#include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #define TWIPS_PER_PIXEL 15 diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx index 768cedd9da44..581b78f87c5b 100644 --- a/sfx2/source/view/lokhelper.cxx +++ b/sfx2/source/view/lokhelper.cxx @@ -13,6 +13,7 @@ #include <comphelper/processfactory.hxx> #include <vcl/svapp.hxx> +#include <sfx2/app.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/request.hxx> #include <sfx2/viewfrm.hxx> diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 1d8273bffb97..91092303671b 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -19,6 +19,7 @@ #include <config_features.h> #include <osl/file.hxx> +#include <sfx2/docfilt.hxx> #include <sfx2/infobar.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/classificationhelper.hxx> |