diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-03-27 21:41:16 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-03-29 13:26:47 +0100 |
commit | 106d6d3f3c5701f66e0e6e821dd0160621dbd848 (patch) | |
tree | b4f5ecffbe384682633e7aee1b7c62ba6399085b /sfx2 | |
parent | 9c607b61f4e66c78b0c36802a1dcc997bf39e307 (diff) |
tdf#42949 Fix IWYU warnings in include/sfx2/[n-r]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ia2bea9bd4775f4ed5ef0133971106a6c0bfdd1c0
Reviewed-on: https://gerrit.libreoffice.org/69896
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/fileobj.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/appl/opengrf.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/bastyp/fltfnc.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/bastyp/frmhtmlw.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/control/recentdocsview.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/documentfontsdialog.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/filedlghelper.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/doc/objitem.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/doc/ownsubfilterservice.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/notebookbar/NotebookbarTabControl.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/notebookbar/SfxNotebookBar.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/view/classificationhelper.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/viewprn.cxx | 1 |
14 files changed, 17 insertions, 0 deletions
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx index 098d5566812f..13ddc3db1f5f 100644 --- a/sfx2/source/appl/fileobj.cxx +++ b/sfx2/source/appl/fileobj.cxx @@ -33,6 +33,7 @@ #include <com/sun/star/uno/Sequence.hxx> #include <sfx2/docfac.hxx> #include <com/sun/star/document/XTypeDetection.hpp> +#include <com/sun/star/container/XNameAccess.hpp> #include <unotools/mediadescriptor.hxx> #include <comphelper/processfactory.hxx> #include <sfx2/linkmgr.hxx> diff --git a/sfx2/source/appl/opengrf.cxx b/sfx2/source/appl/opengrf.cxx index bff6d3d32eea..1469b0b3fc97 100644 --- a/sfx2/source/appl/opengrf.cxx +++ b/sfx2/source/appl/opengrf.cxx @@ -40,6 +40,7 @@ #include <vcl/transfer.hxx> #include <sot/formats.hxx> #include <vcl/button.hxx> +#include <vcl/graphicfilter.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <sfx2/filedlghelper.hxx> diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index 7f4d919546a3..3767e57d768d 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -26,6 +26,8 @@ #include <com/sun/star/datatransfer/DataFlavor.hpp> #include <com/sun/star/document/XTypeDetection.hpp> #include <com/sun/star/container/XContainerQuery.hpp> +#include <com/sun/star/io/XInputStream.hpp> +#include <com/sun/star/task/XInteractionHandler.hpp> #include <comphelper/sequenceashashmap.hxx> diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx index a318dc875f0f..d074138ce56a 100644 --- a/sfx2/source/bastyp/frmhtmlw.cxx +++ b/sfx2/source/bastyp/frmhtmlw.cxx @@ -45,6 +45,7 @@ #include <com/sun/star/script/Converter.hpp> #include <com/sun/star/document/XDocumentProperties.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> #include <rtl/bootstrap.hxx> #include <rtl/strbuf.hxx> diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index 9a7c02c206d7..1a0acba533eb 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -21,6 +21,7 @@ #include <comphelper/base64.hxx> #include <sax/tools/converter.hxx> #include <sfx2/recentdocsview.hxx> +#include <sfx2/recentdocsviewitem.hxx> #include <sfx2/templatelocalview.hxx> #include <sfx2/app.hxx> #include <sfx2/sfxresid.hxx> diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 9bd17f6309b3..5e411b37fb82 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -47,6 +47,7 @@ #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/beans/XPropertyContainer.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/util/DateTime.hpp> #include <com/sun/star/util/Date.hpp> #include <com/sun/star/util/DateTimeWithTimezone.hpp> diff --git a/sfx2/source/dialog/documentfontsdialog.cxx b/sfx2/source/dialog/documentfontsdialog.cxx index 3896f624fa49..d0515007b296 100644 --- a/sfx2/source/dialog/documentfontsdialog.cxx +++ b/sfx2/source/dialog/documentfontsdialog.cxx @@ -21,6 +21,8 @@ #include <sfx2/objsh.hxx> +#include <com/sun/star/beans/XPropertySet.hpp> + using namespace ::com::sun::star; VclPtr<SfxTabPage> SfxDocumentFontsPage::Create(TabPageParent pParent, const SfxItemSet* set) diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 6c30efc09bdb..361e66f688b3 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -61,6 +61,7 @@ #include <vcl/cvtgrf.hxx> #include <vcl/mnemonic.hxx> #include <vcl/svapp.hxx> +#include <vcl/window.hxx> #include <unotools/pathoptions.hxx> #include <unotools/saveopt.hxx> #include <unotools/securityoptions.hxx> diff --git a/sfx2/source/doc/objitem.cxx b/sfx2/source/doc/objitem.cxx index 65fb4a6472dc..8e907b7602fc 100644 --- a/sfx2/source/doc/objitem.cxx +++ b/sfx2/source/doc/objitem.cxx @@ -21,6 +21,7 @@ #include <sfx2/objsh.hxx> #include <sfx2/objitem.hxx> #include <com/sun/star/lang/XUnoTunnel.hpp> +#include <com/sun/star/frame/XModel.hpp> #include <tools/globname.hxx> diff --git a/sfx2/source/doc/ownsubfilterservice.cxx b/sfx2/source/doc/ownsubfilterservice.cxx index 42d02284f100..7edb7dc777b7 100644 --- a/sfx2/source/doc/ownsubfilterservice.cxx +++ b/sfx2/source/doc/ownsubfilterservice.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/io/XStream.hpp> diff --git a/sfx2/source/notebookbar/NotebookbarTabControl.cxx b/sfx2/source/notebookbar/NotebookbarTabControl.cxx index 43421fdd9bd7..20c37dc1a297 100644 --- a/sfx2/source/notebookbar/NotebookbarTabControl.cxx +++ b/sfx2/source/notebookbar/NotebookbarTabControl.cxx @@ -19,6 +19,7 @@ #include <vcl/builderfactory.hxx> #include <vcl/layout.hxx> +#include <vcl/notebookbar.hxx> #include <vcl/tabpage.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/notebookbar/NotebookbarTabControl.hxx> diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx index 68a9e7797d26..222e0f2f7e6f 100644 --- a/sfx2/source/notebookbar/SfxNotebookBar.cxx +++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx @@ -25,6 +25,7 @@ #include <officecfg/Office/UI/ToolbarMode.hxx> #include <com/sun/star/frame/XModuleManager.hpp> #include <com/sun/star/frame/ModuleManager.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> #include <unotools/confignode.hxx> #include <comphelper/types.hxx> diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx index db94f56a9b44..492f5819f5d8 100644 --- a/sfx2/source/view/classificationhelper.cxx +++ b/sfx2/source/view/classificationhelper.cxx @@ -14,6 +14,8 @@ #include <iterator> #include <com/sun/star/beans/XPropertyContainer.hpp> +#include <com/sun/star/beans/Property.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/xml/sax/Parser.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx index fcbf0d9bf9f5..7bedde6eb23e 100644 --- a/sfx2/source/view/viewprn.cxx +++ b/sfx2/source/view/viewprn.cxx @@ -39,6 +39,7 @@ #include <sfx2/viewsh.hxx> #include "viewimp.hxx" #include <sfx2/viewfrm.hxx> +#include <sfx2/printer.hxx> #include <sfx2/prnmon.hxx> #include <sfx2/sfxresid.hxx> #include <sfx2/request.hxx> |