From 6256797dacfafaa573a67643440a3fe4e8128dca Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 26 Dec 2018 01:11:42 +0100 Subject: 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 --- svx/source/dialog/ClassificationEditView.cxx | 1 + svx/source/dialog/charmap.cxx | 1 + svx/source/dialog/dialcontrol.cxx | 2 ++ svx/source/dialog/framelinkarray.cxx | 1 + svx/source/dialog/frmsel.cxx | 2 ++ svx/source/dialog/measctrl.cxx | 1 + svx/source/dialog/rubydialog.cxx | 1 + svx/source/dialog/searchcharmap.cxx | 1 + svx/source/fmcomp/fmgridcl.cxx | 1 + svx/source/fmcomp/fmgridif.cxx | 1 + svx/source/fmcomp/gridcell.cxx | 1 + svx/source/fmcomp/gridctrl.cxx | 1 + svx/source/form/fmexch.cxx | 1 + svx/source/form/fmscriptingenv.cxx | 1 + svx/source/form/fmtextcontrolshell.cxx | 1 + svx/source/sdr/contact/objectcontactofobjlistpainter.cxx | 1 + svx/source/sdr/contact/sdrmediawindow.cxx | 1 + svx/source/sdr/contact/viewcontactofgroup.cxx | 1 + svx/source/sdr/properties/pageproperties.cxx | 1 + svx/source/sidebar/possize/SidebarDialControl.cxx | 1 + svx/source/stbctrls/insctrl.cxx | 1 + svx/source/stbctrls/modctrl.cxx | 2 ++ svx/source/stbctrls/zoomsliderctrl.cxx | 1 + svx/source/svdraw/svdmrkv.cxx | 1 + svx/source/svdraw/svdsnpv.cxx | 1 + svx/source/svdraw/textchaincursor.cxx | 1 + svx/source/table/tablecontroller.cxx | 1 + svx/source/tbxctrls/tbunocontroller.cxx | 1 + svx/source/unodraw/UnoNamespaceMap.cxx | 1 - svx/source/unodraw/unopool.cxx | 1 + svx/source/xoutdev/_xoutbmp.cxx | 1 + svx/source/xoutdev/xtable.cxx | 1 + 32 files changed, 34 insertions(+), 1 deletion(-) (limited to 'svx/source') diff --git a/svx/source/dialog/ClassificationEditView.cxx b/svx/source/dialog/ClassificationEditView.cxx index 99989843fa45..ea0002897da5 100644 --- a/svx/source/dialog/ClassificationEditView.cxx +++ b/svx/source/dialog/ClassificationEditView.cxx @@ -12,6 +12,7 @@ #include #include +#include #include #include #include diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index db400f99c9a2..c43c1f819651 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index 0d9c51023985..95c68ce17ccd 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -23,10 +23,12 @@ #include #include #include +#include #include #include #include #include +#include #include namespace svx { diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx index 0281c0300bfd..3d61a9d1810d 100644 --- a/svx/source/dialog/framelinkarray.cxx +++ b/svx/source/dialog/framelinkarray.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx index ce7233371857..c33336b07605 100644 --- a/svx/source/dialog/frmsel.cxx +++ b/svx/source/dialog/frmsel.cxx @@ -19,7 +19,9 @@ #include #include +#include #include +#include #include #include diff --git a/svx/source/dialog/measctrl.cxx b/svx/source/dialog/measctrl.cxx index 1e641d6b5d42..eb9d4011da2d 100644 --- a/svx/source/dialog/measctrl.cxx +++ b/svx/source/dialog/measctrl.cxx @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 452ae7fc3dcc..d2d681334cc1 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include diff --git a/svx/source/dialog/searchcharmap.cxx b/svx/source/dialog/searchcharmap.cxx index 61e6eaaa8712..228f50c88788 100644 --- a/svx/source/dialog/searchcharmap.cxx +++ b/svx/source/dialog/searchcharmap.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index acd329d5ceca..b4f42480eb48 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -62,6 +62,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 155eba15e46e..534c608811de 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -54,6 +54,7 @@ #include #include #include +#include #include #include diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index ae61518d539d..1d9e7eec9326 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -65,6 +65,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 0ff3ff4df8e6..10b8de7b4d1b 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/form/fmexch.cxx b/svx/source/form/fmexch.cxx index 940f1f9c5dac..fd9c1ee677b2 100644 --- a/svx/source/form/fmexch.cxx +++ b/svx/source/form/fmexch.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index edc281665a95..88ce72814899 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -33,6 +33,7 @@ #include #include +#include #include #include #include diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index bb419edcc9da..810f18f08b27 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -59,6 +59,7 @@ #include #include #include +#include #include diff --git a/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx b/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx index cd1c49457bfe..850547c9cf83 100644 --- a/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx +++ b/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include namespace sdr { namespace contact { diff --git a/svx/source/sdr/contact/sdrmediawindow.cxx b/svx/source/sdr/contact/sdrmediawindow.cxx index 891b0c084123..a804a1423ac1 100644 --- a/svx/source/sdr/contact/sdrmediawindow.cxx +++ b/svx/source/sdr/contact/sdrmediawindow.cxx @@ -24,6 +24,7 @@ #include #include #include +#include namespace sdr { namespace contact { diff --git a/svx/source/sdr/contact/viewcontactofgroup.cxx b/svx/source/sdr/contact/viewcontactofgroup.cxx index 38afca26ff65..3aa1b9302b08 100644 --- a/svx/source/sdr/contact/viewcontactofgroup.cxx +++ b/svx/source/sdr/contact/viewcontactofgroup.cxx @@ -27,6 +27,7 @@ #include #include #include +#include namespace sdr diff --git a/svx/source/sdr/properties/pageproperties.cxx b/svx/source/sdr/properties/pageproperties.cxx index 51e11fa4c419..9e4706fcf72d 100644 --- a/svx/source/sdr/properties/pageproperties.cxx +++ b/svx/source/sdr/properties/pageproperties.cxx @@ -25,6 +25,7 @@ #include #include #include +#include namespace sdr diff --git a/svx/source/sidebar/possize/SidebarDialControl.cxx b/svx/source/sidebar/possize/SidebarDialControl.cxx index 502f959f39e7..ee2923c3cedd 100644 --- a/svx/source/sidebar/possize/SidebarDialControl.cxx +++ b/svx/source/sidebar/possize/SidebarDialControl.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include diff --git a/svx/source/stbctrls/insctrl.cxx b/svx/source/stbctrls/insctrl.cxx index dc3bb8222dbd..f77577e2bc3f 100644 --- a/svx/source/stbctrls/insctrl.cxx +++ b/svx/source/stbctrls/insctrl.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx index d057314eda35..1faddf461c23 100644 --- a/svx/source/stbctrls/modctrl.cxx +++ b/svx/source/stbctrls/modctrl.cxx @@ -21,8 +21,10 @@ #include #include #include +#include #include #include +#include #include #include diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx index b54490cc4ce1..52ffa75d8762 100644 --- a/svx/source/stbctrls/zoomsliderctrl.cxx +++ b/svx/source/stbctrls/zoomsliderctrl.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index 42926e718100..4c9dfcc6dce7 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -57,6 +57,7 @@ #include #include #include +#include using namespace com::sun::star; diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx index 77100d37d6fc..81292e8be5f7 100644 --- a/svx/source/svdraw/svdsnpv.cxx +++ b/svx/source/svdraw/svdsnpv.cxx @@ -32,6 +32,7 @@ #include #include #include +#include class ImplPageOriginOverlay diff --git a/svx/source/svdraw/textchaincursor.cxx b/svx/source/svdraw/textchaincursor.cxx index d6d1f4de2894..117d6ddeeb5a 100644 --- a/svx/source/svdraw/textchaincursor.cxx +++ b/svx/source/svdraw/textchaincursor.cxx @@ -21,6 +21,7 @@ #include #include #include +#include // XXX: Possible duplication of code in behavior with stuff in ImpEditView (or ImpEditEngine) and OutlinerView diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 2a6dd212be91..581f6e8f754f 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -69,6 +69,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx index 18b22663e2c0..07402ebef464 100644 --- a/svx/source/tbxctrls/tbunocontroller.cxx +++ b/svx/source/tbxctrls/tbunocontroller.cxx @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx index bc68a44329a1..88049ce4d914 100644 --- a/svx/source/unodraw/UnoNamespaceMap.cxx +++ b/svx/source/unodraw/UnoNamespaceMap.cxx @@ -37,7 +37,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::container; using namespace ::com::sun::star::drawing; using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::beans; namespace svx { diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx index aa1976335718..80cccf7e51d9 100644 --- a/svx/source/unodraw/unopool.cxx +++ b/svx/source/unodraw/unopool.cxx @@ -34,6 +34,7 @@ #include #include #include +#include #include #include diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx index 9b9f28944771..be113900d941 100644 --- a/svx/source/xoutdev/_xoutbmp.cxx +++ b/svx/source/xoutdev/_xoutbmp.cxx @@ -22,6 +22,7 @@ #include #include +#include #include #include #include diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx index 13b7ce1c2918..a4ae1c9a368b 100644 --- a/svx/source/xoutdev/xtable.cxx +++ b/svx/source/xoutdev/xtable.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include using namespace com::sun::star; -- cgit