diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-12-26 01:11:42 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-07 09:13:14 +0100 |
commit | 6256797dacfafaa573a67643440a3fe4e8128dca (patch) | |
tree | 73bb6fb0ba68a3dc15858d3161e20c3e9e0fd921 /svtools | |
parent | 892a5cfe557edb405ec0037676f02a1c24dd76ec (diff) |
tdf#42949 Fix IWYU warnings in include/vcl/[v-x]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I98f49765c6b74808dcbd692e0f375dd2848fcfd4
Reviewed-on: https://gerrit.libreoffice.org/65614
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svtools')
26 files changed, 27 insertions, 0 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx index aafa43cf8bdf..5c834f768bc7 100644 --- a/svtools/source/brwbox/ebbcontrols.cxx +++ b/svtools/source/brwbox/ebbcontrols.cxx @@ -20,6 +20,7 @@ #include <vcl/decoview.hxx> #include <vcl/fmtfield.hxx> #include <vcl/xtextedt.hxx> +#include <vcl/textview.hxx> #include <algorithm> diff --git a/svtools/source/brwbox/editbrowsebox2.cxx b/svtools/source/brwbox/editbrowsebox2.cxx index 5b12a94c634a..7ea589dc3993 100644 --- a/svtools/source/brwbox/editbrowsebox2.cxx +++ b/svtools/source/brwbox/editbrowsebox2.cxx @@ -26,6 +26,7 @@ #include <vcl/svtaccessiblefactory.hxx> #include <vcl/accessiblefactory.hxx> #include <osl/diagnose.h> +#include <tools/debug.hxx> namespace svt { diff --git a/svtools/source/contnr/iconviewimpl.cxx b/svtools/source/contnr/iconviewimpl.cxx index 0ffe52386b5b..804dc06db627 100644 --- a/svtools/source/contnr/iconviewimpl.cxx +++ b/svtools/source/contnr/iconviewimpl.cxx @@ -20,6 +20,7 @@ #include <vcl/svapp.hxx> #include <svtools/iconview.hxx> #include <iconviewimpl.hxx> +#include <tools/debug.hxx> IconViewImpl::IconViewImpl( SvTreeListBox* pTreeListBox, SvTreeList* pTreeList, WinBits nWinStyle ) : SvImpLBox( pTreeListBox, pTreeList, nWinStyle ) diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx index 82d027d2fdf7..c178f6fcd01d 100644 --- a/svtools/source/contnr/ivctrl.cxx +++ b/svtools/source/contnr/ivctrl.cxx @@ -26,6 +26,7 @@ #include <vcl/mnemonic.hxx> #include <vcl/settings.hxx> #include <vcl/commandevent.hxx> +#include <vcl/vclevent.hxx> using namespace ::com::sun::star::accessibility; diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx index 0b4eff95f86f..22f2fa25f828 100644 --- a/svtools/source/contnr/simptabl.cxx +++ b/svtools/source/contnr/simptabl.cxx @@ -23,6 +23,7 @@ #include <vcl/builderfactory.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> +#include <vcl/event.hxx> #include <uitest/uiobject.hxx> SvSimpleTableContainer::SvSimpleTableContainer(vcl::Window* pParent, WinBits nBits) diff --git a/svtools/source/control/autocmpledit.cxx b/svtools/source/control/autocmpledit.cxx index 8bffcd166eb4..9c60a830c10d 100644 --- a/svtools/source/control/autocmpledit.cxx +++ b/svtools/source/control/autocmpledit.cxx @@ -9,6 +9,7 @@ #include <svtools/autocmpledit.hxx> #include <vcl/svapp.hxx> +#include <vcl/event.hxx> AutocompleteEdit::AutocompleteEdit( vcl::Window* pParent ) : Edit( pParent ) diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index baf324e9b071..1f1fdad135a6 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -26,6 +26,7 @@ #include <vcl/button.hxx> #include <vcl/fixed.hxx> #include <vcl/settings.hxx> +#include <vcl/event.hxx> #include <vcl/commandevent.hxx> #include <comphelper/processfactory.hxx> #include <unotools/calendarwrapper.hxx> diff --git a/svtools/source/control/fileurlbox.cxx b/svtools/source/control/fileurlbox.cxx index 6033efad980b..eeec4958ce53 100644 --- a/svtools/source/control/fileurlbox.cxx +++ b/svtools/source/control/fileurlbox.cxx @@ -20,6 +20,7 @@ #include <svtools/fileurlbox.hxx> #include <osl/file.h> #include <svl/filenotation.hxx> +#include <vcl/event.hxx> namespace svt diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index bcd14d5b6eee..460d0354123c 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -46,6 +46,7 @@ #include <osl/file.hxx> #include <osl/mutex.hxx> #include <vcl/builderfactory.hxx> +#include <vcl/event.hxx> #include <vcl/svapp.hxx> #include <vcl/toolbox.hxx> #include <unotools/historyoptions.hxx> diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index d380523ca7aa..33330e425d32 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -21,6 +21,7 @@ #include <tools/debug.hxx> #include <vcl/svapp.hxx> #include <tools/poly.hxx> +#include <vcl/event.hxx> #include <vcl/i18nhelp.hxx> #include <vcl/settings.hxx> #include <sal/log.hxx> diff --git a/svtools/source/control/scrwin.cxx b/svtools/source/control/scrwin.cxx index 3b3901f48f82..d503ff5928fc 100644 --- a/svtools/source/control/scrwin.cxx +++ b/svtools/source/control/scrwin.cxx @@ -20,6 +20,7 @@ #include <svtools/scrwin.hxx> #include <vcl/settings.hxx> #include <vcl/commandevent.hxx> +#include <vcl/event.hxx> ScrollableWindow::ScrollableWindow( vcl::Window* pParent ) : diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 430523330bb6..9185f903d106 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -27,6 +27,7 @@ #include <vcl/decoview.hxx> #include <vcl/button.hxx> #include <vcl/edit.hxx> +#include <vcl/event.hxx> #include <vcl/image.hxx> #include <vcl/settings.hxx> #include <vcl/commandevent.hxx> diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index 76de7e8534b9..197f4db2e4e8 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -32,6 +32,7 @@ #include <vcl/toolbox.hxx> #include <vcl/settings.hxx> #include <vcl/commandevent.hxx> +#include <vcl/event.hxx> #include <svtools/framestatuslistener.hxx> #include <svtools/valueset.hxx> diff --git a/svtools/source/control/toolbarmenuacc.cxx b/svtools/source/control/toolbarmenuacc.cxx index 611654ae5986..ec1f941e1c71 100644 --- a/svtools/source/control/toolbarmenuacc.cxx +++ b/svtools/source/control/toolbarmenuacc.cxx @@ -27,6 +27,7 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> +#include <tools/debug.hxx> #include <svtools/toolbarmenu.hxx> diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index 4341dfceda7a..9191d5a5c539 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -21,6 +21,7 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <sal/log.hxx> +#include <tools/debug.hxx> #include <svtools/valueset.hxx> #include "valueimp.hxx" #include <comphelper/servicehelper.hxx> diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx index b7baf49b85cb..f6ce79dd2f3c 100644 --- a/svtools/source/dialogs/prnsetup.cxx +++ b/svtools/source/dialogs/prnsetup.cxx @@ -22,6 +22,7 @@ #include <svtools/svtresid.hxx> #include <vcl/svapp.hxx> #include <vcl/print.hxx> +#include <vcl/event.hxx> #include <sal/log.hxx> void ImplFillPrnDlgListBox( const Printer* pPrinter, diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx index a1931000377c..997f46edae7f 100644 --- a/svtools/source/dialogs/wizdlg.cxx +++ b/svtools/source/dialogs/wizdlg.cxx @@ -18,6 +18,7 @@ */ #include <osl/diagnose.h> +#include <vcl/event.hxx> #include <vcl/fixed.hxx> #include <vcl/button.hxx> #include <vcl/tabpage.hxx> diff --git a/svtools/source/edit/editsyntaxhighlighter.cxx b/svtools/source/edit/editsyntaxhighlighter.cxx index 22b64c740772..f189cec85609 100644 --- a/svtools/source/edit/editsyntaxhighlighter.cxx +++ b/svtools/source/edit/editsyntaxhighlighter.cxx @@ -19,7 +19,9 @@ #include <svtools/svmedit.hxx> +#include <vcl/event.hxx> #include <vcl/xtextedt.hxx> +#include <vcl/textview.hxx> #include <vcl/builderfactory.hxx> #include <svtools/editsyntaxhighlighter.hxx> #include <vcl/txtattr.hxx> diff --git a/svtools/source/edit/svmedit2.cxx b/svtools/source/edit/svmedit2.cxx index 86ccf9b8737f..4687d2535867 100644 --- a/svtools/source/edit/svmedit2.cxx +++ b/svtools/source/edit/svmedit2.cxx @@ -20,6 +20,7 @@ #include <svtools/svmedit2.hxx> #include <vcl/xtextedt.hxx> +#include <vcl/textview.hxx> ExtMultiLineEdit::ExtMultiLineEdit( vcl::Window* pParent, WinBits nWinStyle ) : MultiLineEdit( pParent, nWinStyle ) diff --git a/svtools/source/hatchwindow/ipwin.cxx b/svtools/source/hatchwindow/ipwin.cxx index 20d49a243516..bcbe6d7805e2 100644 --- a/svtools/source/hatchwindow/ipwin.cxx +++ b/svtools/source/hatchwindow/ipwin.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/accessibility/AccessibleRole.hpp> +#include <vcl/event.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> diff --git a/svtools/source/misc/dialogcontrolling.cxx b/svtools/source/misc/dialogcontrolling.cxx index b3f0ed3c8cb9..f0bf61cf3a6b 100644 --- a/svtools/source/misc/dialogcontrolling.cxx +++ b/svtools/source/misc/dialogcontrolling.cxx @@ -20,6 +20,7 @@ #include <svtools/dialogcontrolling.hxx> #include <vcl/window.hxx> #include <osl/diagnose.h> +#include <tools/debug.hxx> #include <algorithm> diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx index fdf904a6d2fd..2da0c1a1255d 100644 --- a/svtools/source/misc/embedhlp.cxx +++ b/svtools/source/misc/embedhlp.cxx @@ -52,6 +52,7 @@ #include <cppuhelper/implbase.hxx> #include <vcl/svapp.hxx> #include <tools/diagnose_ex.h> +#include <tools/debug.hxx> #include <memory> using namespace com::sun::star; diff --git a/svtools/source/misc/unitconv.cxx b/svtools/source/misc/unitconv.cxx index 1d3e40cdcebc..4f2cb9c8fda4 100644 --- a/svtools/source/misc/unitconv.cxx +++ b/svtools/source/misc/unitconv.cxx @@ -18,6 +18,7 @@ */ #include <svtools/unitconv.hxx> +#include <tools/debug.hxx> void SetFieldUnit(weld::MetricSpinButton& rField, FieldUnit eUnit, bool bAll) { diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx index 65b7da3e7317..b045394cfb38 100644 --- a/svtools/source/svhtml/htmlout.cxx +++ b/svtools/source/svhtml/htmlout.cxx @@ -32,6 +32,7 @@ #include <vcl/imappoly.hxx> #include <svl/urihelper.hxx> #include <rtl/character.hxx> +#include <tools/debug.hxx> #include <sstream> diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx index 89c02e1075c9..1e3338adc612 100644 --- a/svtools/source/table/tablecontrol.cxx +++ b/svtools/source/table/tablecontrol.cxx @@ -30,6 +30,7 @@ #include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <vcl/settings.hxx> +#include <vcl/vclevent.hxx> using namespace ::com::sun::star::uno; using ::com::sun::star::accessibility::XAccessible; diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx index 9dda651250c9..752f2816c98b 100644 --- a/svtools/source/table/tablecontrol_impl.cxx +++ b/svtools/source/table/tablecontrol_impl.cxx @@ -38,6 +38,7 @@ #include <rtl/ref.hxx> #include <vcl/image.hxx> #include <tools/diagnose_ex.h> +#include <tools/debug.hxx> #include <cstdlib> #include <functional> |