summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-11-24 16:00:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-11-25 15:40:48 +0100
commitf4955d7b1879034513322f98eca027f3ee4bbc17 (patch)
treee045998228771ade73f5942642836b2d82888d67 /sw/source/uibase
parent3dacf98b70088e6435fb46c3e225bea35a451028 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/app/swwait.cxx1
-rw-r--r--sw/source/uibase/inc/chrdlg.hxx5
-rw-r--r--sw/source/uibase/inc/drpcps.hxx12
-rw-r--r--sw/source/uibase/inc/envlop.hxx6
-rw-r--r--sw/source/uibase/inc/frmpage.hxx12
-rw-r--r--sw/source/uibase/inc/numpara.hxx4
-rw-r--r--sw/source/uibase/inc/numprevw.hxx1
-rw-r--r--sw/source/uibase/shells/drwtxtex.cxx1
-rw-r--r--sw/source/uibase/table/tablepg.hxx3
-rw-r--r--sw/source/uibase/uiview/viewcoll.cxx1
-rw-r--r--sw/source/uibase/utlui/shdwcrsr.cxx1
11 files changed, 6 insertions, 41 deletions
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>