From a01a5bd9bce5c7ac9c2954e9f35f57a5bbcff77a Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 29 Dec 2019 23:40:36 +0100 Subject: tdf#42949 Fix IWYU warnings in sw/source/uibase/[i-t]*/*cxx Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I53139566ff41c8ee748945b39cd70b66fed8dc97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85973 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sw/IwyuFilter_sw.yaml | 108 +++++++++++++++++++++ sw/source/uibase/index/idxmrk.cxx | 19 ---- sw/source/uibase/index/toxmgr.cxx | 2 - sw/source/uibase/lingu/hhcwrp.cxx | 7 -- sw/source/uibase/lingu/hyp.cxx | 6 -- sw/source/uibase/lingu/olmenu.cxx | 21 ---- sw/source/uibase/lingu/sdrhhcwrap.cxx | 12 --- sw/source/uibase/misc/glosdoc.cxx | 2 - sw/source/uibase/misc/glshell.cxx | 5 - sw/source/uibase/misc/numberingtypelistbox.cxx | 4 - sw/source/uibase/misc/redlndlg.cxx | 4 - sw/source/uibase/misc/swruler.cxx | 3 - sw/source/uibase/ribbar/concustomshape.cxx | 10 -- sw/source/uibase/ribbar/conform.cxx | 2 - sw/source/uibase/ribbar/conpoly.cxx | 5 +- sw/source/uibase/ribbar/conrect.cxx | 3 - sw/source/uibase/ribbar/drawbase.cxx | 4 +- sw/source/uibase/ribbar/dselect.cxx | 1 - sw/source/uibase/ribbar/inputwin.cxx | 4 - sw/source/uibase/ribbar/workctrl.cxx | 8 -- sw/source/uibase/shells/annotsh.cxx | 26 ----- sw/source/uibase/shells/basesh.cxx | 23 ----- sw/source/uibase/shells/beziersh.cxx | 5 - sw/source/uibase/shells/drawdlg.cxx | 9 -- sw/source/uibase/shells/drawsh.cxx | 10 -- sw/source/uibase/shells/drformsh.cxx | 8 -- sw/source/uibase/shells/drwbassh.cxx | 9 -- sw/source/uibase/shells/drwtxtex.cxx | 19 ---- sw/source/uibase/shells/drwtxtsh.cxx | 10 -- sw/source/uibase/shells/frmsh.cxx | 18 +--- sw/source/uibase/shells/grfsh.cxx | 20 +--- sw/source/uibase/shells/grfshex.cxx | 18 ---- sw/source/uibase/shells/langhelper.cxx | 5 +- sw/source/uibase/shells/listsh.cxx | 15 --- sw/source/uibase/shells/mediash.cxx | 31 ------ sw/source/uibase/shells/navsh.cxx | 7 -- sw/source/uibase/shells/olesh.cxx | 7 -- sw/source/uibase/shells/slotadd.cxx | 10 -- sw/source/uibase/shells/tabsh.cxx | 10 +- sw/source/uibase/shells/textdrw.cxx | 2 - sw/source/uibase/shells/textfld.cxx | 24 +---- sw/source/uibase/shells/textidx.cxx | 6 -- sw/source/uibase/shells/textsh.cxx | 34 +------ sw/source/uibase/shells/textsh1.cxx | 29 ------ sw/source/uibase/shells/textsh2.cxx | 13 +-- sw/source/uibase/shells/txtattr.cxx | 6 -- sw/source/uibase/shells/txtcrsr.cxx | 5 - sw/source/uibase/shells/txtnum.cxx | 4 - sw/source/uibase/sidebar/PageColumnControl.cxx | 4 - sw/source/uibase/sidebar/PageFooterPanel.cxx | 8 -- sw/source/uibase/sidebar/PageFormatPanel.cxx | 5 - sw/source/uibase/sidebar/PageHeaderPanel.cxx | 8 -- sw/source/uibase/sidebar/PageMarginControl.cxx | 5 - sw/source/uibase/sidebar/PageMarginPopup.cxx | 1 - .../uibase/sidebar/PageOrientationControl.cxx | 2 - sw/source/uibase/sidebar/PageSizeControl.cxx | 2 - sw/source/uibase/sidebar/PageStylesPanel.cxx | 8 -- sw/source/uibase/sidebar/StylePresetsPanel.cxx | 13 --- sw/source/uibase/sidebar/SwPanelFactory.cxx | 2 - sw/source/uibase/sidebar/TableEditPanel.cxx | 1 - sw/source/uibase/sidebar/ThemePanel.cxx | 14 --- sw/source/uibase/sidebar/WrapPropertyPanel.cxx | 4 - sw/source/uibase/table/chartins.cxx | 9 -- sw/source/uibase/table/swtablerep.cxx | 30 +----- sw/source/uibase/table/tablemgr.cxx | 7 -- 65 files changed, 122 insertions(+), 614 deletions(-) diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml index f20dd464f00c..a6c19e9d05c8 100644 --- a/sw/IwyuFilter_sw.yaml +++ b/sw/IwyuFilter_sw.yaml @@ -608,3 +608,111 @@ blacklist: sw/source/uibase/dochdl/swdtflvr.cxx: # OSL_BIGENDIAN is being checked - osl/endian.h + sw/source/uibase/shells/basesh.cxx: + # Actually used + - comphelper/scopeguard.hxx + sw/source/uibase/shells/slotadd.cxx: + # Needed for swslots.hxx + - config_options.h + - cmdid.h + - unomid.h + - svx/unomid.hxx + - svl/globalnameitem.hxx + - editeng/memberids.h + - svl/imageitm.hxx + - svl/rectitem.hxx + - sfx2/objitem.hxx + - sfx2/objsh.hxx + - svx/rulritem.hxx + - sfx2/zoomitem.hxx + - svx/viewlayoutitem.hxx + - svx/zoomslideritem.hxx + - svx/hlnkitem.hxx + - svx/SmartTagItem.hxx + - svl/ptitem.hxx + - svx/pageitem.hxx + - svl/srchitem.hxx + - sfx2/tplpitem.hxx + - sfx2/watermarkitem.hxx + - editeng/wrlmitem.hxx + - editeng/protitem.hxx + - editeng/opaqitem.hxx + - editeng/tstpitem.hxx + - editeng/autokernitem.hxx + - editeng/keepitem.hxx + - editeng/kernitem.hxx + - editeng/spltitem.hxx + - editeng/brushitem.hxx + - editeng/wghtitem.hxx + - editeng/shaditem.hxx + - editeng/pbinitem.hxx + - editeng/ulspitem.hxx + - editeng/prntitem.hxx + - editeng/orphitem.hxx + - editeng/widwitem.hxx + - editeng/lineitem.hxx + - editeng/pmdlitem.hxx + - editeng/cmapitem.hxx + - editeng/langitem.hxx + - editeng/formatbreakitem.hxx + - editeng/hyphenzoneitem.hxx + - editeng/escapementitem.hxx + - editeng/lspcitem.hxx + - editeng/adjustitem.hxx + - editeng/crossedoutitem.hxx + - editeng/fontitem.hxx + - editeng/shdditem.hxx + - editeng/udlnitem.hxx + - editeng/postitem.hxx + - editeng/fhgtitem.hxx + - editeng/contouritem.hxx + - editeng/colritem.hxx + - editeng/boxitem.hxx + - editeng/sizeitem.hxx + - editeng/lrspitem.hxx + - svx/xlnstit.hxx + - svx/xlnedit.hxx + - svx/xfillit0.hxx + - svx/xflclit.hxx + - svx/xflgrit.hxx + - svx/xflhtit.hxx + - svx/xbtmpit.hxx + - svx/xlineit0.hxx + - svx/xlnwtit.hxx + - svx/xlndsit.hxx + - svx/xlnclit.hxx + - svx/xtextit0.hxx + - svx/xftadit.hxx + - svx/xftdiit.hxx + - svx/xftstit.hxx + - svx/xftmrit.hxx + - svx/xftouit.hxx + - svx/xftshit.hxx + - svx/xftshcit.hxx + - svx/xftshxy.hxx + - svx/grafctrl.hxx + - paratr.hxx + - fmtinfmt.hxx + - fmtsrnd.hxx + - envimg.hxx + - fmtline.hxx + - svx/clipfmtitem.hxx + - editeng/blinkitem.hxx + - svl/slstitm.hxx + - editeng/paravertalignitem.hxx + - editeng/charreliefitem.hxx + - editeng/charrotateitem.hxx + - editeng/charscaleitem.hxx + - svx/postattr.hxx + - sfx2/frame.hxx + - svx/chrtitem.hxx + - svx/drawitem.hxx + - svx/xflftrit.hxx + - svx/xlncapit.hxx + - svx/xlinjoit.hxx + - svx/galleryitem.hxx + - sfx2/msg.hxx + sw/source/uibase/shells/textsh.cxx: + # Needed for defines in swslots.hxx + - globals.hrc + diff --git a/sw/source/uibase/index/idxmrk.cxx b/sw/source/uibase/index/idxmrk.cxx index a4f4f631c753..a6deaa821b9a 100644 --- a/sw/source/uibase/index/idxmrk.cxx +++ b/sw/source/uibase/index/idxmrk.cxx @@ -17,28 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include -#include -#include -#include -#include -#include -#include #include -#include #include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include SFX_IMPL_CHILDWINDOW_WITHID(SwInsertIdxMarkWrapper, FN_INSERT_IDX_ENTRY_DLG) diff --git a/sw/source/uibase/index/toxmgr.cxx b/sw/source/uibase/index/toxmgr.cxx index 0c594c51e0cc..53223fc91ff1 100644 --- a/sw/source/uibase/index/toxmgr.cxx +++ b/sw/source/uibase/index/toxmgr.cxx @@ -18,14 +18,12 @@ */ #include -#include #include #include #include #include #include #include -#include // handle indexes with TOXMgr SwTOXMgr::SwTOXMgr(SwWrtShell* pShell): diff --git a/sw/source/uibase/lingu/hhcwrp.cxx b/sw/source/uibase/lingu/hhcwrp.cxx index f110c5f5fe7a..168f6246a33c 100644 --- a/sw/source/uibase/lingu/hhcwrp.cxx +++ b/sw/source/uibase/lingu/hhcwrp.cxx @@ -21,10 +21,8 @@ #include #include #include -#include #include -#include #include #include #include @@ -39,15 +37,10 @@ #include #include #include -#include #include #include #include -#include - -#include - using namespace ::com::sun::star; using namespace ::com::sun::star::text; using namespace ::com::sun::star::uno; diff --git a/sw/source/uibase/lingu/hyp.cxx b/sw/source/uibase/lingu/hyp.cxx index e26333e8d481..d7d0c87a5bc4 100644 --- a/sw/source/uibase/lingu/hyp.cxx +++ b/sw/source/uibase/lingu/hyp.cxx @@ -17,24 +17,18 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include #include -#include #include #include -#include #include #include #include #include -#include #include -#include - #include #define PSH (&pView->GetWrtShell()) diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index 97053459853f..8098a6a4c7fd 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -21,25 +21,16 @@ #include #include #include -#include #include #include -#include #include -#include #include #include -#include #include #include #include -#include -#include #include -#include #include -#include -#include #include #include @@ -47,43 +38,31 @@ #include #include #include -#include #include -#include #include #include -#include #include -#include #include -#include #include #include -#include #include #include #include #include -#include #include #include #include #include #include -#include -#include #include #include -#include #include -#include #include #include #include #include -#include #include #include #include diff --git a/sw/source/uibase/lingu/sdrhhcwrap.cxx b/sw/source/uibase/lingu/sdrhhcwrap.cxx index bd7b43e377e7..d21ffaa24209 100644 --- a/sw/source/uibase/lingu/sdrhhcwrap.cxx +++ b/sw/source/uibase/lingu/sdrhhcwrap.cxx @@ -17,23 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include #include -#include #include -#include #include -#include -#include -#include -#include #include -#include -#include #include #include "sdrhhcwrap.hxx" -#include #include #include #include @@ -41,7 +30,6 @@ #include #include #include -#include #include using namespace ::com::sun::star; diff --git a/sw/source/uibase/misc/glosdoc.cxx b/sw/source/uibase/misc/glosdoc.cxx index 69a2df2237cc..868158732834 100644 --- a/sw/source/uibase/misc/glosdoc.cxx +++ b/sw/source/uibase/misc/glosdoc.cxx @@ -32,14 +32,12 @@ #include #include #include -#include #include #include #include #include #include -#include #include diff --git a/sw/source/uibase/misc/glshell.cxx b/sw/source/uibase/misc/glshell.cxx index 174913cfddc2..c84545422bad 100644 --- a/sw/source/uibase/misc/glshell.cxx +++ b/sw/source/uibase/misc/glshell.cxx @@ -22,16 +22,12 @@ #include #include #include -#include -#include #include #include #include -#include #include #include -#include #include #include #include @@ -43,7 +39,6 @@ #include #include #include -#include #include #define ShellClass_SwWebGlosDocShell diff --git a/sw/source/uibase/misc/numberingtypelistbox.cxx b/sw/source/uibase/misc/numberingtypelistbox.cxx index 36e4787aec91..d484cce5dd3a 100644 --- a/sw/source/uibase/misc/numberingtypelistbox.cxx +++ b/sw/source/uibase/misc/numberingtypelistbox.cxx @@ -18,19 +18,15 @@ */ #include -#include #include #include #include #include #include #include -#include #include #include -#include - using namespace com::sun::star; struct SwNumberingTypeListBox_Impl diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx index e746b7357b07..86da5fa73df2 100644 --- a/sw/source/uibase/misc/redlndlg.cxx +++ b/sw/source/uibase/misc/redlndlg.cxx @@ -45,12 +45,8 @@ #include #include -#include -#include #include -#include - #include #include diff --git a/sw/source/uibase/misc/swruler.cxx b/sw/source/uibase/misc/swruler.cxx index d500ce3006d2..1cf12719c3d3 100644 --- a/sw/source/uibase/misc/swruler.cxx +++ b/sw/source/uibase/misc/swruler.cxx @@ -16,14 +16,11 @@ #include #include #include -#include #include #include #include -#include #include #include -#include #include #include #include diff --git a/sw/source/uibase/ribbar/concustomshape.cxx b/sw/source/uibase/ribbar/concustomshape.cxx index 2c5564ecd0a2..a90652f1b6ef 100644 --- a/sw/source/uibase/ribbar/concustomshape.cxx +++ b/sw/source/uibase/ribbar/concustomshape.cxx @@ -17,23 +17,13 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include -#include #include #include -#include -#include -#include #include -#include #include -#include -#include #include #include #include -#include #include #include #include diff --git a/sw/source/uibase/ribbar/conform.cxx b/sw/source/uibase/ribbar/conform.cxx index 88fefd1fefd9..a61a0d725312 100644 --- a/sw/source/uibase/ribbar/conform.cxx +++ b/sw/source/uibase/ribbar/conform.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include -#include #include #include diff --git a/sw/source/uibase/ribbar/conpoly.cxx b/sw/source/uibase/ribbar/conpoly.cxx index 39da4b60fba8..481722734702 100644 --- a/sw/source/uibase/ribbar/conpoly.cxx +++ b/sw/source/uibase/ribbar/conpoly.cxx @@ -17,17 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include -#include #include +#include #include #include #include #include #include -#include ConstPolygon::ConstPolygon(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* pSwView) : SwDrawBase(pWrtShell, pEditWin, pSwView) diff --git a/sw/source/uibase/ribbar/conrect.cxx b/sw/source/uibase/ribbar/conrect.cxx index bd4bec4d9832..3484c4a557c7 100644 --- a/sw/source/uibase/ribbar/conrect.cxx +++ b/sw/source/uibase/ribbar/conrect.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include @@ -28,13 +27,11 @@ #include #include #include -#include #include #include #include #include #include -#include #include #include diff --git a/sw/source/uibase/ribbar/drawbase.cxx b/sw/source/uibase/ribbar/drawbase.cxx index 5c9d714ce175..f2b13d8d1372 100644 --- a/sw/source/uibase/ribbar/drawbase.cxx +++ b/sw/source/uibase/ribbar/drawbase.cxx @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -30,14 +29,13 @@ #include #include #include -#include #include #include #include #include -#include #include #include +#include #include #include diff --git a/sw/source/uibase/ribbar/dselect.cxx b/sw/source/uibase/ribbar/dselect.cxx index c06b134c38bb..a70583fda5dc 100644 --- a/sw/source/uibase/ribbar/dselect.cxx +++ b/sw/source/uibase/ribbar/dselect.cxx @@ -19,7 +19,6 @@ #include #include -#include #include #include #include diff --git a/sw/source/uibase/ribbar/inputwin.cxx b/sw/source/uibase/ribbar/inputwin.cxx index 1c278137cb16..cc1bc1705050 100644 --- a/sw/source/uibase/ribbar/inputwin.cxx +++ b/sw/source/uibase/ribbar/inputwin.cxx @@ -27,17 +27,14 @@ #include #include #include -#include #include #include -#include #include #include #include #include #include -#include #include #include #include @@ -52,7 +49,6 @@ #include #include -#include #include diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx index 6ca3ce946f71..65f1f48acf0e 100644 --- a/sw/source/uibase/ribbar/workctrl.cxx +++ b/sw/source/uibase/ribbar/workctrl.cxx @@ -17,20 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include -#include -#include #include #include -#include #include #include #include -#include #include #include -#include #include #include #include @@ -39,7 +33,6 @@ #include #include #include -#include #include #include #include @@ -50,7 +43,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index e6478adf3292..c62232e2aee1 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -27,12 +27,10 @@ #include #include -#include #include #include #include #include -#include #include #include #include @@ -51,47 +49,30 @@ #include #include #include -#include #include #include #include #include -#include #include -#include #include -#include -#include #include #include #include #include #include -#include #include #include #include -#include #include -#include #include #include #include #include -#include #include -#include -#include -#include -#include -#include #include -#include -#include #include #include -#include #include #include #include @@ -102,22 +83,16 @@ #include #include -#include -#include #include #include #include -#include #include #include -#include -#include #include #include -#include #include #include @@ -125,7 +100,6 @@ #include -#include #include using namespace ::com::sun::star; diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index e5dbc9f9eb3a..252d432e8558 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -22,21 +22,15 @@ #include #include -#include #include -#include #include #include #include #include -#include #include #include #include #include -#include -#include -#include #include #include #include @@ -44,21 +38,16 @@ #include #include #include -#include #include #include #include #include #include #include -#include -#include -#include #include #include #include #include -#include #include #include #include @@ -74,9 +63,6 @@ #include #include #include -#include -#include -#include #include #include #include @@ -84,27 +70,20 @@ #include #include #include -#include #include #include #include -#include #include #include -#include #include -#include #include -#include #include #include #include #include #include -#include #include #include -#include #include #include #include @@ -115,8 +94,6 @@ #include -#include -#include #include #include diff --git a/sw/source/uibase/shells/beziersh.cxx b/sw/source/uibase/shells/beziersh.cxx index 35e2afcec1ac..4764decede3b 100644 --- a/sw/source/uibase/shells/beziersh.cxx +++ b/sw/source/uibase/shells/beziersh.cxx @@ -19,11 +19,9 @@ #include #include -#include #include #include #include -#include #include #include #include @@ -33,15 +31,12 @@ #include #include #include -#include #include #include #define ShellClass_SwBezierShell #include #include -#include - SFX_IMPL_INTERFACE(SwBezierShell, SwBaseShell) void SwBezierShell::InitInterface_Impl() diff --git a/sw/source/uibase/shells/drawdlg.cxx b/sw/source/uibase/shells/drawdlg.cxx index 0437340ebf98..78c49e0e5488 100644 --- a/sw/source/uibase/shells/drawdlg.cxx +++ b/sw/source/uibase/shells/drawdlg.cxx @@ -17,17 +17,13 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include #include #include -#include -#include #include #include -#include #include #include @@ -39,12 +35,7 @@ #include #include #include -#include #include -#include -#include - -#include using namespace com::sun::star::drawing; diff --git a/sw/source/uibase/shells/drawsh.cxx b/sw/source/uibase/shells/drawsh.cxx index d1b72f12ca82..958a38b2a39a 100644 --- a/sw/source/uibase/shells/drawsh.cxx +++ b/sw/source/uibase/shells/drawsh.cxx @@ -26,8 +26,6 @@ #include #include #include -#include -#include #include #include #include @@ -35,16 +33,11 @@ #include #include #include -#include #include #include -#include -#include -#include #include #include -#include #include #include #include @@ -52,12 +45,10 @@ #include #include #include -#include #include #include #include -#include #include #include #include @@ -65,7 +56,6 @@ #define ShellClass_SwDrawShell #include #include -#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/source/uibase/shells/drformsh.cxx b/sw/source/uibase/shells/drformsh.cxx index d34a3d667dfd..2e2f5fd5210b 100644 --- a/sw/source/uibase/shells/drformsh.cxx +++ b/sw/source/uibase/shells/drformsh.cxx @@ -17,18 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include #include #include #include -#include #include #include #include -#include -#include #include #include #include @@ -37,10 +33,8 @@ #include #include -#include #include #include -#include #include #include #include @@ -52,8 +46,6 @@ #include #include -#include - using namespace ::com::sun::star; SFX_IMPL_INTERFACE(SwDrawFormShell, SwDrawBaseShell) diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx index 12d87bab691b..cb44b8955e31 100644 --- a/sw/source/uibase/shells/drwbassh.cxx +++ b/sw/source/uibase/shells/drwbassh.cxx @@ -23,13 +23,10 @@ #include #include #include -#include #include -#include #include #include #include -#include #include #include #include @@ -41,26 +38,20 @@ #include #include #include -#include #include #include #include -#include -#include #include #define ShellClass_SwDrawBaseShell #include -#include #include #include -#include #include #include #include #include #include #include -#include #include using namespace ::com::sun::star; diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx index c63f96eb563c..120c6a162004 100644 --- a/sw/source/uibase/shells/drwtxtex.cxx +++ b/sw/source/uibase/shells/drwtxtex.cxx @@ -21,7 +21,6 @@ #include #include -#include #include #include #include @@ -40,12 +39,9 @@ #include #include #include -#include #include #include -#include #include -#include #include #include #include @@ -54,50 +50,35 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include -#include #include -#include #include #include #include -#include #include #include #include -#include #include #include -#include #include #include -#include #include #include -#include #include -#include #include #include -#include -#include -#include #include -#include #include #include #include #include -#include #include #include diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx index 674ed73378bf..23e4728f6a5a 100644 --- a/sw/source/uibase/shells/drwtxtsh.cxx +++ b/sw/source/uibase/shells/drwtxtsh.cxx @@ -22,15 +22,12 @@ #include #include #include -#include #include -#include #include #include #include #include #include -#include #include #include #include @@ -54,13 +51,10 @@ #include #include #include -#include #include -#include #include #include -#include #define ShellClass_SwDrawTextShell #include @@ -68,13 +62,9 @@ #include #include #include -#include #include #include -#include -#include #include -#include #include #include diff --git a/sw/source/uibase/shells/frmsh.cxx b/sw/source/uibase/shells/frmsh.cxx index 324dcdec9ea8..7a5a63011b01 100644 --- a/sw/source/uibase/shells/frmsh.cxx +++ b/sw/source/uibase/shells/frmsh.cxx @@ -21,13 +21,8 @@ #include #include -#include -#include -#include -#include #include #include -#include #include #include #include @@ -35,7 +30,6 @@ #include #include #include -#include #include #include #include @@ -55,29 +49,19 @@ #include #include #include -#include #include #include #include #include -#include -#include -#include #include #include -#include -#include -#include +#include #include -#include -#include #include #include -#include #include -#include #include #include diff --git a/sw/source/uibase/shells/grfsh.cxx b/sw/source/uibase/shells/grfsh.cxx index 0b417f441e76..1d91400926a3 100644 --- a/sw/source/uibase/shells/grfsh.cxx +++ b/sw/source/uibase/shells/grfsh.cxx @@ -23,51 +23,36 @@ #include #include #include +#include #include -#include #include #include #include -#include #include #include -#include #include -#include -#include -#include -#include -#include -#include #include #include #include #include -#include #include #include -#include #include #include #include #include -#include #include #include #include #include #include -#include #include #include -#include -#include #include #include #include #include #include -#include #include #define ShellClass_SwGrfShell @@ -77,9 +62,6 @@ #include #include -#include -#include - #define TOOLBOX_NAME "colorbar" class SwGrfShell::SwExternalToolEdit diff --git a/sw/source/uibase/shells/grfshex.cxx b/sw/source/uibase/shells/grfshex.cxx index 95237f233af4..5cd0e1cc58a0 100644 --- a/sw/source/uibase/shells/grfshex.cxx +++ b/sw/source/uibase/shells/grfshex.cxx @@ -17,38 +17,20 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include #include #include #include -#include -#include -#include -#include -#include #include #include #include #include -#include -#include -#include #include -#include -#include -#include #include #include #include #include #include -#include - -// -> #111827# -#include -// <- #111827# using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/source/uibase/shells/langhelper.cxx b/sw/source/uibase/shells/langhelper.cxx index 32a6cb1a5793..90904b37dcdc 100644 --- a/sw/source/uibase/shells/langhelper.cxx +++ b/sw/source/uibase/shells/langhelper.cxx @@ -27,15 +27,14 @@ #include #include -#include #include +#include #include #include #include #include #include #include -#include #include #include @@ -49,8 +48,6 @@ #include #include -#include - #include #include diff --git a/sw/source/uibase/shells/listsh.cxx b/sw/source/uibase/shells/listsh.cxx index 723a231ce0fd..1beb2bf489a9 100644 --- a/sw/source/uibase/shells/listsh.cxx +++ b/sw/source/uibase/shells/listsh.cxx @@ -18,32 +18,17 @@ */ #include -#include -#include -#include -#include #include #include #include #include -#include #include #include -#include -#include -#include #include -#include #include -#include -#include -#include -#include #include -#include #include -#include #define ShellClass_SwListShell #include diff --git a/sw/source/uibase/shells/mediash.cxx b/sw/source/uibase/shells/mediash.cxx index 44ee00225128..932b2feb6529 100644 --- a/sw/source/uibase/shells/mediash.cxx +++ b/sw/source/uibase/shells/mediash.cxx @@ -18,42 +18,12 @@ */ #include -#include -#include #include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include #include #include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include #include #include @@ -64,7 +34,6 @@ #define ShellClass_SwMediaShell #include #include -#include #include SFX_IMPL_INTERFACE(SwMediaShell, SwBaseShell) diff --git a/sw/source/uibase/shells/navsh.cxx b/sw/source/uibase/shells/navsh.cxx index cb3c7370722d..b5b9021cc1ac 100644 --- a/sw/source/uibase/shells/navsh.cxx +++ b/sw/source/uibase/shells/navsh.cxx @@ -9,21 +9,14 @@ #include #include -#include -#include #include -#include #include -#include #include #include #include -#include -#include #include #define ShellClass_SwNavigationShell #include -#include #include SFX_IMPL_INTERFACE(SwNavigationShell, SwBaseShell) diff --git a/sw/source/uibase/shells/olesh.cxx b/sw/source/uibase/shells/olesh.cxx index c688072f9094..b8207d200c94 100644 --- a/sw/source/uibase/shells/olesh.cxx +++ b/sw/source/uibase/shells/olesh.cxx @@ -17,19 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include #include -#include #include -#include #include -#include #include #include -#include - #define ShellClass_SwOleShell #include #include diff --git a/sw/source/uibase/shells/slotadd.cxx b/sw/source/uibase/shells/slotadd.cxx index 9f29aa6a8e58..a4f4fe72e9b7 100644 --- a/sw/source/uibase/shells/slotadd.cxx +++ b/sw/source/uibase/shells/slotadd.cxx @@ -19,8 +19,6 @@ #include -#include -#include #include #include #include @@ -28,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -79,7 +76,6 @@ #include #include #include -#include #include #include #include @@ -102,15 +98,10 @@ #include #include -#include #include #include -#include #include #include -#include -#include -#include #include #include #include @@ -130,7 +121,6 @@ #include #include #include -#include #include #define SFX_TYPEMAP diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx index 2c292bd9b72e..9ee2f5784703 100644 --- a/sw/source/uibase/shells/tabsh.cxx +++ b/sw/source/uibase/shells/tabsh.cxx @@ -22,15 +22,12 @@ #include #include #include -#include -#include #include #include #include #include #include #include -#include #include #include #include @@ -38,8 +35,6 @@ #include #include #include -#include -#include #include #include #include @@ -53,7 +48,6 @@ #include #include -#include #include #include #include @@ -64,7 +58,6 @@ #include #include #include -#include #include #include #include @@ -74,11 +67,10 @@ #include #include #include +#include -#include #include #include -#include #include #define ShellClass_SwTableShell diff --git a/sw/source/uibase/shells/textdrw.cxx b/sw/source/uibase/shells/textdrw.cxx index c495e9b1b7aa..0303576e2fd6 100644 --- a/sw/source/uibase/shells/textdrw.cxx +++ b/sw/source/uibase/shells/textdrw.cxx @@ -37,8 +37,6 @@ #include #include -#include - using namespace ::com::sun::star; void SwBaseShell::InsertURLButton(const OUString& rURL, const OUString& rTarget, const OUString& rText) diff --git a/sw/source/uibase/shells/textfld.cxx b/sw/source/uibase/shells/textfld.cxx index c65d5d65da6a..a025187c8d75 100644 --- a/sw/source/uibase/shells/textfld.cxx +++ b/sw/source/uibase/shells/textfld.cxx @@ -19,18 +19,14 @@ #include #include -#include #include #include -#include -#include -#include +#include #include #include #include #include #include -#include #include #include #include @@ -39,45 +35,27 @@ #include #include #include -#include -#include -#include -#include #include #include #include #include #include #include -#include -#include -#include #include -#include #include -#include #include -#include #include #include #include #include -#include -#include #include #include #include -#include -#include #include -#include -#include #include -#include #include #include #include -#include #include #include #include diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx index 53b5fa1969f2..8247dbdbfbb9 100644 --- a/sw/source/uibase/shells/textidx.cxx +++ b/sw/source/uibase/shells/textidx.cxx @@ -20,9 +20,7 @@ #include #include #include -#include #include -#include #include #include #include @@ -31,14 +29,10 @@ #include #include #include -#include #include #include -#include #include #include -#include -#include void SwTextShell::ExecIdx(SfxRequest const &rReq) { diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx index 35e589e3b961..ef1341d078bc 100644 --- a/sw/source/uibase/shells/textsh.cxx +++ b/sw/source/uibase/shells/textsh.cxx @@ -22,35 +22,24 @@ #include #include #include -#include +#include #include #include -#include #include -#include -#include -#include +#include +#include #include #include #include -#include #include -#include -#include -#include -#include -#include #include #include -#include #include -#include #include #include #include #include -#include #include #include #include @@ -61,7 +50,6 @@ #include #include #include -#include #include #include #include @@ -77,36 +65,24 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include #include #include -#include #include -#include #include +#include #define ShellClass_SwTextShell #include #include #include #include +#include using namespace ::com::sun::star; #include -#include #include -#include #include #include #include diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index a8e329b806b4..104bd7dbf999 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -22,29 +22,21 @@ #include #include -#include #include #include #include -#include -#include #include #include -#include -#include #include #include #include #include -#include -#include #include #include #include #include #include -#include #include #include #include @@ -55,39 +47,26 @@ #include #include #include -#include #include #include -#include #include #include #include #include #include -#include -#include #include #include #include -#include -#include -#include #include #include #include -#include #include #include -#include -#include #include #include #include -#include #include -#include #include -#include #include #include #include @@ -95,34 +74,26 @@ #include #include #include -#include #include -#include #include #include #include -#include #include #include #include #include #include -#include #include #include #include -#include #include #include #include #include -#include #include #include #include -#include #include -#include #include #include #include diff --git a/sw/source/uibase/shells/textsh2.cxx b/sw/source/uibase/shells/textsh2.cxx index 1dbcf1639fc2..0438d42aa3b1 100644 --- a/sw/source/uibase/shells/textsh2.cxx +++ b/sw/source/uibase/shells/textsh2.cxx @@ -17,12 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include - -#include -#include -#include -#include +#include #include #include #include @@ -43,14 +38,8 @@ #include #include #include -#include #include #include -#include - -#include - -#include using namespace ::svx; using namespace ::com::sun::star; diff --git a/sw/source/uibase/shells/txtattr.cxx b/sw/source/uibase/shells/txtattr.cxx index c7fb5cc28965..839e7f760e47 100644 --- a/sw/source/uibase/shells/txtattr.cxx +++ b/sw/source/uibase/shells/txtattr.cxx @@ -21,9 +21,7 @@ #include #include -#include #include -#include #include #include #include @@ -39,16 +37,13 @@ #include #include #include -#include #include -#include #include #include #include #include #include -#include #include #include @@ -56,7 +51,6 @@ #include #include #include -#include #include const sal_uInt32 nFontInc = 40; // 2pt diff --git a/sw/source/uibase/shells/txtcrsr.cxx b/sw/source/uibase/shells/txtcrsr.cxx index 17f8d74c6042..4ca50d6dab4e 100644 --- a/sw/source/uibase/shells/txtcrsr.cxx +++ b/sw/source/uibase/shells/txtcrsr.cxx @@ -23,27 +23,22 @@ #include #include -#include #include #include #include #include #include -#include #include #include #include #include -#include #include #include #include #include -#include -#include using namespace ::com::sun::star; diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx index 91efc3e2b8bc..3b2fb5ab1457 100644 --- a/sw/source/uibase/shells/txtnum.cxx +++ b/sw/source/uibase/shells/txtnum.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include #include @@ -32,14 +31,11 @@ #include #include #include -#include #include #include -#include #include #include #include -#include #include #include #include diff --git a/sw/source/uibase/sidebar/PageColumnControl.cxx b/sw/source/uibase/sidebar/PageColumnControl.cxx index 5ad207982059..6532472e5a9e 100644 --- a/sw/source/uibase/sidebar/PageColumnControl.cxx +++ b/sw/source/uibase/sidebar/PageColumnControl.cxx @@ -21,16 +21,12 @@ #include "PageColumnControl.hxx" #include -#include -#include #include #include #include #include -#include #include -#include namespace sw { namespace sidebar { diff --git a/sw/source/uibase/sidebar/PageFooterPanel.cxx b/sw/source/uibase/sidebar/PageFooterPanel.cxx index a08e527d158e..b9d60703b6ba 100644 --- a/sw/source/uibase/sidebar/PageFooterPanel.cxx +++ b/sw/source/uibase/sidebar/PageFooterPanel.cxx @@ -17,22 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include -#include #include #include -#include -#include -#include #include #include #include #include "PageFooterPanel.hxx" -#include #include #include -#include -#include -#include #include #include diff --git a/sw/source/uibase/sidebar/PageFormatPanel.cxx b/sw/source/uibase/sidebar/PageFormatPanel.cxx index 5ffc7f2f7eeb..8a237f049ced 100644 --- a/sw/source/uibase/sidebar/PageFormatPanel.cxx +++ b/sw/source/uibase/sidebar/PageFormatPanel.cxx @@ -22,23 +22,18 @@ #include #include #include -#include #include #include #include #include "PageFormatPanel.hxx" #include "PageMarginUtils.hxx" -#include #include #include #include -#include #include #include #include #include -#include -#include #include #include #include diff --git a/sw/source/uibase/sidebar/PageHeaderPanel.cxx b/sw/source/uibase/sidebar/PageHeaderPanel.cxx index f0c06d5511f4..ffa0e2f07272 100644 --- a/sw/source/uibase/sidebar/PageHeaderPanel.cxx +++ b/sw/source/uibase/sidebar/PageHeaderPanel.cxx @@ -17,22 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include -#include #include #include -#include -#include -#include #include #include #include #include "PageHeaderPanel.hxx" -#include #include #include -#include -#include -#include #include #include diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx index 4d66d901569a..69aa012d7340 100644 --- a/sw/source/uibase/sidebar/PageMarginControl.cxx +++ b/sw/source/uibase/sidebar/PageMarginControl.cxx @@ -20,8 +20,6 @@ #include #include -#include - #include "PageMarginControl.hxx" #include @@ -30,7 +28,6 @@ #include #include #include -#include #include #include #include @@ -45,8 +42,6 @@ #include #include -#include - #define SWPAGE_LEFT_GVALUE "Sw_Page_Left" #define SWPAGE_RIGHT_GVALUE "Sw_Page_Right" #define SWPAGE_TOP_GVALUE "Sw_Page_Top" diff --git a/sw/source/uibase/sidebar/PageMarginPopup.cxx b/sw/source/uibase/sidebar/PageMarginPopup.cxx index 91536cce9470..29a27c3106d8 100644 --- a/sw/source/uibase/sidebar/PageMarginPopup.cxx +++ b/sw/source/uibase/sidebar/PageMarginPopup.cxx @@ -18,7 +18,6 @@ */ #include #include "PageMarginControl.hxx" -#include #include SFX_IMPL_TOOLBOX_CONTROL(PageMarginPopup, SfxVoidItem); diff --git a/sw/source/uibase/sidebar/PageOrientationControl.cxx b/sw/source/uibase/sidebar/PageOrientationControl.cxx index 9d9caa418b1d..14403f660a80 100644 --- a/sw/source/uibase/sidebar/PageOrientationControl.cxx +++ b/sw/source/uibase/sidebar/PageOrientationControl.cxx @@ -23,11 +23,9 @@ #include #include -#include #include #include #include -#include #include namespace { diff --git a/sw/source/uibase/sidebar/PageSizeControl.cxx b/sw/source/uibase/sidebar/PageSizeControl.cxx index ae224e062925..cd38ccf29953 100644 --- a/sw/source/uibase/sidebar/PageSizeControl.cxx +++ b/sw/source/uibase/sidebar/PageSizeControl.cxx @@ -21,8 +21,6 @@ #include "PageSizeControl.hxx" #include -#include -#include #include #include diff --git a/sw/source/uibase/sidebar/PageStylesPanel.cxx b/sw/source/uibase/sidebar/PageStylesPanel.cxx index dfb4bf41099f..4ca5ba227d42 100644 --- a/sw/source/uibase/sidebar/PageStylesPanel.cxx +++ b/sw/source/uibase/sidebar/PageStylesPanel.cxx @@ -17,14 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include -#include #include -#include -#include -#include #include -#include -#include #include #include #include @@ -33,10 +27,8 @@ #include #include #include "PageStylesPanel.hxx" -#include #include #include -#include #include #include diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx index 2e83338d6f1a..add7d794ccf7 100644 --- a/sw/source/uibase/sidebar/StylePresetsPanel.cxx +++ b/sw/source/uibase/sidebar/StylePresetsPanel.cxx @@ -12,25 +12,13 @@ #include "StylePresetsPanel.hxx" -#include -#include - -#include -#include -#include -#include #include #include #include -#include -#include -#include -#include #include #include -#include #include #include @@ -38,7 +26,6 @@ #include #include -#include #include namespace sw { namespace sidebar { diff --git a/sw/source/uibase/sidebar/SwPanelFactory.cxx b/sw/source/uibase/sidebar/SwPanelFactory.cxx index 4c7f28e1753e..91697e1d7ad0 100644 --- a/sw/source/uibase/sidebar/SwPanelFactory.cxx +++ b/sw/source/uibase/sidebar/SwPanelFactory.cxx @@ -31,10 +31,8 @@ #include #include -#include #include #include -#include #include #include #include diff --git a/sw/source/uibase/sidebar/TableEditPanel.cxx b/sw/source/uibase/sidebar/TableEditPanel.cxx index c8c0bf0cec55..a363fc6bddf3 100644 --- a/sw/source/uibase/sidebar/TableEditPanel.cxx +++ b/sw/source/uibase/sidebar/TableEditPanel.cxx @@ -18,7 +18,6 @@ #include #include #include -#include #include diff --git a/sw/source/uibase/sidebar/ThemePanel.cxx b/sw/source/uibase/sidebar/ThemePanel.cxx index d2f6e64cd08b..88c8239ee7b6 100644 --- a/sw/source/uibase/sidebar/ThemePanel.cxx +++ b/sw/source/uibase/sidebar/ThemePanel.cxx @@ -12,25 +12,11 @@ #include "ThemePanel.hxx" -#include -#include - -#include -#include -#include -#include - -#include -#include -#include -#include #include #include #include -#include -#include #include #include #include diff --git a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx index f87afb188735..5475806390e7 100644 --- a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx +++ b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx @@ -20,16 +20,12 @@ #include "WrapPropertyPanel.hxx" #include -#include #include -#include #include #include #include -#include #include #include -#include #include #include #include diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx index c83cc1982986..b9e5f1e5103b 100644 --- a/sw/source/uibase/table/chartins.cxx +++ b/sw/source/uibase/table/chartins.cxx @@ -19,12 +19,9 @@ #include #include -#include #include #include -#include -#include #include #include #include @@ -32,20 +29,14 @@ #include #include #include -#include -#include #include -#include #include #include #include -#include - #include -#include #include #include #include diff --git a/sw/source/uibase/table/swtablerep.cxx b/sw/source/uibase/table/swtablerep.cxx index 78248cf00b9e..97e8522335a2 100644 --- a/sw/source/uibase/table/swtablerep.cxx +++ b/sw/source/uibase/table/swtablerep.cxx @@ -17,37 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include -#include -#include -#include -#include -#include - +#include #include "tablepg.hxx" -#include -#include -#include -#include -#include #include #include diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx index 313cec6df5de..77adc6b2e716 100644 --- a/sw/source/uibase/table/tablemgr.cxx +++ b/sw/source/uibase/table/tablemgr.cxx @@ -25,28 +25,21 @@ #include #include -#include #include #include #include #include #include -#include -#include #include -#include #include #include #include -#include -#include #include #include #include #include #include -#include #include -- cgit