[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Nov 25 14:41:11 UTC 2018
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(-)
New commits:
commit f4955d7b1879034513322f98eca027f3ee4bbc17
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Nov 24 16:00:03 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Nov 25 15:40:48 2018 +0100
drop unnecessary vcl/window.hxx includes in writer
Change-Id: I9bf20f2b4a20444f910738e42789b219efcf51fd
Reviewed-on: https://gerrit.libreoffice.org/63977
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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 <UndoDelete.hxx>
#include <UndoInsert.hxx>
#include <vcl/svapp.hxx>
-#include <vcl/window.hxx>
#include <vcl/graph.hxx>
#include <viscrs.hxx>
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 <ndtxt.hxx>
#include <flyfrm.hxx>
#include <breakit.hxx>
-#include <vcl/window.hxx>
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 <wrong.hxx>
#include <calbck.hxx>
#include <unotools/intlwrapper.hxx>
-#include <vcl/window.hxx>
#include <docufld.hxx>
#include <svx/srchdlg.hxx>
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 <com/sun/star/util/SearchResult.hpp>
#include <comphelper/lok.hxx>
#include <vcl/svapp.hxx>
-#include <vcl/window.hxx>
#include <svx/svdview.hxx>
#include <svl/srchitem.hxx>
#include <sfx2/sfxsids.hrc>
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 <float.h>
#include <hintids.hxx>
-#include <vcl/window.hxx>
#include <doc.hxx>
#include <IDocumentChartDataProviderAccess.hxx>
#include <IDocumentState.hxx>
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 <editeng/udlnitem.hxx>
#include <editeng/colritem.hxx>
#include <svx/xoutbmp.hxx>
-#include <vcl/window.hxx>
#include <fmturl.hxx>
#include <fmtsrnd.hxx>
#include <frmfmt.hxx>
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 <docary.hxx>
-#include <vcl/window.hxx>
#include <redline.hxx>
#include <doc.hxx>
#include <swundo.hxx>
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 <hints.hxx>
#include <vcl/svapp.hxx>
-#include <vcl/window.hxx>
#include <editeng/boxitem.hxx>
#include <swwait.hxx>
#include <fmtfsize.hxx>
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 <svl/itemiter.hxx>
#include <sfx2/printer.hxx>
#include <svx/svdobj.hxx>
-#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
#include <fmtanchr.hxx>
#include <fmtfsize.hxx>
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 <editeng/escapementitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/pgrditem.hxx>
-#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
#include <viewsh.hxx>
#include <viewopt.hxx>
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 <extinput.hxx>
#include <sfx2/printer.hxx>
-#include <vcl/window.hxx>
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 <hintids.hxx>
#include <vcl/metric.hxx>
-#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
#include <paratr.hxx>
#include <txtfrm.hxx>
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 <vcl/print.hxx>
#include <vcl/lineinfo.hxx>
#include <vcl/metric.hxx>
-#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
#include <vcl/lazydelete.hxx>
#include <com/sun/star/i18n/CharacterIteratorMode.hpp>
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 <editeng/boxitem.hxx>
#include <editeng/shaditem.hxx>
#include <IDocumentSettingAccess.hxx>
-#include <vcl/window.hxx>
#include <charatr.hxx>
#include <viewsh.hxx>
#include <swfont.hxx>
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 <sfx2/viewfrm.hxx>
#include <sfx2/dispatch.hxx>
-#include <vcl/window.hxx>
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 <sfx2/tabdlg.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/combobox.hxx>
-#include <vcl/button.hxx>
-#include <vcl/lstbox.hxx>
#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 <com/sun/star/i18n/BreakIterator.hpp>
#include <editeng/svxfont.hxx>
-
#include <sfx2/basedlgs.hxx>
-#include <sfx2/tabdlg.hxx>
#include <sfx2/printer.hxx>
-
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/field.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/lstbox.hxx>
+#include <sfx2/tabdlg.hxx>
#include <vcl/customweld.hxx>
-#include <com/sun/star/i18n/BreakIterator.hpp>
-
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 <svtools/svmedit.hxx>
#include <sfx2/tabdlg.hxx>
-
-#include <vcl/fixed.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/button.hxx>
#include <vcl/weld.hxx>
#include <vcl/customweld.hxx>
-
#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 <vcl/fixed.hxx>
-#include <vcl/button.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/field.hxx>
#include <sfx2/tabdlg.hxx>
+#include <svx/dialcontrol.hxx>
+#include <svx/frmdirlbox.hxx>
+#include <svx/swframeexample.hxx>
#include <svx/swframeposstrings.hxx>
+#include <globals.hrc>
#include <swtypes.hxx>
#include "bmpwin.hxx"
-#include <svx/swframeexample.hxx>
#include "prcntfld.hxx"
-#include <globals.hrc>
-#include <svx/dialcontrol.hxx>
-#include <svx/frmdirlbox.hxx>
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 <sfx2/tabdlg.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/field.hxx>
-#include <vcl/button.hxx>
// 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 <vcl/customweld.hxx>
-#include <vcl/window.hxx>
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 <editeng/editeng.hxx>
#include <editeng/editdata.hxx>
#include <editeng/outliner.hxx>
-#include <vcl/window.hxx>
#include <editeng/editview.hxx>
#include <vcl/outdev.hxx>
#include <editeng/hyphenzoneitem.hxx>
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 <sfx2/tabdlg.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/button.hxx>
-#include <vcl/lstbox.hxx>
#include <actctrl.hxx>
#include <prcntfld.hxx>
#include <swtypes.hxx>
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 <cmdid.h>
#include <uiitems.hxx>
-#include <vcl/window.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/request.hxx>
#include <sfx2/viewfrm.hxx>
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 <com/sun/star/text/HoriOrientation.hpp>
#include <vcl/window.hxx>
-
#include <swtypes.hxx>
#include <shdwcrsr.hxx>
More information about the Libreoffice-commits
mailing list