diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-19 20:49:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-20 13:08:20 +0100 |
commit | 4b785097f1c49ead50e6a2085befcd37c800207b (patch) | |
tree | 6b2d236f0c98cb0c14aa26cb22f55335284dc6d9 /sfx2 | |
parent | f53157835775f976af5bedd9303c91c9d68b80c6 (diff) |
drop unnecessary includes
Change-Id: I1a817d5575bbd57ecaa874a27158b9218e4210cc
Reviewed-on: https://gerrit.libreoffice.org/51603
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
29 files changed, 1 insertions, 29 deletions
diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx index fcc40e260176..51b5c8e10195 100644 --- a/sfx2/inc/pch/precompiled_sfx.hxx +++ b/sfx2/inc/pch/precompiled_sfx.hxx @@ -120,7 +120,6 @@ #include <vcl/menu.hxx> #include <vcl/metaact.hxx> #include <vcl/metaactiontypes.hxx> -#include <vcl/msgbox.hxx> #include <vcl/outdev.hxx> #include <vcl/outdevmap.hxx> #include <vcl/outdevstate.hxx> diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index f10f257c3131..ce7af2aa535a 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -29,7 +29,6 @@ #include <svl/stritem.hxx> #include <svl/eitem.hxx> #include <svl/urlbmk.hxx> -#include <vcl/msgbox.hxx> #include <svtools/sfxecode.hxx> #include <svtools/ehdl.hxx> diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index 2b0d2d1d2319..98392536c58f 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -39,7 +39,6 @@ #include <basic/sbmeth.hxx> #include <basic/sbstar.hxx> #include <vcl/wrkwin.hxx> -#include <vcl/msgbox.hxx> #include <basic/sbuno.hxx> #include <svtools/sfxecode.hxx> #include <svtools/ehdl.hxx> diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index f3e0552dc223..f7d761d9f804 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -25,7 +25,6 @@ #include <osl/file.hxx> #include <stdlib.h> -#include <vcl/msgbox.hxx> #include <rtl/ustring.hxx> #include <svl/itempool.hxx> #include <svl/aeitem.hxx> diff --git a/sfx2/source/appl/appdata.cxx b/sfx2/source/appl/appdata.cxx index 4a277865d830..c6fb631733b4 100644 --- a/sfx2/source/appl/appdata.cxx +++ b/sfx2/source/appl/appdata.cxx @@ -23,7 +23,6 @@ #include <svl/stritem.hxx> #include <vcl/menu.hxx> -#include <vcl/msgbox.hxx> #include <vcl/wrkwin.hxx> #include <comphelper/processfactory.hxx> diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx index 218fa03c3656..9879307d9830 100644 --- a/sfx2/source/appl/appinit.cxx +++ b/sfx2/source/appl/appinit.cxx @@ -36,7 +36,6 @@ #include <svl/intitem.hxx> #include <svl/eitem.hxx> #include <svl/stritem.hxx> -#include <vcl/msgbox.hxx> #include <svtools/ehdl.hxx> #include <comphelper/processfactory.hxx> #include <rtl/ustrbuf.hxx> diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx index 9027b173bcf8..1cf2df5630d1 100644 --- a/sfx2/source/appl/appmisc.cxx +++ b/sfx2/source/appl/appmisc.cxx @@ -21,7 +21,6 @@ #include <vcl/canvastools.hxx> #include <vcl/status.hxx> -#include <vcl/msgbox.hxx> #include <svl/whiter.hxx> #include <svl/stritem.hxx> #include <svl/intitem.hxx> diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx index 670d59a35cd6..ebe5b37de43c 100644 --- a/sfx2/source/appl/fileobj.cxx +++ b/sfx2/source/appl/fileobj.cxx @@ -18,7 +18,6 @@ */ #include <vcl/wrkwin.hxx> -#include <vcl/msgbox.hxx> #include <tools/urlobj.hxx> #include <tools/stream.hxx> #include <sot/formats.hxx> diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx index 4428f875bd08..280cd6da21c1 100644 --- a/sfx2/source/appl/impldde.cxx +++ b/sfx2/source/appl/impldde.cxx @@ -30,7 +30,7 @@ #include <vcl/fixed.hxx> #include <vcl/edit.hxx> #include <vcl/button.hxx> -#include <vcl/msgbox.hxx> +#include <vcl/dialog.hxx> #include <sot/exchange.hxx> #include <rtl/strbuf.hxx> #include <rtl/ustring.hxx> diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 61ef0588bf30..7f63abc6b860 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -96,7 +96,6 @@ #include <vcl/weld.hxx> #include <ucbhelper/content.hxx> -#include <vcl/msgbox.hxx> #include <vcl/waitobj.hxx> #include <unotools/ucbhelper.hxx> diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx index 0712e7cda534..0ad3d365efee 100644 --- a/sfx2/source/config/evntconf.cxx +++ b/sfx2/source/config/evntconf.cxx @@ -20,7 +20,6 @@ #include <memory> -#include <vcl/msgbox.hxx> #include <svl/lstner.hxx> #include <basic/basmgr.hxx> #include <basic/sbmod.hxx> diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index d2a30e25acdf..d9eb953e3ea9 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -33,7 +33,6 @@ #include <sfx2/filedlghelper.hxx> #include <sfx2/sfxresid.hxx> #include <sfx2/templatecontaineritem.hxx> -#include <vcl/msgbox.hxx> #include <vcl/toolbox.hxx> #include <vcl/menubtn.hxx> diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx index f08e26f702d7..ceeb43093272 100644 --- a/sfx2/source/dialog/basedlgs.cxx +++ b/sfx2/source/dialog/basedlgs.cxx @@ -25,7 +25,6 @@ #include <osl/file.hxx> #include <vcl/fixed.hxx> #include <vcl/help.hxx> -#include <vcl/msgbox.hxx> #include <svl/eitem.hxx> #include <unotools/viewoptions.hxx> #include <svtools/controldims.hxx> diff --git a/sfx2/source/dialog/checkin.cxx b/sfx2/source/dialog/checkin.cxx index 7998ea9a6819..60cd7e145cff 100644 --- a/sfx2/source/dialog/checkin.cxx +++ b/sfx2/source/dialog/checkin.cxx @@ -8,7 +8,6 @@ */ #include <sfx2/checkin.hxx> -#include <vcl/msgbox.hxx> SfxCheckinDialog::SfxCheckinDialog( vcl::Window* pParent ) : ModalDialog( pParent, "CheckinDialog", "sfx/ui/checkin.ui" ) diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index ea9cb326f8ee..9c8386746628 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -58,7 +58,6 @@ #include <osl/security.hxx> #include <osl/thread.hxx> #include <vcl/cvtgrf.hxx> -#include <vcl/msgbox.hxx> #include <vcl/mnemonic.hxx> #include <unotools/pathoptions.hxx> #include <unotools/saveopt.hxx> diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index bc40c3e83893..f7f29f4e0010 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -19,7 +19,6 @@ #include <comphelper/string.hxx> #include <vcl/weld.hxx> -#include <vcl/msgbox.hxx> #include <vcl/field.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> diff --git a/sfx2/source/dialog/printopt.cxx b/sfx2/source/dialog/printopt.cxx index 8b8538b92ee3..dd077ca8c832 100644 --- a/sfx2/source/dialog/printopt.cxx +++ b/sfx2/source/dialog/printopt.cxx @@ -19,7 +19,6 @@ #include <sal/macros.h> -#include <vcl/msgbox.hxx> #include <unotools/printwarningoptions.hxx> #include <svtools/printoptions.hxx> #include <svtools/restartdialog.hxx> diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx index a619c6595b6e..8cafb0ec0eba 100644 --- a/sfx2/source/dialog/styledlg.cxx +++ b/sfx2/source/dialog/styledlg.cxx @@ -19,7 +19,6 @@ #include <svl/whiter.hxx> #include <svl/style.hxx> -#include <vcl/msgbox.hxx> #include <sfx2/styledlg.hxx> #include <sfx2/mgetempl.hxx> diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 4dfc47a248f3..d24668bd59e2 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -38,7 +38,6 @@ #include <uitest/sfx_uiobject.hxx> #include <unotools/viewoptions.hxx> #include <vcl/builder.hxx> -#include <vcl/msgbox.hxx> #include <vcl/IDialogRenderable.hxx> #include <sfx2/strings.hrc> diff --git a/sfx2/source/dialog/versdlg.cxx b/sfx2/source/dialog/versdlg.cxx index f3d9715c26e2..2408eb5f9ba9 100644 --- a/sfx2/source/dialog/versdlg.cxx +++ b/sfx2/source/dialog/versdlg.cxx @@ -27,7 +27,6 @@ #include <svl/itemset.hxx> #include <unotools/useroptions.hxx> #include <vcl/layout.hxx> -#include <vcl/msgbox.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <tools/datetime.hxx> diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 916acba81659..63ce058f0a47 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -78,7 +78,6 @@ #include <unotools/streamhelper.hxx> #include <unotools/localedatawrapper.hxx> #include <utility> -#include <vcl/msgbox.hxx> #include <svl/stritem.hxx> #include <svl/eitem.hxx> #include <svl/lckbitem.hxx> diff --git a/sfx2/source/doc/docinsert.cxx b/sfx2/source/doc/docinsert.cxx index bdb083a58334..33ff0c1a1099 100644 --- a/sfx2/source/doc/docinsert.cxx +++ b/sfx2/source/doc/docinsert.cxx @@ -34,7 +34,6 @@ #include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <tools/urlobj.hxx> -#include <vcl/msgbox.hxx> #include <svl/itemset.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx index 1ec298ac3e52..136911e2cb13 100644 --- a/sfx2/source/doc/new.cxx +++ b/sfx2/source/doc/new.cxx @@ -22,7 +22,6 @@ #include <sfx2/new.hxx> #include <vcl/builderfactory.hxx> #include <vcl/layout.hxx> -#include <vcl/msgbox.hxx> #include <vcl/idle.hxx> #include <svtools/svmedit.hxx> #include <svl/itemset.hxx> diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 2d59f8fc6bbe..ef521b3475bc 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -62,7 +62,6 @@ #include <basic/sbuno.hxx> #include <basic/sbstar.hxx> #include <basic/basmgr.hxx> -#include <vcl/msgbox.hxx> #include <vcl/weld.hxx> #include <basic/sbx.hxx> #include <svtools/sfxecode.hxx> diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index 53ec4e2af9c6..872d8db6a91b 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -34,7 +34,6 @@ #include <com/sun/star/frame/XTitle.hpp> #include <osl/file.hxx> #include <rtl/instance.hxx> -#include <vcl/msgbox.hxx> #include <vcl/weld.hxx> #include <vcl/wrkwin.hxx> #include <vcl/svapp.hxx> diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index 605f7a1e90f1..3233464804b0 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -35,7 +35,6 @@ #include <tools/globname.hxx> #include <com/sun/star/awt/PosSize.hpp> #include <comphelper/processfactory.hxx> -#include <vcl/msgbox.hxx> #include <appdata.hxx> #include <sfx2/app.hxx> diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx index 5832ad9cd150..1036f63f872d 100644 --- a/sfx2/source/view/printer.cxx +++ b/sfx2/source/view/printer.cxx @@ -19,7 +19,6 @@ #include <vcl/virdev.hxx> #include <vcl/metric.hxx> -#include <vcl/msgbox.hxx> #include <unotools/printwarningoptions.hxx> #include <svtools/printoptions.hxx> diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index 827ec6237081..1b753c1b6a46 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -71,7 +71,6 @@ #include <toolkit/helper/convert.hxx> #include <framework/titlehelper.hxx> #include <comphelper/processfactory.hxx> -#include <vcl/msgbox.hxx> #include <sfx2/event.hxx> #include <sfx2/viewfac.hxx> diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 3b742b0a56d6..defb4a6d9f91 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -22,7 +22,6 @@ #include <svl/stritem.hxx> #include <svl/eitem.hxx> #include <svl/whiter.hxx> -#include <vcl/msgbox.hxx> #include <vcl/toolbox.hxx> #include <vcl/weld.hxx> #include <svl/intitem.hxx> |