summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-11-25 15:39:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-11-26 09:50:10 +0100
commitbd1cac5a9656741ad1b54df1fb740b989b77b78f (patch)
treed658e50ca06b29444cfd785bf9874f7adf1532bd
parent3339c730f8c9a6088a2e8b335185f1bf0b232216 (diff)
drop some unnecessary includes
Change-Id: I4a45110e69fc76ff5b12e014586a0684c3737dfe Reviewed-on: https://gerrit.libreoffice.org/64000 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--chart2/source/controller/dialogs/tp_Scale.hxx5
-rw-r--r--cui/source/dialogs/insdlg.cxx3
-rw-r--r--cui/source/inc/cuisrchdlg.hxx5
-rw-r--r--cui/source/inc/cuitabarea.hxx3
-rw-r--r--cui/source/inc/dstribut.hxx1
-rw-r--r--cui/source/inc/labdlg.hxx4
-rw-r--r--cui/source/inc/measure.hxx1
-rw-r--r--cui/source/inc/numpages.hxx5
-rw-r--r--cui/source/inc/optpath.hxx2
-rw-r--r--cui/source/inc/page.hxx3
-rw-r--r--cui/source/inc/paragrph.hxx2
-rw-r--r--cui/source/inc/textanim.hxx2
-rw-r--r--cui/source/inc/textattr.hxx1
-rw-r--r--cui/source/inc/transfrm.hxx3
-rw-r--r--cui/source/tabpages/macroass.cxx1
-rw-r--r--extensions/source/propctrlr/taborder.hxx4
-rw-r--r--forms/source/richtext/richtextvclcontrol.hxx1
-rw-r--r--sw/source/ui/dbui/createaddresslistdialog.cxx1
-rw-r--r--sw/source/ui/dbui/createaddresslistdialog.hxx2
-rw-r--r--sw/source/uibase/inc/break.hxx4
-rw-r--r--sw/source/uibase/inc/column.hxx5
-rw-r--r--sw/source/uibase/inc/labimp.hxx5
-rw-r--r--sw/source/uibase/inc/num.hxx8
-rw-r--r--sw/source/uibase/inc/outline.hxx13
-rw-r--r--sw/source/uibase/inc/rowht.hxx5
-rw-r--r--sw/source/uibase/inc/wrap.hxx3
-rw-r--r--sw/source/uibase/uiview/pview.cxx3
-rw-r--r--sw/source/uibase/utlui/gloslst.cxx3
28 files changed, 3 insertions, 95 deletions
diff --git a/chart2/source/controller/dialogs/tp_Scale.hxx b/chart2/source/controller/dialogs/tp_Scale.hxx
index 49902e40dd1b..16c29e8b2cf0 100644
--- a/chart2/source/controller/dialogs/tp_Scale.hxx
+++ b/chart2/source/controller/dialogs/tp_Scale.hxx
@@ -20,11 +20,6 @@
#define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_SCALE_HXX
#include <sfx2/tabdlg.hxx>
-#include <vcl/fmtfield.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/button.hxx>
-#include <vcl/field.hxx>
-#include <vcl/lstbox.hxx>
namespace chart
{
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index 84b395ec7da7..319b8d338ae7 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -42,10 +42,7 @@
#include <tools/urlobj.hxx>
#include <tools/debug.hxx>
#include <svl/urihelper.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/weld.hxx>
-#include <vcl/lstbox.hxx>
#include <vcl/svapp.hxx>
#include <comphelper/classids.hxx>
#include <sfx2/filedlghelper.hxx>
diff --git a/cui/source/inc/cuisrchdlg.hxx b/cui/source/inc/cuisrchdlg.hxx
index 649db4834723..e455188369ea 100644
--- a/cui/source/inc/cuisrchdlg.hxx
+++ b/cui/source/inc/cuisrchdlg.hxx
@@ -19,11 +19,6 @@
#ifndef INCLUDED_CUI_SOURCE_INC_CUISRCHDLG_HXX
#define INCLUDED_CUI_SOURCE_INC_CUISRCHDLG_HXX
-#include <vcl/combobox.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/dialog.hxx>
#include <sfx2/childwin.hxx>
#include <sfx2/basedlgs.hxx>
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index 19c52a601f25..b27573d739aa 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -20,9 +20,6 @@
#define INCLUDED_CUI_SOURCE_INC_CUITABAREA_HXX
#include <svtools/valueset.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/slider.hxx>
#include <svx/dlgctrl.hxx>
#include <svx/xsetit.hxx>
#include <svx/xfillit0.hxx>
diff --git a/cui/source/inc/dstribut.hxx b/cui/source/inc/dstribut.hxx
index a5fd1deed201..19f9e263361d 100644
--- a/cui/source/inc/dstribut.hxx
+++ b/cui/source/inc/dstribut.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_CUI_SOURCE_INC_DSTRIBUT_HXX
#include <svx/dlgctrl.hxx>
-#include <vcl/fixed.hxx>
#include <svx/dstribut_enum.hxx>
class SvxDistributePage : public SfxTabPage
diff --git a/cui/source/inc/labdlg.hxx b/cui/source/inc/labdlg.hxx
index da4a9aa2cd3f..98f9a63f1030 100644
--- a/cui/source/inc/labdlg.hxx
+++ b/cui/source/inc/labdlg.hxx
@@ -19,16 +19,12 @@
#ifndef INCLUDED_CUI_SOURCE_INC_LABDLG_HXX
#define INCLUDED_CUI_SOURCE_INC_LABDLG_HXX
-#include <vcl/field.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/fixed.hxx>
#include <svtools/valueset.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/sxctitm.hxx>
#include <svx/sxcecitm.hxx>
#include <svx/anchorid.hxx>
-
class SdrView;
// class SvxCaptionTabPage -----------------------------------------------
diff --git a/cui/source/inc/measure.hxx b/cui/source/inc/measure.hxx
index cb8a5a3d9540..9cca6a37199f 100644
--- a/cui/source/inc/measure.hxx
+++ b/cui/source/inc/measure.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_CUI_SOURCE_INC_MEASURE_HXX
#define INCLUDED_CUI_SOURCE_INC_MEASURE_HXX
-#include <vcl/fixed.hxx>
#include <sfx2/basedlgs.hxx>
#include <svx/dlgctrl.hxx>
#include <svx/measctrl.hxx>
diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx
index ac244b36a96e..3f3b429087f9 100644
--- a/cui/source/inc/numpages.hxx
+++ b/cui/source/inc/numpages.hxx
@@ -24,11 +24,6 @@
#include <sfx2/tabdlg.hxx>
#include <svx/Palette.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/menubtn.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/field.hxx>
#include <editeng/numdef.hxx>
#include <editeng/svxenum.hxx>
#include <svtools/ctrlbox.hxx>
diff --git a/cui/source/inc/optpath.hxx b/cui/source/inc/optpath.hxx
index c02bbc6a67af..47f813730a08 100644
--- a/cui/source/inc/optpath.hxx
+++ b/cui/source/inc/optpath.hxx
@@ -22,7 +22,7 @@
#include <memory>
#include <sfx2/tabdlg.hxx>
#include <svtools/simptabl.hxx>
-#include <vcl/fixed.hxx>
+#include <vcl/button.hxx>
#include <com/sun/star/ui/dialogs/XFolderPicker2.hpp>
#include <svtools/dialogclosedlistener.hxx>
diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx
index 7fe4681343f9..f57d23f0daa4 100644
--- a/cui/source/inc/page.hxx
+++ b/cui/source/inc/page.hxx
@@ -20,9 +20,6 @@
#define INCLUDED_CUI_SOURCE_INC_PAGE_HXX
#include <sfx2/tabdlg.hxx>
-#include <vcl/field.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/lstbox.hxx>
#include <svx/pagectrl.hxx>
#include <svx/pagenumberlistbox.hxx>
#include <svx/papersizelistbox.hxx>
diff --git a/cui/source/inc/paragrph.hxx b/cui/source/inc/paragrph.hxx
index bbcb7b3d3f68..11fd9597a92c 100644
--- a/cui/source/inc/paragrph.hxx
+++ b/cui/source/inc/paragrph.hxx
@@ -20,12 +20,10 @@
#define INCLUDED_CUI_SOURCE_INC_PARAGRPH_HXX
#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/relfld.hxx>
#include <svx/paraprev.hxx>
#include <svx/frmdirlbox.hxx>
-#include <vcl/lstbox.hxx>
#include <svx/flagsdef.hxx>
class SvxLineSpacingItem;
diff --git a/cui/source/inc/textanim.hxx b/cui/source/inc/textanim.hxx
index 0083c0c882c1..932c7d9000a8 100644
--- a/cui/source/inc/textanim.hxx
+++ b/cui/source/inc/textanim.hxx
@@ -19,10 +19,8 @@
#ifndef INCLUDED_CUI_SOURCE_INC_TEXTANIM_HXX
#define INCLUDED_CUI_SOURCE_INC_TEXTANIM_HXX
-#include <vcl/field.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/svdattr.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
class SdrView;
diff --git a/cui/source/inc/textattr.hxx b/cui/source/inc/textattr.hxx
index 5e3ba881ddc4..7ba0fa48bfba 100644
--- a/cui/source/inc/textattr.hxx
+++ b/cui/source/inc/textattr.hxx
@@ -21,7 +21,6 @@
#include <svx/dlgctrl.hxx>
#include <svx/svdobj.hxx>
-#include <vcl/fixed.hxx>
#include <sfx2/basedlgs.hxx>
class SdrView;
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx
index a7abbf793962..89569e2e35ea 100644
--- a/cui/source/inc/transfrm.hxx
+++ b/cui/source/inc/transfrm.hxx
@@ -22,9 +22,6 @@
#include <svx/dlgctrl.hxx>
#include <svx/dialcontrol.hxx>
#include <svx/anchorid.hxx>
-
-#include <vcl/fixed.hxx>
-
#include <basegfx/range/b2drange.hxx>
// predefines
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index 75176ba85e30..344a92126b5f 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -30,7 +30,6 @@
#include <sfx2/app.hxx>
#include <sfx2/evntconf.hxx>
#include <sfx2/objsh.hxx>
-#include <vcl/fixed.hxx>
#include <headertablistbox.hxx>
#include <vcl/svlbitm.hxx>
#include <vcl/treelistentry.hxx>
diff --git a/extensions/source/propctrlr/taborder.hxx b/extensions/source/propctrlr/taborder.hxx
index 35a82b0da5c7..6d293997814e 100644
--- a/extensions/source/propctrlr/taborder.hxx
+++ b/extensions/source/propctrlr/taborder.hxx
@@ -27,13 +27,9 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <vcl/dialog.hxx>
-
#include <vcl/button.hxx>
#include <vcl/lstbox.hxx>
-#include <vcl/fixed.hxx>
-
-
namespace pcr
{
diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx
index 7a304e8e19b3..bff1a9d3f8d3 100644
--- a/forms/source/richtext/richtextvclcontrol.hxx
+++ b/forms/source/richtext/richtextvclcontrol.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX
#define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX
-#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
#include <vcl/toolbox.hxx>
#include <com/sun/star/awt/FontDescriptor.hpp>
diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx
index c3c927f71c5b..d38f3866d349 100644
--- a/sw/source/ui/dbui/createaddresslistdialog.cxx
+++ b/sw/source/ui/dbui/createaddresslistdialog.cxx
@@ -28,6 +28,7 @@
#include <mmconfigitem.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/builderfactory.hxx>
+#include <vcl/fixed.hxx>
#include <vcl/commandevent.hxx>
#include <svtools/controldims.hxx>
#include <unotools/pathoptions.hxx>
diff --git a/sw/source/ui/dbui/createaddresslistdialog.hxx b/sw/source/ui/dbui/createaddresslistdialog.hxx
index ed28356fda96..393a5503eec7 100644
--- a/sw/source/ui/dbui/createaddresslistdialog.hxx
+++ b/sw/source/ui/dbui/createaddresslistdialog.hxx
@@ -20,10 +20,8 @@
#define INCLUDED_SW_SOURCE_UI_DBUI_CREATEADDRESSLISTDIALOG_HXX
#include <sfx2/basedlgs.hxx>
-
#include <vcl/button.hxx>
#include <vcl/field.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/weld.hxx>
#include <vector>
diff --git a/sw/source/uibase/inc/break.hxx b/sw/source/uibase/inc/break.hxx
index 096f13fbb0c7..65d129fa0eef 100644
--- a/sw/source/uibase/inc/break.hxx
+++ b/sw/source/uibase/inc/break.hxx
@@ -21,10 +21,6 @@
#define INCLUDED_SW_SOURCE_UIBASE_INC_BREAK_HXX
#include <vcl/weld.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/field.hxx>
#include <boost/optional.hpp>
class SwWrtShell;
diff --git a/sw/source/uibase/inc/column.hxx b/sw/source/uibase/inc/column.hxx
index 52f890cc0899..ca92ca48b32d 100644
--- a/sw/source/uibase/inc/column.hxx
+++ b/sw/source/uibase/inc/column.hxx
@@ -20,11 +20,6 @@
#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_COLUMN_HXX
#define INCLUDED_SW_SOURCE_UIBASE_INC_COLUMN_HXX
-#include <vcl/fixed.hxx>
-#include <vcl/field.hxx>
-#include <vcl/image.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/button.hxx>
#include <vcl/timer.hxx>
#include <svtools/ctrlbox.hxx>
#include <svtools/valueset.hxx>
diff --git a/sw/source/uibase/inc/labimp.hxx b/sw/source/uibase/inc/labimp.hxx
index dcda10e01f22..273f9c992ed5 100644
--- a/sw/source/uibase/inc/labimp.hxx
+++ b/sw/source/uibase/inc/labimp.hxx
@@ -20,11 +20,6 @@
#define INCLUDED_SW_SOURCE_UIBASE_INC_LABIMP_HXX
#include <sfx2/tabdlg.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/fixed.hxx>
-#include <svtools/svmedit.hxx>
-#include <vcl/field.hxx>
-#include <vcl/treelistbox.hxx>
#include "label.hxx"
#include "labimg.hxx"
diff --git a/sw/source/uibase/inc/num.hxx b/sw/source/uibase/inc/num.hxx
index 5554cdf2f4a6..dcd92d8fd8e3 100644
--- a/sw/source/uibase/inc/num.hxx
+++ b/sw/source/uibase/inc/num.hxx
@@ -20,14 +20,6 @@
#define INCLUDED_SW_SOURCE_UIBASE_INC_NUM_HXX
#include <sfx2/tabdlg.hxx>
-#include <vcl/menubtn.hxx>
-#include <vcl/field.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/layout.hxx>
-#include <vcl/button.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/edit.hxx>
-#include <svx/stddlg.hxx>
#include "numprevw.hxx"
#include <numrule.hxx>
diff --git a/sw/source/uibase/inc/outline.hxx b/sw/source/uibase/inc/outline.hxx
index c77970db5072..f57ce394cbf7 100644
--- a/sw/source/uibase/inc/outline.hxx
+++ b/sw/source/uibase/inc/outline.hxx
@@ -21,19 +21,6 @@
#include <memory>
#include <sfx2/tabdlg.hxx>
-
-#include <vcl/menu.hxx>
-
-#include <vcl/button.hxx>
-
-#include <vcl/fixed.hxx>
-
-#include <vcl/lstbox.hxx>
-
-#include <vcl/edit.hxx>
-
-#include <vcl/field.hxx>
-
#include <swtypes.hxx>
#include "numprevw.hxx"
#include "numberingtypelistbox.hxx"
diff --git a/sw/source/uibase/inc/rowht.hxx b/sw/source/uibase/inc/rowht.hxx
index fdcb6438badb..58439eb89d38 100644
--- a/sw/source/uibase/inc/rowht.hxx
+++ b/sw/source/uibase/inc/rowht.hxx
@@ -19,10 +19,7 @@
#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_ROWHT_HXX
#define INCLUDED_SW_SOURCE_UIBASE_INC_ROWHT_HXX
-#include <svx/stddlg.hxx>
-#include <vcl/field.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/button.hxx>
+#include <vcl/weld.hxx>
class SwWrtShell;
diff --git a/sw/source/uibase/inc/wrap.hxx b/sw/source/uibase/inc/wrap.hxx
index 048e18929c04..7b397a797e2e 100644
--- a/sw/source/uibase/inc/wrap.hxx
+++ b/sw/source/uibase/inc/wrap.hxx
@@ -21,9 +21,6 @@
#include <sfx2/tabdlg.hxx>
#include <sfx2/basedlgs.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/field.hxx>
namespace vcl { class Window; }
class SfxItemSet;
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index b05db89e897c..1747f01e4c6e 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -19,11 +19,8 @@
#include <sfx2/objface.hxx>
#include <vcl/timer.hxx>
-#include <vcl/field.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/help.hxx>
#include <vcl/commandevent.hxx>
-#include <vcl/button.hxx>
#include <vcl/settings.hxx>
#include <vcl/weld.hxx>
diff --git a/sw/source/uibase/utlui/gloslst.cxx b/sw/source/uibase/utlui/gloslst.cxx
index c8f1102813ce..0a05aa8acaf3 100644
--- a/sw/source/uibase/utlui/gloslst.cxx
+++ b/sw/source/uibase/utlui/gloslst.cxx
@@ -18,9 +18,6 @@
*/
#include <tools/urlobj.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/lstbox.hxx>
#include <vcl/weld.hxx>
#include <svl/fstathelper.hxx>
#include <unotools/pathoptions.hxx>