summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-12 21:40:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-13 13:57:14 +0200
commit00ae441bc7265b203e0ae2b95f14f7312172540d (patch)
tree41f07dc607a0bd59f5a534eaaf401ab7bc202a8a /sc/source/ui
parent349919440b1454eda2de783a0c3e6bd3bae4542b (diff)
drop some unneeded includes
Change-Id: I3c9a3b73c099b70bdbd6b16688e83ee01231a27e Reviewed-on: https://gerrit.libreoffice.org/72204 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx3
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx1
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeList.cxx2
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx2
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeListData.cxx2
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx2
-rw-r--r--sc/source/ui/dbgui/filtdlg.cxx3
-rw-r--r--sc/source/ui/dbgui/sfiltdlg.cxx3
-rw-r--r--sc/source/ui/dialogs/searchresults.cxx3
-rw-r--r--sc/source/ui/inc/condformatdlgentry.hxx3
-rw-r--r--sc/source/ui/inc/consdlg.hxx2
-rw-r--r--sc/source/ui/inc/dbnamdlg.hxx5
-rw-r--r--sc/source/ui/inc/filtdlg.hxx3
-rw-r--r--sc/source/ui/inc/namemgrtable.hxx1
-rw-r--r--sc/source/ui/inc/validate.hxx3
-rw-r--r--sc/source/ui/inc/xmlsourcedlg.hxx5
-rw-r--r--sc/source/ui/miscdlgs/acredlin.cxx1
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx3
-rw-r--r--sc/source/ui/miscdlgs/crnrdlg.cxx3
-rw-r--r--sc/source/ui/miscdlgs/highred.cxx2
-rw-r--r--sc/source/ui/namedlg/namemgrtable.cxx2
-rw-r--r--sc/source/ui/pagedlg/areasdlg.cxx2
-rw-r--r--sc/source/ui/pagedlg/tphf.cxx1
-rw-r--r--sc/source/ui/view/cellsh1.cxx1
-rw-r--r--sc/source/ui/view/gridwin.cxx1
-rw-r--r--sc/source/ui/xmlsource/xmlsourcedlg.cxx3
26 files changed, 10 insertions, 52 deletions
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>