[Libreoffice-commits] core.git: sc/IwyuFilter_sc.yaml sc/source sd/source svx/source sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon May 13 11:57:56 UTC 2019


 sc/IwyuFilter_sc.yaml                           |    3 ---
 sc/source/filter/orcus/xmlcontext.cxx           |    2 --
 sc/source/ui/condformat/condformatdlg.cxx       |    3 +--
 sc/source/ui/condformat/condformatdlgentry.cxx  |    1 +
 sc/source/ui/dbgui/PivotLayoutTreeList.cxx      |    2 --
 sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx  |    2 --
 sc/source/ui/dbgui/PivotLayoutTreeListData.cxx  |    2 --
 sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx |    2 --
 sc/source/ui/dbgui/filtdlg.cxx                  |    3 ++-
 sc/source/ui/dbgui/sfiltdlg.cxx                 |    3 ++-
 sc/source/ui/dialogs/searchresults.cxx          |    3 ---
 sc/source/ui/inc/condformatdlgentry.hxx         |    3 ---
 sc/source/ui/inc/consdlg.hxx                    |    2 --
 sc/source/ui/inc/dbnamdlg.hxx                   |    5 -----
 sc/source/ui/inc/filtdlg.hxx                    |    3 ---
 sc/source/ui/inc/namemgrtable.hxx               |    1 -
 sc/source/ui/inc/validate.hxx                   |    3 ---
 sc/source/ui/inc/xmlsourcedlg.hxx               |    5 -----
 sc/source/ui/miscdlgs/acredlin.cxx              |    1 -
 sc/source/ui/miscdlgs/anyrefdg.cxx              |    3 ---
 sc/source/ui/miscdlgs/crnrdlg.cxx               |    3 +--
 sc/source/ui/miscdlgs/highred.cxx               |    2 --
 sc/source/ui/namedlg/namemgrtable.cxx           |    2 --
 sc/source/ui/pagedlg/areasdlg.cxx               |    2 +-
 sc/source/ui/pagedlg/tphf.cxx                   |    1 -
 sc/source/ui/view/cellsh1.cxx                   |    1 +
 sc/source/ui/view/gridwin.cxx                   |    1 +
 sc/source/ui/xmlsource/xmlsourcedlg.cxx         |    3 ---
 sd/source/ui/inc/tpaction.hxx                   |    2 --
 svx/source/dialog/ctredlin.cxx                  |    5 +----
 sw/source/ui/chrdlg/break.cxx                   |    1 -
 sw/source/ui/envelp/labprt.hxx                  |    3 ---
 sw/source/ui/misc/insfnote.cxx                  |    1 -
 sw/source/ui/misc/swmodalredlineacceptdlg.cxx   |    1 -
 sw/source/uibase/inc/instable.hxx               |    5 -----
 sw/source/uibase/inc/wordcountdialog.hxx        |    2 --
 sw/source/uibase/misc/redlndlg.cxx              |    2 --
 37 files changed, 11 insertions(+), 78 deletions(-)

New commits:
commit 00ae441bc7265b203e0ae2b95f14f7312172540d
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun May 12 21:40:25 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon May 13 13:57:14 2019 +0200

    drop some unneeded includes
    
    Change-Id: I3c9a3b73c099b70bdbd6b16688e83ee01231a27e
    Reviewed-on: https://gerrit.libreoffice.org/72204
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/IwyuFilter_sc.yaml b/sc/IwyuFilter_sc.yaml
index 43bbdc561c04..2508c5b6f78e 100644
--- a/sc/IwyuFilter_sc.yaml
+++ b/sc/IwyuFilter_sc.yaml
@@ -512,9 +512,6 @@ blacklist:
     sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:
     # base class has to be a complete type
     - viewdata.hxx
-    sc/source/ui/inc/searchresults.hxx:
-    # Needed for VclPtr type
-    - svtools/simptabl.hxx
     sc/source/ui/inc/StatisticsInputOutputDialog.hxx:
     # base class has to be a complete type
     - viewdata.hxx
