diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-04-07 18:43:32 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-04-08 11:55:43 +0200 |
commit | 4a6dc219fc0bb04f3e6a7f32344afcd058b38ebe (patch) | |
tree | da327f3364a1c55a226f8f2384832f7be32df635 /cui | |
parent | a3ee61550e4308782d53265c4b1685aeb8bf0ed7 (diff) |
tdf#42949 Fix IWYU warnings in include/sfx2/[t-z]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ib3252828385d1dc8faf48a428b1593199647a679
Reviewed-on: https://gerrit.libreoffice.org/70383
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cui')
30 files changed, 33 insertions, 0 deletions
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx index bd7a3333a4e7..9b0de1b5dd71 100644 --- a/cui/source/customize/SvxToolbarConfigPage.cxx +++ b/cui/source/customize/SvxToolbarConfigPage.cxx @@ -44,6 +44,7 @@ #include <sfx2/objsh.hxx> #include <sfx2/request.hxx> #include <sfx2/filedlghelper.hxx> +#include <sfx2/sfxsids.hrc> #include <svl/stritem.hxx> #include <svtools/miscopt.hxx> #include <vcl/svlbitm.hxx> diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 69cce08fbfc1..a0b14bce8720 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -46,6 +46,7 @@ #include <sfx2/objsh.hxx> #include <sfx2/request.hxx> #include <sfx2/filedlghelper.hxx> +#include <sfx2/sfxsids.hrc> #include <svl/stritem.hxx> #include <vcl/svlbitm.hxx> #include <vcl/treelistentry.hxx> diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 01ee8ea62997..5fef9a64c507 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -27,6 +27,7 @@ #include "SpellAttrib.hxx" #include <sfx2/dispatch.hxx> #include <sfx2/bindings.hxx> +#include <sfx2/sfxsids.hrc> #include <sfx2/viewfrm.hxx> #include <svl/undo.hxx> #include <unotools/lingucfg.hxx> diff --git a/cui/source/dialogs/cuigrfflt.cxx b/cui/source/dialogs/cuigrfflt.cxx index fe1d523b6874..6f6dbd519215 100644 --- a/cui/source/dialogs/cuigrfflt.cxx +++ b/cui/source/dialogs/cuigrfflt.cxx @@ -25,6 +25,7 @@ #include <vcl/BitmapSolarizeFilter.hxx> #include <vcl/BitmapColorQuantizationFilter.hxx> #include <vcl/builderfactory.hxx> +#include <vcl/svapp.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/objsh.hxx> diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index 1e7410fe6670..474bd7af4d95 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -43,6 +43,7 @@ #include <tools/debug.hxx> #include <tools/stream.hxx> #include <svl/urihelper.hxx> +#include <vcl/image.hxx> #include <vcl/weld.hxx> #include <vcl/svapp.hxx> #include <comphelper/classids.hxx> diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index eb6c80c62f6d..346c6a1e556c 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -25,6 +25,8 @@ #include <tools/debug.hxx> #include <vcl/metric.hxx> +#include <set> + class CharClass; class CollatorWrapper; class SmartTagMgr; diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx index 342a34e066da..978e023b3c16 100644 --- a/cui/source/options/dbregister.cxx +++ b/cui/source/options/dbregister.cxx @@ -27,6 +27,7 @@ #include <strings.hrc> #include <bitmaps.hlst> #include <vcl/field.hxx> +#include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <svl/eitem.hxx> #include <com/sun/star/uno/Exception.hpp> diff --git a/cui/source/options/fontsubs.hxx b/cui/source/options/fontsubs.hxx index 51986ce5a977..214ba17c1561 100644 --- a/cui/source/options/fontsubs.hxx +++ b/cui/source/options/fontsubs.hxx @@ -24,6 +24,7 @@ #include <svtools/simptabl.hxx> #include <vcl/treelistentry.hxx> #include <vcl/fixed.hxx> +#include <vcl/layout.hxx> #include <vcl/toolbox.hxx> // class SvxFontSubstCheckListBox ------------------------------------------ diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 5947c50b7047..4bc61e9ac8a5 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -11,6 +11,7 @@ #include "optHeaderTabListbox.hxx" #include <vcl/builderfactory.hxx> +#include <vcl/event.hxx> #include <vcl/svlbitm.hxx> #include <vcl/treelistentry.hxx> #include <vcl/fixed.hxx> diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 0ddd786c71c6..e0ae146281ef 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -21,6 +21,7 @@ #include "optchart.hxx" #include <vcl/builderfactory.hxx> #include <vcl/weld.hxx> +#include <vcl/settings.hxx> #include <vcl/svapp.hxx> #include <svx/svxids.hrc> #include <osl/diagnose.h> diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index 19625707f5e7..0078c029a212 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -21,6 +21,7 @@ #include <bitset> +#include <tools/debug.hxx> #include <editeng/editids.hrc> #include <svtools/colorcfg.hxx> #include <svtools/extcolorcfg.hxx> @@ -31,6 +32,7 @@ #include <svx/xtable.hxx> #include <unotools/moduleoptions.hxx> #include <unotools/pathoptions.hxx> +#include <vcl/layout.hxx> #include <vcl/settings.hxx> #include <vcl/builderfactory.hxx> #include <vcl/weld.hxx> diff --git a/cui/source/options/optfltr.cxx b/cui/source/options/optfltr.cxx index b97adf52cbbe..764614a6030e 100644 --- a/cui/source/options/optfltr.cxx +++ b/cui/source/options/optfltr.cxx @@ -24,6 +24,7 @@ #include <strings.hrc> #include <dialmgr.hxx> +#include <vcl/event.hxx> #include <vcl/svlbitm.hxx> #include <vcl/treelistentry.hxx> diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx index 712e99d04845..12de3f8df507 100644 --- a/cui/source/options/optjava.hxx +++ b/cui/source/options/optjava.hxx @@ -26,6 +26,7 @@ #include <ucbhelper/content.hxx> #include <vcl/button.hxx> #include <vcl/fixed.hxx> +#include <vcl/layout.hxx> #include <vcl/timer.hxx> #include <vcl/idle.hxx> #include <vcl/weld.hxx> diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index e9134ef81e2b..9199ccd9a31d 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -31,6 +31,7 @@ #include <linguistic/misc.hxx> #include <sfx2/sfxuno.hxx> #include <sfx2/dispatch.hxx> +#include <sfx2/sfxsids.hrc> #include <tools/urlobj.hxx> #include <tools/diagnose_ex.h> #include <com/sun/star/lang/XMultiServiceFactory.hpp> diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index e748baf8ac60..7ba962d11eea 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -21,6 +21,7 @@ #include <tools/urlobj.hxx> #include <tools/stream.hxx> #include <vcl/edit.hxx> +#include <vcl/event.hxx> #include <vcl/fixed.hxx> #include <vcl/fixedhyper.hxx> #include <vcl/weld.hxx> diff --git a/cui/source/options/tsaurls.hxx b/cui/source/options/tsaurls.hxx index c61dcfa25a00..41ceeaa37253 100644 --- a/cui/source/options/tsaurls.hxx +++ b/cui/source/options/tsaurls.hxx @@ -12,6 +12,8 @@ #include <vcl/weld.hxx> +#include <set> + class TSAURLsDialog : public weld::GenericDialogController { private: diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx index 116685b2d468..5b7ca72221bd 100644 --- a/cui/source/tabpages/align.cxx +++ b/cui/source/tabpages/align.cxx @@ -38,6 +38,7 @@ #include <svl/intitem.hxx> #include <sfx2/request.hxx> #include <vcl/settings.hxx> +#include <vcl/event.hxx> #define IID_BOTTOMLOCK 1 #define IID_TOPLOCK 2 diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index e8d23d237f69..963ba8480296 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -45,6 +45,7 @@ #include <com/sun/star/smarttags/XSmartTagRecognizer.hpp> #include <com/sun/star/smarttags/XSmartTagAction.hpp> #include <rtl/strbuf.hxx> +#include <osl/diagnose.h> #include <autocdlg.hxx> #include <editeng/acorrcfg.hxx> diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index cbea2186706e..dddbe7e0e985 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -24,6 +24,7 @@ #include <vcl/settings.hxx> #include <vcl/graphicfilter.hxx> #include <vcl/idle.hxx> +#include <vcl/svapp.hxx> #include <vcl/window.hxx> #include <tools/urlobj.hxx> #include <sfx2/dialoghelper.hxx> diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx index b6c177f04e75..d9cd2e4a2c2c 100644 --- a/cui/source/tabpages/border.cxx +++ b/cui/source/tabpages/border.cxx @@ -35,6 +35,7 @@ #include <svx/dlgutil.hxx> #include <dialmgr.hxx> #include <sfx2/htmlmode.hxx> +#include <vcl/event.hxx> #include <vcl/settings.hxx> #include <svx/flagsdef.hxx> #include <sfx2/request.hxx> diff --git a/cui/source/tabpages/labdlg.cxx b/cui/source/tabpages/labdlg.cxx index cda14818ee05..352a5a537e79 100644 --- a/cui/source/tabpages/labdlg.cxx +++ b/cui/source/tabpages/labdlg.cxx @@ -20,6 +20,7 @@ #include <sfx2/app.hxx> #include <sfx2/module.hxx> #include <swpossizetabpage.hxx> +#include <vcl/event.hxx> #include <vcl/settings.hxx> #include <svx/dialogs.hrc> diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index 94f15b630672..7b82830dc866 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -25,6 +25,7 @@ #include <sfx2/viewsh.hxx> #include <svl/itemiter.hxx> #include <svl/languageoptions.hxx> +#include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <unotools/configitem.hxx> #include <sfx2/htmlmode.hxx> diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx index 6d35e70e501f..ef1555e7c9ab 100644 --- a/cui/source/tabpages/tabstpge.cxx +++ b/cui/source/tabpages/tabstpge.cxx @@ -22,6 +22,7 @@ #include <svx/dialogs.hrc> #include <vcl/settings.hxx> #include <vcl/builderfactory.hxx> +#include <vcl/svapp.hxx> #include <editeng/lrspitem.hxx> #include <tabstpge.hxx> diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index faee1ded1ac2..78a1b49f00ce 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -38,6 +38,7 @@ #include <svl/intitem.hxx> #include <sfx2/request.hxx> #include <sfx2/opengrf.hxx> +#include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <svx/svxdlg.hxx> #include <sfx2/viewsh.hxx> diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index 1cebd3b7527c..911bbf748060 100644 --- a/cui/source/tabpages/tpcolor.cxx +++ b/cui/source/tabpages/tpcolor.cxx @@ -28,6 +28,7 @@ #include <sfx2/viewfrm.hxx> #include <sfx2/dispatch.hxx> #include <svtools/colrdlg.hxx> +#include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <sfx2/filedlghelper.hxx> #include <svx/ofaitem.hxx> diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx index a8b505a5c68d..8fdeb16dd5b6 100644 --- a/cui/source/tabpages/tpgradnt.cxx +++ b/cui/source/tabpages/tpgradnt.cxx @@ -20,6 +20,7 @@ #include <memory> #include <vcl/wrkwin.hxx> #include <tools/urlobj.hxx> +#include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <unotools/pathoptions.hxx> #include <sfx2/app.hxx> diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index f70c96b0eec5..194a23bd7917 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -20,6 +20,7 @@ #include <memory> #include <tools/urlobj.hxx> #include <vcl/settings.hxx> +#include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <unotools/pathoptions.hxx> #include <sfx2/app.hxx> diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx index a36fcfa37288..8786fb71c6b0 100644 --- a/cui/source/tabpages/tplnedef.cxx +++ b/cui/source/tabpages/tplnedef.cxx @@ -19,6 +19,7 @@ #include <tools/urlobj.hxx> #include <vcl/settings.hxx> +#include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <unotools/pathoptions.hxx> #include <sfx2/app.hxx> diff --git a/cui/source/tabpages/tplneend.cxx b/cui/source/tabpages/tplneend.cxx index 97f6305781eb..b97636815e25 100644 --- a/cui/source/tabpages/tplneend.cxx +++ b/cui/source/tabpages/tplneend.cxx @@ -19,6 +19,7 @@ #include <tools/urlobj.hxx> #include <vcl/settings.hxx> +#include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <unotools/pathoptions.hxx> #include <sfx2/app.hxx> diff --git a/cui/source/tabpages/tppattern.cxx b/cui/source/tabpages/tppattern.cxx index 1d77214eeb08..878c1ae8b98d 100644 --- a/cui/source/tabpages/tppattern.cxx +++ b/cui/source/tabpages/tppattern.cxx @@ -31,6 +31,7 @@ #include <vcl/bitmapaccess.hxx> #include <vcl/BitmapTools.hxx> #include <vcl/settings.hxx> +#include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <svx/dialogs.hrc> #include <svx/strings.hrc> |