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 /sw/source | |
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 'sw/source')
30 files changed, 32 insertions, 0 deletions
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx index eb7df745682f..c6ff7c163462 100644 --- a/sw/source/core/doc/DocumentContentOperationsManager.cxx +++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx @@ -72,6 +72,7 @@ #include <unotools/charclass.hxx> #include <unotools/configmgr.hxx> #include <sfx2/Metadatable.hxx> +#include <sot/exchange.hxx> #include <svl/stritem.hxx> #include <svl/itemiter.hxx> #include <svx/svdobj.hxx> diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index 396fbc042f40..200b46592426 100644 --- a/sw/source/core/doc/doclay.cxx +++ b/sw/source/core/doc/doclay.cxx @@ -20,6 +20,7 @@ #include <unotools/linguprops.hxx> #include <unotools/lingucfg.hxx> #include <hintids.hxx> +#include <sot/exchange.hxx> #include <sfx2/progress.hxx> #include <svx/svdmodel.hxx> #include <svx/svdpage.hxx> diff --git a/sw/source/core/doc/swserv.cxx b/sw/source/core/doc/swserv.cxx index 6bf133cbf352..5dfe6d92b36b 100644 --- a/sw/source/core/doc/swserv.cxx +++ b/sw/source/core/doc/swserv.cxx @@ -18,6 +18,7 @@ */ #include <sot/storage.hxx> +#include <sot/exchange.hxx> #include <sfx2/linkmgr.hxx> #include <com/sun/star/uno/Sequence.h> #include <doc.hxx> diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx index e0ca1175f1c7..d2474855d4ad 100644 --- a/sw/source/core/docnode/section.cxx +++ b/sw/source/core/docnode/section.cxx @@ -21,6 +21,7 @@ #include <libxml/xmlwriter.h> #include <stdlib.h> #include <hintids.hxx> +#include <sot/exchange.hxx> #include <svl/intitem.hxx> #include <svl/stritem.hxx> #include <sfx2/docfile.hxx> diff --git a/sw/source/core/docnode/swbaslnk.cxx b/sw/source/core/docnode/swbaslnk.cxx index bce6076aa523..7d0edf5fedf0 100644 --- a/sw/source/core/docnode/swbaslnk.cxx +++ b/sw/source/core/docnode/swbaslnk.cxx @@ -31,6 +31,7 @@ #include <sfx2/linkmgr.hxx> #include <sfx2/event.hxx> #include <svtools/soerr.hxx> +#include <sot/exchange.hxx> #include <fmtfsize.hxx> #include <fmtanchr.hxx> #include <frmatr.hxx> diff --git a/sw/source/core/fields/ddefld.cxx b/sw/source/core/fields/ddefld.cxx index 4211f3fcb770..4aaeadb7274e 100644 --- a/sw/source/core/fields/ddefld.cxx +++ b/sw/source/core/fields/ddefld.cxx @@ -23,6 +23,7 @@ #include <osl/diagnose.h> #include <osl/thread.h> #include <sfx2/linkmgr.hxx> +#include <sot/exchange.hxx> #include <doc.hxx> #include <IDocumentLinksAdministration.hxx> #include <IDocumentState.hxx> diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx index 7d63fdfdca95..363f1056583a 100644 --- a/sw/source/core/frmedt/fefly1.cxx +++ b/sw/source/core/frmedt/fefly1.cxx @@ -27,6 +27,7 @@ #include <svx/svdouno.hxx> #include <svx/fmglob.hxx> #include <tools/globname.hxx> +#include <sot/exchange.hxx> #include <com/sun/star/form/FormButtonType.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx index 83b2a5c5ede8..c570d094fe3a 100644 --- a/sw/source/core/frmedt/feshview.cxx +++ b/sw/source/core/frmedt/feshview.cxx @@ -45,6 +45,7 @@ #include <svx/svdpagv.hxx> #include <svx/dialmgr.hxx> #include <tools/globname.hxx> +#include <sot/exchange.hxx> #include <IDocumentDrawModelAccess.hxx> #include <IDocumentSettingAccess.hxx> #include <DocumentSettingManager.hxx> diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx index 9cad7b17a68b..1990919993e3 100644 --- a/sw/source/core/ole/ndole.cxx +++ b/sw/source/core/ole/ndole.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/chart2/XChartDocument.hpp> #include <cppuhelper/implbase.hxx> +#include <sot/exchange.hxx> #include <tools/globname.hxx> #include <hintids.hxx> #include <sfx2/docfile.hxx> diff --git a/sw/source/core/swg/SwXMLTextBlocks.cxx b/sw/source/core/swg/SwXMLTextBlocks.cxx index 4828ab1afcf6..af17beb63f07 100644 --- a/sw/source/core/swg/SwXMLTextBlocks.cxx +++ b/sw/source/core/swg/SwXMLTextBlocks.cxx @@ -22,6 +22,7 @@ #include <osl/file.hxx> #include <rtl/ustring.hxx> #include <sal/log.hxx> +#include <sot/exchange.hxx> #include <sot/stg.hxx> #include <sfx2/docfile.hxx> #include <tools/urlobj.hxx> diff --git a/sw/source/core/text/EnhancedPDFExportHelper.cxx b/sw/source/core/text/EnhancedPDFExportHelper.cxx index cbfbac447f06..79de6f34239e 100644 --- a/sw/source/core/text/EnhancedPDFExportHelper.cxx +++ b/sw/source/core/text/EnhancedPDFExportHelper.cxx @@ -23,6 +23,7 @@ #include <EnhancedPDFExportHelper.hxx> #include <hintids.hxx> +#include <sot/exchange.hxx> #include <vcl/outdev.hxx> #include <vcl/pdfextoutdevdata.hxx> #include <tools/multisel.hxx> diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx index f71e81b9a8cc..ca1eeb9b9ce5 100644 --- a/sw/source/filter/html/htmlplug.cxx +++ b/sw/source/filter/html/htmlplug.cxx @@ -26,11 +26,13 @@ #include <vcl/svapp.hxx> #include <sfx2/frmhtml.hxx> #include <sfx2/frmhtmlw.hxx> +#include <sfx2/frmdescr.hxx> #include <vcl/wrkwin.hxx> #include <sot/storage.hxx> #include <svx/xoutbmp.hxx> #include <editeng/ulspitem.hxx> #include <editeng/lrspitem.hxx> +#include <svtools/htmlout.hxx> #include <svtools/htmlkywd.hxx> #include <svtools/htmltokn.h> #include <SwAppletImpl.hxx> diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx index 1e3afd632211..3f72b20f696b 100644 --- a/sw/source/filter/html/wrthtml.cxx +++ b/sw/source/filter/html/wrthtml.cxx @@ -28,6 +28,7 @@ #include <svtools/htmlcfg.hxx> #include <svtools/htmltokn.h> +#include <svtools/htmlkywd.hxx> #include <vcl/svapp.hxx> #include <i18nlangtag/languagetag.hxx> #include <sfx2/frmhtmlw.hxx> diff --git a/sw/source/filter/html/wrthtml.hxx b/sw/source/filter/html/wrthtml.hxx index b92b95f70e27..c90c784e7abc 100644 --- a/sw/source/filter/html/wrthtml.hxx +++ b/sw/source/filter/html/wrthtml.hxx @@ -32,6 +32,7 @@ #include <o3tl/sorted_vector.hxx> #include <o3tl/typed_flags_set.hxx> #include <rtl/ref.hxx> +#include <svtools/htmlout.hxx> #include <shellio.hxx> #include <wrt_fn.hxx> diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index ed388364a1ba..2c058f07fd48 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -99,6 +99,7 @@ #include <svl/whiter.hxx> #include <rtl/tencinfo.h> #include <sal/log.hxx> +#include <sot/exchange.hxx> #include <docufld.hxx> #include <authfld.hxx> diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index da67362138c9..b5462838ec55 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -26,6 +26,7 @@ #include <fmtcntnt.hxx> #include <rtl/tencinfo.h> #include <sal/log.hxx> +#include <sot/exchange.hxx> #include <svtools/rtfkeywd.hxx> #include <editeng/fontitem.hxx> #include <editeng/tstpitem.hxx> diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx index 168f9a8b3406..b2ae6f5ff08c 100644 --- a/sw/source/filter/xml/xmltexte.cxx +++ b/sw/source/filter/xml/xmltexte.cxx @@ -44,6 +44,7 @@ #include <SwAppletImpl.hxx> #include <ndindex.hxx> +#include <sot/exchange.hxx> #include <svl/urihelper.hxx> #include <sfx2/frmdescr.hxx> #include <SwStyleNameMapper.hxx> diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index 15576805856c..06b3cedd074b 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -26,6 +26,7 @@ #include <editeng/flstitem.hxx> #include <sfx2/htmlmode.hxx> #include <svl/cjkoptions.hxx> +#include <svl/macitem.hxx> #include <cmdid.h> #include <swtypes.hxx> diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx index 318229fa3104..230d26c98cb7 100644 --- a/sw/source/ui/dbui/mmresultdialogs.cxx +++ b/sw/source/ui/dbui/mmresultdialogs.cxx @@ -48,6 +48,7 @@ #include <sfx2/viewfrm.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/docfile.hxx> +#include <sfx2/docfilt.hxx> #include <tools/urlobj.hxx> #include <svl/urihelper.hxx> #include <vcl/print.hxx> diff --git a/sw/source/ui/dialog/macassgn.cxx b/sw/source/ui/dialog/macassgn.cxx index a8ae8c16f73a..77235ec72f67 100644 --- a/sw/source/ui/dialog/macassgn.cxx +++ b/sw/source/ui/dialog/macassgn.cxx @@ -22,6 +22,7 @@ #include <sfx2/htmlmode.hxx> #include <svx/svxids.hrc> #include <sfx2/app.hxx> +#include <svl/macitem.hxx> #include <swtypes.hxx> #include <wrtsh.hxx> diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index a29266b9de16..cd3853f38f64 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -25,10 +25,12 @@ #include <vcl/help.hxx> #include <vcl/builderfactory.hxx> #include <svl/stritem.hxx> +#include <svl/macitem.hxx> #include <unotools/pathoptions.hxx> #include <unotools/lingucfg.hxx> #include <sfx2/request.hxx> #include <sfx2/fcontnr.hxx> +#include <sfx2/docfilt.hxx> #include <svx/svxdlg.hxx> #include <svx/dialogs.hrc> diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index 962029e793ff..9dbe23c66289 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -24,6 +24,7 @@ #include "vbadocument.hxx" #include <sal/log.hxx> #include <osl/file.hxx> +#include <vcl/svapp.hxx> #include <vbahelper/vbahelper.hxx> #include "vbawindow.hxx" #include "vbasystem.hxx" diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx index 32e337393ac3..e140f6cad49f 100644 --- a/sw/source/uibase/app/docsh2.cxx +++ b/sw/source/uibase/app/docsh2.cxx @@ -37,6 +37,7 @@ #include <vcl/wrkwin.hxx> #include <svl/lckbitem.hxx> #include <svl/eitem.hxx> +#include <svl/macitem.hxx> #include <svl/zforlist.hxx> #include <svl/zformat.hxx> #include <unotools/pathoptions.hxx> diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index 6b09746db85f..508c2760807d 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -60,6 +60,7 @@ #include <svl/eitem.hxx> #include <vcl/oldprintadaptor.hxx> #include <sfx2/docfile.hxx> +#include <sfx2/docfilt.hxx> #include <sfx2/progress.hxx> #include <sfx2/dispatch.hxx> #include <cmdid.h> diff --git a/sw/source/uibase/dochdl/gloshdl.cxx b/sw/source/uibase/dochdl/gloshdl.cxx index b486c3b3041a..fc1f13dae296 100644 --- a/sw/source/uibase/dochdl/gloshdl.cxx +++ b/sw/source/uibase/dochdl/gloshdl.cxx @@ -25,6 +25,7 @@ #include <svl/macitem.hxx> #include <sfx2/fcontnr.hxx> #include <sfx2/docfile.hxx> +#include <sfx2/docfilt.hxx> #include <svl/urihelper.hxx> #include <unotools/transliterationwrapper.hxx> #include <poolfmt.hxx> diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx index 337e665a62e8..2083966a01d2 100644 --- a/sw/source/uibase/sidebar/PageMarginControl.cxx +++ b/sw/source/uibase/sidebar/PageMarginControl.cxx @@ -26,6 +26,7 @@ #include <strings.hrc> #include <editeng/sizeitem.hxx> +#include <sfx2/app.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> #include <svx/svxids.hrc> diff --git a/sw/source/uibase/sidebar/PageSizeControl.cxx b/sw/source/uibase/sidebar/PageSizeControl.cxx index fe9e78e2ddb3..7afe30a4d859 100644 --- a/sw/source/uibase/sidebar/PageSizeControl.cxx +++ b/sw/source/uibase/sidebar/PageSizeControl.cxx @@ -29,6 +29,7 @@ #include <unotools/localedatawrapper.hxx> #include <rtl/character.hxx> #include <editeng/paperinf.hxx> +#include <sfx2/app.hxx> #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> diff --git a/sw/source/uibase/utlui/bookctrl.cxx b/sw/source/uibase/utlui/bookctrl.cxx index 747f8fb77e9b..72f7316fd899 100644 --- a/sw/source/uibase/utlui/bookctrl.cxx +++ b/sw/source/uibase/utlui/bookctrl.cxx @@ -26,6 +26,7 @@ #include <svl/eitem.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> +#include <vcl/commandevent.hxx> #include <vcl/event.hxx> #include <vcl/status.hxx> #include <vcl/menu.hxx> diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx index 19105d4f1156..232501b05455 100644 --- a/sw/source/uibase/utlui/glbltree.cxx +++ b/sw/source/uibase/utlui/glbltree.cxx @@ -24,6 +24,7 @@ #include <sfx2/viewfrm.hxx> #include <svl/urihelper.hxx> #include <sfx2/docfile.hxx> +#include <sfx2/docfilt.hxx> #include <vcl/help.hxx> #include <sot/filelist.hxx> #include <svl/eitem.hxx> diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index 5d5745bb85fa..1e721a638f9a 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -103,6 +103,7 @@ #include <FrameControlsManager.hxx> #include <sfx2/msgpool.hxx> +#include <sfx2/msg.hxx> #include <svtools/embedhlp.hxx> #include <memory> |