diff --git a/sc/source/filter/orcus/xmlcontext.cxx b/sc/source/filter/orcus/xmlcontext.cxx
index 9cac43207cf4..2548f5b19d9f 100644
--- a/sc/source/filter/orcus/xmlcontext.cxx
+++ b/sc/source/filter/orcus/xmlcontext.cxx
@@ -13,8 +13,6 @@
 #include <document.hxx>
 #include <tokenarray.hxx>
 
-#include <vcl/treelistbox.hxx>
-#include <vcl/treelistentry.hxx>
 #include <vcl/weld.hxx>
 #include <ucbhelper/content.hxx>
 #include <sal/log.hxx>
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index a103e220a89c..018907f5c500 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -11,8 +11,7 @@
 
 #include <sfx2/dispatch.hxx>
 #include <vcl/settings.hxx>
-#include <vcl/builderfactory.hxx>
-#include <vcl/lstbox.hxx>
+#include <vcl/svapp.hxx>
 
 #include <anyrefdg.hxx>
 #include <document.hxx>
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index a55b5336622d..89588a107412 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -24,6 +24,7 @@
 #include <svl/intitem.hxx>
 #include <svx/colorbox.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/svapp.hxx>
 #include <formula/token.hxx>
 #include <formula/errorcodes.hxx>
 #include <tokenarray.hxx>
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx
index 19004643e846..c8d2aef69234 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx
@@ -13,9 +13,7 @@
 #include <PivotLayoutTreeList.hxx>
 #include <PivotLayoutDialog.hxx>
 
-#include <vcl/builderfactory.hxx>
 #include <vcl/event.hxx>
-#include <vcl/treelistentry.hxx>
 #include <pivot.hxx>
 #include <scabstdlg.hxx>
 
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
index c5f783ac18dc..2ae02800c032 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
@@ -12,8 +12,6 @@
 #include <PivotLayoutTreeListBase.hxx>
 #include <PivotLayoutDialog.hxx>
 
-#include <vcl/treelistentry.hxx>
-
 ScPivotLayoutTreeListBase::ScPivotLayoutTreeListBase(std::unique_ptr<weld::TreeView> xControl, SvPivotTreeListType eType)
     : mxControl(std::move(xControl))
     , maDropTargetHelper(*this)
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx
index 0c5b8d8320a2..5a10cb96a2f9 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx
@@ -13,9 +13,7 @@
 #include <PivotLayoutTreeListData.hxx>
 #include <PivotLayoutDialog.hxx>
 
-#include <vcl/builderfactory.hxx>
 #include <vcl/event.hxx>
-#include <vcl/treelistentry.hxx>
 #include <pivot.hxx>
 #include <scabstdlg.hxx>
 #include <globstr.hrc>
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
index d09afc5c759f..053d766deb76 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
@@ -13,9 +13,7 @@
 #include <PivotLayoutTreeListLabel.hxx>
 #include <PivotLayoutDialog.hxx>
 
-#include <vcl/builderfactory.hxx>
 #include <vcl/event.hxx>
-#include <vcl/treelistentry.hxx>
 #include <pivot.hxx>
 
 ScPivotLayoutTreeListLabel::ScPivotLayoutTreeListLabel(std::unique_ptr<weld::TreeView> xControl)
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
index eec177bb2f91..2a8126987877 100644
--- a/sc/source/ui/dbgui/filtdlg.cxx
+++ b/sc/source/ui/dbgui/filtdlg.cxx
@@ -18,7 +18,6 @@
  */
 
 #include <sfx2/dispatch.hxx>
-#include <vcl/waitobj.hxx>
 #include <sal/log.hxx>
 
 #include <uiitems.hxx>
@@ -35,6 +34,8 @@
 #include <strings.hrc>
 
 #include <filtdlg.hxx>
+#include <vcl/svapp.hxx>
+#include <vcl/waitobj.hxx>
 #include <vcl/weld.hxx>
 #include <svl/sharedstringpool.hxx>
 
