From f4955d7b1879034513322f98eca027f3ee4bbc17 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 24 Nov 2018 16:00:03 +0000 Subject: drop unnecessary vcl/window.hxx includes in writer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9bf20f2b4a20444f910738e42789b219efcf51fd Reviewed-on: https://gerrit.libreoffice.org/63977 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/core/bastyp/swtypes.cxx | 1 - sw/source/core/crsr/callnk.cxx | 1 - sw/source/core/crsr/crstrvl.cxx | 1 - sw/source/core/crsr/findtxt.cxx | 1 - sw/source/core/doc/docchart.cxx | 1 - sw/source/core/doc/notxtfrm.cxx | 1 - sw/source/core/edit/edredln.cxx | 1 - sw/source/core/edit/edtab.cxx | 1 - sw/source/core/text/itratr.cxx | 1 - sw/source/core/text/porrst.cxx | 1 - sw/source/core/text/redlnitr.cxx | 1 - sw/source/core/text/txtdrop.cxx | 1 - sw/source/core/txtnode/fntcache.cxx | 1 - sw/source/core/txtnode/swfont.cxx | 1 - sw/source/uibase/app/swwait.cxx | 1 - sw/source/uibase/inc/chrdlg.hxx | 5 ----- sw/source/uibase/inc/drpcps.hxx | 12 ++---------- sw/source/uibase/inc/envlop.hxx | 6 ------ sw/source/uibase/inc/frmpage.hxx | 12 ++++-------- sw/source/uibase/inc/numpara.hxx | 4 ---- sw/source/uibase/inc/numprevw.hxx | 1 - sw/source/uibase/shells/drwtxtex.cxx | 1 - sw/source/uibase/table/tablepg.hxx | 3 --- sw/source/uibase/uiview/viewcoll.cxx | 1 - sw/source/uibase/utlui/shdwcrsr.cxx | 1 - 25 files changed, 6 insertions(+), 55 deletions(-) (limited to 'sw/source') diff --git a/sw/source/core/bastyp/swtypes.cxx b/sw/source/core/bastyp/swtypes.cxx index 371371b586a1..7e83817497f1 100644 --- a/sw/source/core/bastyp/swtypes.cxx +++ b/sw/source/core/bastyp/swtypes.cxx @@ -41,7 +41,6 @@ #include #include #include -#include #include #include diff --git a/sw/source/core/crsr/callnk.cxx b/sw/source/core/crsr/callnk.cxx index 4b2e963dd9e0..0a49e268b453 100644 --- a/sw/source/core/crsr/callnk.cxx +++ b/sw/source/core/crsr/callnk.cxx @@ -35,7 +35,6 @@ #include #include #include -#include SwCallLink::SwCallLink( SwCursorShell & rSh ) : rShell( rSh ) diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx index 9a899ba19023..a4c774aa30df 100644 --- a/sw/source/core/crsr/crstrvl.cxx +++ b/sw/source/core/crsr/crstrvl.cxx @@ -68,7 +68,6 @@ #include #include #include -#include #include #include diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx index a238e571b370..ad7ec024ef4a 100644 --- a/sw/source/core/crsr/findtxt.cxx +++ b/sw/source/core/crsr/findtxt.cxx @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/source/core/doc/docchart.cxx b/sw/source/core/doc/docchart.cxx index 3d43e5a41a2a..2484c8ffe419 100644 --- a/sw/source/core/doc/docchart.cxx +++ b/sw/source/core/doc/docchart.cxx @@ -19,7 +19,6 @@ #include #include -#include #include #include #include diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx index 650adb6d7840..40a895586f2e 100644 --- a/sw/source/core/doc/notxtfrm.cxx +++ b/sw/source/core/doc/notxtfrm.cxx @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/source/core/edit/edredln.cxx b/sw/source/core/edit/edredln.cxx index e99aa5c36ae3..2eadec1494e0 100644 --- a/sw/source/core/edit/edredln.cxx +++ b/sw/source/core/edit/edredln.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/sw/source/core/edit/edtab.cxx b/sw/source/core/edit/edtab.cxx index c9432dd78015..ba028980c623 100644 --- a/sw/source/core/edit/edtab.cxx +++ b/sw/source/core/edit/edtab.cxx @@ -22,7 +22,6 @@ #include #include -#include #include #include #include diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx index 1ae7e8e23469..d870b4c5742b 100644 --- a/sw/source/core/text/itratr.cxx +++ b/sw/source/core/text/itratr.cxx @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/source/core/text/porrst.cxx b/sw/source/core/text/porrst.cxx index 07dbf9d1a261..5caa4d716c0a 100644 --- a/sw/source/core/text/porrst.cxx +++ b/sw/source/core/text/porrst.cxx @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/source/core/text/redlnitr.cxx b/sw/source/core/text/redlnitr.cxx index ecdd22eff44b..e73a478ce737 100644 --- a/sw/source/core/text/redlnitr.cxx +++ b/sw/source/core/text/redlnitr.cxx @@ -41,7 +41,6 @@ #include "redlnitr.hxx" #include #include -#include using namespace ::com::sun::star; diff --git a/sw/source/core/text/txtdrop.cxx b/sw/source/core/text/txtdrop.cxx index a19d7086f5ac..7f05cec97066 100644 --- a/sw/source/core/text/txtdrop.cxx +++ b/sw/source/core/text/txtdrop.cxx @@ -19,7 +19,6 @@ #include #include -#include #include #include #include diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index 7d5bcf66a9fa..c2eb371af994 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx index 5e8ea0651c38..33fefa32b833 100644 --- a/sw/source/core/txtnode/swfont.cxx +++ b/sw/source/core/txtnode/swfont.cxx @@ -50,7 +50,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/source/uibase/app/swwait.cxx b/sw/source/uibase/app/swwait.cxx index 10a49d6a98e3..dcffdb0c3b96 100644 --- a/sw/source/uibase/app/swwait.cxx +++ b/sw/source/uibase/app/swwait.cxx @@ -22,7 +22,6 @@ #include #include -#include SwWait::SwWait( SwDocShell &rDocShell, diff --git a/sw/source/uibase/inc/chrdlg.hxx b/sw/source/uibase/inc/chrdlg.hxx index a43ded227744..5b20909e163d 100644 --- a/sw/source/uibase/inc/chrdlg.hxx +++ b/sw/source/uibase/inc/chrdlg.hxx @@ -20,11 +20,6 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_CHRDLG_HXX #include -#include -#include -#include -#include -#include #include "chrdlgmodes.hxx" class SwView; diff --git a/sw/source/uibase/inc/drpcps.hxx b/sw/source/uibase/inc/drpcps.hxx index e3181e96ec09..a4c5fa94464b 100644 --- a/sw/source/uibase/inc/drpcps.hxx +++ b/sw/source/uibase/inc/drpcps.hxx @@ -19,21 +19,13 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_DRPCPS_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_DRPCPS_HXX +#include #include - #include -#include #include - -#include -#include -#include -#include -#include +#include #include -#include - class SwWrtShell; class SwDropCapsDlg : public SfxSingleTabDialogController diff --git a/sw/source/uibase/inc/envlop.hxx b/sw/source/uibase/inc/envlop.hxx index 6cae867948ca..30f9fc221f21 100644 --- a/sw/source/uibase/inc/envlop.hxx +++ b/sw/source/uibase/inc/envlop.hxx @@ -21,14 +21,8 @@ #include #include - -#include -#include -#include -#include #include #include - #include "envimg.hxx" #define GetFieldVal(rField) (rField).Denormalize((rField).GetValue(FieldUnit::TWIP)) diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx index a188ca676e38..0f50b3b7a022 100644 --- a/sw/source/uibase/inc/frmpage.hxx +++ b/sw/source/uibase/inc/frmpage.hxx @@ -20,19 +20,15 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_FRMPAGE_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_FRMPAGE_HXX -#include -#include -#include -#include #include +#include +#include +#include #include +#include #include #include "bmpwin.hxx" -#include #include "prcntfld.hxx" -#include -#include -#include namespace sfx2{class FileDialogHelper;} class SwWrtShell; diff --git a/sw/source/uibase/inc/numpara.hxx b/sw/source/uibase/inc/numpara.hxx index 282cf269e00f..0074dcad2e7e 100644 --- a/sw/source/uibase/inc/numpara.hxx +++ b/sw/source/uibase/inc/numpara.hxx @@ -20,10 +20,6 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_NUMPARA_HXX #include -#include -#include -#include -#include // with this TabPage numbering settings at the paragraph / paragraph style // are performed. diff --git a/sw/source/uibase/inc/numprevw.hxx b/sw/source/uibase/inc/numprevw.hxx index 6f74db1aa01c..a5510a6d454f 100644 --- a/sw/source/uibase/inc/numprevw.hxx +++ b/sw/source/uibase/inc/numprevw.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_NUMPREVW_HXX #include -#include class SwNumRule; namespace rtl { class OUString; } diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx index 7e0a8c0ead75..8a9ca5738e4d 100644 --- a/sw/source/uibase/shells/drwtxtex.cxx +++ b/sw/source/uibase/shells/drwtxtex.cxx @@ -67,7 +67,6 @@ #include #include #include -#include #include #include #include diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx index 4a5937d95c1b..fd39dd56a01b 100644 --- a/sw/source/uibase/table/tablepg.hxx +++ b/sw/source/uibase/table/tablepg.hxx @@ -19,9 +19,6 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_TABLE_TABLEPG_HXX #define INCLUDED_SW_SOURCE_UIBASE_TABLE_TABLEPG_HXX #include -#include -#include -#include #include #include #include diff --git a/sw/source/uibase/uiview/viewcoll.cxx b/sw/source/uibase/uiview/viewcoll.cxx index 4008af513055..3cc68306ab06 100644 --- a/sw/source/uibase/uiview/viewcoll.cxx +++ b/sw/source/uibase/uiview/viewcoll.cxx @@ -19,7 +19,6 @@ #include #include -#include #include #include #include diff --git a/sw/source/uibase/utlui/shdwcrsr.cxx b/sw/source/uibase/utlui/shdwcrsr.cxx index d3590523b299..a9238f3040b9 100644 --- a/sw/source/uibase/utlui/shdwcrsr.cxx +++ b/sw/source/uibase/utlui/shdwcrsr.cxx @@ -19,7 +19,6 @@ #include #include - #include #include -- cgit