diff --git a/sc/source/ui/dbgui/sfiltdlg.cxx b/sc/source/ui/dbgui/sfiltdlg.cxx
index 71b1693e225c..53045ebf0725 100644
--- a/sc/source/ui/dbgui/sfiltdlg.cxx
+++ b/sc/source/ui/dbgui/sfiltdlg.cxx
@@ -18,7 +18,6 @@
  */
 
 #include <sfx2/dispatch.hxx>
-#include <vcl/idle.hxx>
 
 #include <uiitems.hxx>
 #include <rangenam.hxx>
@@ -34,6 +33,8 @@
 #include <strings.hrc>
 
 #include <filtdlg.hxx>
+#include <vcl/idle.hxx>
+#include <vcl/svapp.hxx>
 #include <vcl/weld.hxx>
 
 // DEFINE --------------------------------------------------------------------
diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx
index 6a4d899d892f..9491123f77e5 100644
--- a/sc/source/ui/dialogs/searchresults.cxx
+++ b/sc/source/ui/dialogs/searchresults.cxx
@@ -8,9 +8,6 @@
  */
 
 #include <searchresults.hxx>
-
-#include <svtools/simptabl.hxx>
-#include <vcl/fixed.hxx>
 #include <sfx2/bindings.hxx>
 #include <sfx2/dispatch.hxx>
 #include <dociter.hxx>
diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx
index cb3618a212ff..abda9c3528c8 100644
--- a/sc/source/ui/inc/condformatdlgentry.hxx
+++ b/sc/source/ui/inc/condformatdlgentry.hxx
@@ -12,9 +12,6 @@
 
 #include <conditio.hxx>
 #include <formula/funcutl.hxx>
-#include <vcl/vclptr.hxx>
-#include <vcl/builder.hxx>
-#include <vcl/layout.hxx>
 #include <vcl/weld.hxx>
 #include <svl/lstner.hxx>
 #include <svx/fntctrl.hxx>
diff --git a/sc/source/ui/inc/consdlg.hxx b/sc/source/ui/inc/consdlg.hxx
index 24f6810b14cb..067944402a18 100644
--- a/sc/source/ui/inc/consdlg.hxx
+++ b/sc/source/ui/inc/consdlg.hxx
@@ -20,8 +20,6 @@
 #ifndef INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX
 #define INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX
 
-#include <vcl/lstbox.hxx>
-#include <vcl/layout.hxx>
 #include <global.hxx>
 #include "anyrefdg.hxx"
 
diff --git a/sc/source/ui/inc/dbnamdlg.hxx b/sc/source/ui/inc/dbnamdlg.hxx
index 19991075b530..0f1ad2d7b901 100644
--- a/sc/source/ui/inc/dbnamdlg.hxx
+++ b/sc/source/ui/inc/dbnamdlg.hxx
@@ -21,11 +21,6 @@
 #define INCLUDED_SC_SOURCE_UI_INC_DBNAMDLG_HXX
 
 #include <vector>
-
-#include <vcl/combobox.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/layout.hxx>
-
 #include "anyrefdg.hxx"
 #include <dbdata.hxx>
 
diff --git a/sc/source/ui/inc/filtdlg.hxx b/sc/source/ui/inc/filtdlg.hxx
index 3ecaf6e322a7..f2a1da051093 100644
--- a/sc/source/ui/inc/filtdlg.hxx
+++ b/sc/source/ui/inc/filtdlg.hxx
@@ -20,9 +20,6 @@
 #ifndef INCLUDED_SC_SOURCE_UI_INC_FILTDLG_HXX
 #define INCLUDED_SC_SOURCE_UI_INC_FILTDLG_HXX
 
-#include <vcl/combobox.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/layout.hxx>
 #include <address.hxx>
 #include "anyrefdg.hxx"
 #include <queryparam.hxx>
diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx
index 71b0ab5d2f08..324ceef03657 100644
--- a/sc/source/ui/inc/namemgrtable.hxx
+++ b/sc/source/ui/inc/namemgrtable.hxx
@@ -10,7 +10,6 @@
 #ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEMGRTABLE_HXX
 #define INCLUDED_SC_SOURCE_UI_INC_NAMEMGRTABLE_HXX
 
-#include <svtools/simptabl.hxx>
 #include <vcl/weld.hxx>
 
 #include <address.hxx>
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index 5912431de0ee..33596c520f7f 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -21,9 +21,6 @@
 #define INCLUDED_SC_SOURCE_UI_INC_VALIDATE_HXX
 
 #include <sfx2/tabdlg.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/layout.hxx>
-#include <vcl/lstbox.hxx>
 
 #include "anyrefdg.hxx"
 #include <sc.hrc>
diff --git a/sc/source/ui/inc/xmlsourcedlg.hxx b/sc/source/ui/inc/xmlsourcedlg.hxx
index 3e9fc05f5a05..6e4317c19bb8 100644
--- a/sc/source/ui/inc/xmlsourcedlg.hxx
+++ b/sc/source/ui/inc/xmlsourcedlg.hxx
@@ -10,11 +10,6 @@
 #ifndef INCLUDED_SC_SOURCE_UI_INC_XMLSOURCEDLG_HXX
 #define INCLUDED_SC_SOURCE_UI_INC_XMLSOURCEDLG_HXX
 
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/layout.hxx>
-#include <vcl/treelistbox.hxx>
-
 #include "anyrefdg.hxx"
 #include <orcusxml.hxx>
 
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index 5d4866fe8a18..d57f785ae8cc 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -23,7 +23,6 @@
 #include <unotools/collatorwrapper.hxx>
 #include <sfx2/viewfrm.hxx>
 #include <sfx2/basedlgs.hxx>
-#include <vcl/layout.hxx>
 
 #include <acredlin.hxx>
 #include <global.hxx>
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index e13bf804204a..7a498aced9cd 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -21,9 +21,6 @@
 #include <comphelper/string.hxx>
 #include <sfx2/app.hxx>
 #include <sfx2/viewsh.hxx>
-#include <vcl/accel.hxx>
-#include <vcl/layout.hxx>
-#include <vcl/mnemonic.hxx>
 #include <sfx2/bindings.hxx>
 #include <sfx2/dispatch.hxx>
 #include <sfx2/viewfrm.hxx>
diff --git a/sc/source/ui/miscdlgs/crnrdlg.cxx b/sc/source/ui/miscdlgs/crnrdlg.cxx
index 23a5fe9c4495..1a4414f992d4 100644
--- a/sc/source/ui/miscdlgs/crnrdlg.cxx
+++ b/sc/source/ui/miscdlgs/crnrdlg.cxx
@@ -23,9 +23,8 @@
 #include <scresid.hxx>
 #include <docsh.hxx>
 #include <crnrdlg.hxx>
-#include <vcl/layout.hxx>
+#include <vcl/svapp.hxx>
 #include <vcl/weld.hxx>
-#include <vcl/fixed.hxx>
 #include <memory>
 
 namespace
diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx
index 3976f18dd008..ad3bb9b7e2c2 100644
--- a/sc/source/ui/miscdlgs/highred.cxx
+++ b/sc/source/ui/miscdlgs/highred.cxx
@@ -24,8 +24,6 @@
 
 #include <highred.hxx>
 
-#include <vcl/layout.hxx>
-
 //  class ScHighlightChgDlg
 
 ScHighlightChgDlg::ScHighlightChgDlg(SfxBindings* pB, SfxChildWindow* pCW, weld::Window* pParent,
diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx
index b1ccc458e5b5..9c4895a11a40 100644
--- a/sc/source/ui/namedlg/namemgrtable.cxx
+++ b/sc/source/ui/namedlg/namemgrtable.cxx
@@ -17,9 +17,7 @@
 #include <rangenam.hxx>
 
 #include <unotools/charclass.hxx>
-#include <svtools/simptabl.hxx>
 #include <vcl/weld.hxx>
-#include <vcl/layout.hxx>
 #include <tools/link.hxx>
 
 void ScRangeManagerTable::GetCurrentLine(ScRangeNameLine& rLine)
diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx
index b97368f2f4f2..6302fc3018cb 100644
--- a/sc/source/ui/pagedlg/areasdlg.cxx
+++ b/sc/source/ui/pagedlg/areasdlg.cxx
@@ -21,7 +21,7 @@
 
 #include <sfx2/dispatch.hxx>
 #include <svl/stritem.hxx>
-#include <vcl/layout.hxx>
+#include <vcl/svapp.hxx>
 #include <vcl/weld.hxx>
 #include <unotools/charclass.hxx>
 
diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx
index 786405fe2918..9b4355817bcc 100644
--- a/sc/source/ui/pagedlg/tphf.cxx
+++ b/sc/source/ui/pagedlg/tphf.cxx
@@ -23,7 +23,6 @@
 #include <sfx2/basedlgs.hxx>
 #include <sfx2/sfxdlg.hxx>
 #include <svl/style.hxx>
-#include <vcl/layout.hxx>
 #include <vcl/svapp.hxx>
 
 #include <attrib.hxx>
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index bd751a4d1540..7fc5cc9c75a5 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -35,6 +35,7 @@
 #include <svl/zformat.hxx>
 #include <sfx2/dispatch.hxx>
 #include <sfx2/request.hxx>
+#include <vcl/svapp.hxx>
 #include <vcl/weld.hxx>
 #include <svx/svxdlg.hxx>
 #include <sot/formats.hxx>
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index bbd7fafa16a8..fd24bc39fbf6 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -41,6 +41,7 @@
 #include <svl/urlbmk.hxx>
 #include <svl/sharedstringpool.hxx>
 #include <vcl/canvastools.hxx>
+#include <vcl/commandevent.hxx>
 #include <vcl/cursor.hxx>
 #include <vcl/graph.hxx>
 #include <vcl/hatch.hxx>
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index bda40fb0ea79..e24367342713 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -18,9 +18,6 @@
 
 #include <unotools/pathoptions.hxx>
 #include <tools/urlobj.hxx>
-#include <vcl/svlbitm.hxx>
-#include <vcl/treelistentry.hxx>
-#include <vcl/viewdataentry.hxx>
 #include <sfx2/filedlghelper.hxx>
 #include <sfx2/objsh.hxx>
 #include <comphelper/processfactory.hxx>
diff --git a/sd/source/ui/inc/tpaction.hxx b/sd/source/ui/inc/tpaction.hxx
index 0a5ff1bb0f05..b6a323efdc8e 100644
--- a/sd/source/ui/inc/tpaction.hxx
+++ b/sd/source/ui/inc/tpaction.hxx
@@ -21,8 +21,6 @@
 #define INCLUDED_SD_SOURCE_UI_INC_TPACTION_HXX
 
 #include <com/sun/star/presentation/ClickAction.hpp>
-#include <vcl/fixed.hxx>
-#include <vcl/layout.hxx>
 #include <sfx2/tabdlg.hxx>
 #include <sfx2/basedlgs.hxx>
 #include "sdtreelb.hxx"
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index 495bce023485..c519ef1f1bfc 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -18,11 +18,8 @@
  */
 
 #include <comphelper/processfactory.hxx>
-#include <vcl/field.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/layout.hxx>
-#include <vcl/lstbox.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/settings.hxx>
 #include <sfx2/app.hxx>
 #include <sfx2/module.hxx>
 #include <unotools/textsearch.hxx>
diff --git a/sw/source/ui/chrdlg/break.cxx b/sw/source/ui/chrdlg/break.cxx
index 6ff2d6d3fa4e..bcbd51149187 100644
--- a/sw/source/ui/chrdlg/break.cxx
+++ b/sw/source/ui/chrdlg/break.cxx
@@ -19,7 +19,6 @@
 
 #include <sfx2/request.hxx>
 #include <svl/stritem.hxx>
-#include <vcl/layout.hxx>
 
 #include <cmdid.h>
 #include <uitool.hxx>
diff --git a/sw/source/ui/envelp/labprt.hxx b/sw/source/ui/envelp/labprt.hxx
index 036d839728cf..7785bcf21049 100644
--- a/sw/source/ui/envelp/labprt.hxx
+++ b/sw/source/ui/envelp/labprt.hxx
@@ -19,9 +19,6 @@
 #ifndef INCLUDED_SW_SOURCE_UI_ENVELP_LABPRT_HXX
 #define INCLUDED_SW_SOURCE_UI_ENVELP_LABPRT_HXX
 
-#include <vcl/button.hxx>
-#include <vcl/field.hxx>
-#include <vcl/layout.hxx>
 #include <sfx2/tabdlg.hxx>
 
 class SwLabDlg;
diff --git a/sw/source/ui/misc/insfnote.cxx b/sw/source/ui/misc/insfnote.cxx
index 8131efc698ec..f7f8fc4112ca 100644
--- a/sw/source/ui/misc/insfnote.cxx
+++ b/sw/source/ui/misc/insfnote.cxx
@@ -33,7 +33,6 @@
 #include <svx/svxdlg.hxx>
 #include <svx/dialogs.hrc>
 #include <sfx2/viewfrm.hxx>
-#include <vcl/layout.hxx>
 
 #include <memory>
 
diff --git a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
index 20dac2f769d3..931a53328c78 100644
--- a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
+++ b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
@@ -18,7 +18,6 @@
  */
 
 #include <redline.hxx>
-#include <vcl/layout.hxx>
 #include <svl/eitem.hxx>
 #include <sfx2/viewfrm.hxx>
 #include <sfx2/dispatch.hxx>
diff --git a/sw/source/uibase/inc/instable.hxx b/sw/source/uibase/inc/instable.hxx
index 7c12ce1f3434..5b40cb1afbfd 100644
--- a/sw/source/uibase/inc/instable.hxx
+++ b/sw/source/uibase/inc/instable.hxx
@@ -23,11 +23,6 @@
 #include <sal/types.h>
 #include <rtl/ustring.hxx>
 #include <tools/link.hxx>
-#include <vcl/vclreferencebase.hxx>
-#include <vcl/button.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/field.hxx>
-#include <vcl/layout.hxx>
 
 #include "wrtsh.hxx"
 #include "autoformatpreview.hxx"
diff --git a/sw/source/uibase/inc/wordcountdialog.hxx b/sw/source/uibase/inc/wordcountdialog.hxx
index 117a840a9db8..5a8ae3d522d2 100644
--- a/sw/source/uibase/inc/wordcountdialog.hxx
+++ b/sw/source/uibase/inc/wordcountdialog.hxx
@@ -19,8 +19,6 @@
 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_WORDCOUNTDIALOG_HXX
 #define INCLUDED_SW_SOURCE_UIBASE_INC_WORDCOUNTDIALOG_HXX
 #include <sfx2/basedlgs.hxx>
-#include <vcl/layout.hxx>
-#include <vcl/button.hxx>
 struct SwDocStat;
 #include <sfx2/childwin.hxx>
 #include <swabstdlg.hxx>
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx
index ddae90fd36a3..e101b3750f59 100644
--- a/sw/source/uibase/misc/redlndlg.cxx
+++ b/sw/source/uibase/misc/redlndlg.cxx
@@ -44,8 +44,6 @@
 #include <vector>
 #include <svx/svxdlg.hxx>
 #include <svx/dialogs.hrc>
-#include <vcl/layout.hxx>
-#include <vcl/lstbox.hxx>
 #include <bitmaps.hlst>
 
 #include <unomid.h>


More information about the Libreoffice-commits mailing list