[Libreoffice-commits] core.git: basctl/source cui/source dbaccess/source include/svx svx/source vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 1 19:28:24 UTC 2019


 basctl/source/inc/managelang.hxx               |    5 +----
 cui/source/dialogs/linkdlg.cxx                 |    6 +-----
 cui/source/inc/cfgutil.hxx                     |    4 ----
 cui/source/inc/cuifmsearch.hxx                 |    7 +------
 cui/source/inc/cuigaldlg.hxx                   |    7 -------
 cui/source/inc/cuisrchdlg.hxx                  |    2 --
 cui/source/inc/hangulhanjadlg.hxx              |    8 +-------
 cui/source/inc/optdict.hxx                     |   11 +----------
 cui/source/inc/scriptdlg.hxx                   |    6 +-----
 cui/source/options/optdict.cxx                 |    2 ++
 dbaccess/source/ui/dlg/UserAdmin.hxx           |    1 -
 dbaccess/source/ui/dlg/sqlmessage.cxx          |    5 -----
 include/svx/srchdlg.hxx                        |    8 --------
 svx/source/tbxctrls/tbunosearchcontrollers.cxx |    1 +
 vcl/source/control/ctrl.cxx                    |    1 -
 vcl/source/control/field.cxx                   |    3 +--
 vcl/source/control/fixed.cxx                   |    1 -
 vcl/source/control/listbox.cxx                 |    1 -
 18 files changed, 10 insertions(+), 69 deletions(-)

New commits:
commit 3f78d508b97eff106ff8b9d4dc7d433f17d3e26f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Apr 1 15:53:57 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Apr 1 21:27:58 2019 +0200

    drop unnecessary includes
    
    Change-Id: I12c02a03202d778d9c2d7bf41022db64af492e04
    Reviewed-on: https://gerrit.libreoffice.org/70075
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/basctl/source/inc/managelang.hxx b/basctl/source/inc/managelang.hxx
index e040aaee1a1d..24f408336e17 100644
--- a/basctl/source/inc/managelang.hxx
+++ b/basctl/source/inc/managelang.hxx
@@ -20,10 +20,7 @@
 #ifndef INCLUDED_BASCTL_SOURCE_INC_MANAGELANG_HXX
 #define INCLUDED_BASCTL_SOURCE_INC_MANAGELANG_HXX
 
-#include <svx/checklbx.hxx>
-#include <vcl/button.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/fixed.hxx>
+#include <vcl/weld.hxx>
 
 class LanguageBox;
 
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index 7e4f0439e0e8..5e3becb76b90 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -21,16 +21,12 @@
 #include <sal/log.hxx>
 #include <vcl/svapp.hxx>
 
+#include <tools/debug.hxx>
 #include <tools/urlobj.hxx>
 #include <svtools/svmedit.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
 #include <vcl/weld.hxx>
 #include <vcl/timer.hxx>
 #include <vcl/idle.hxx>
-#include <vcl/svtabbx.hxx>
-#include <vcl/treelistentry.hxx>
 
 #include <strings.hrc>
 #include <sfx2/linkmgr.hxx>
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx
index a55015a52f59..e779951f95b2 100644
--- a/cui/source/inc/cfgutil.hxx
+++ b/cui/source/inc/cfgutil.hxx
@@ -30,10 +30,6 @@
 #include <com/sun/star/container/XNameAccess.hpp>
 #include <com/sun/star/script/browse/XBrowseNode.hpp>
 #include <vcl/timer.hxx>
-#include <vcl/svtabbx.hxx>
-#include <vcl/treelistbox.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/image.hxx>
 #include <vcl/weld.hxx>
 
 class Button;
diff --git a/cui/source/inc/cuifmsearch.hxx b/cui/source/inc/cuifmsearch.hxx
index 18ee588c63d6..f56653b5ddfb 100644
--- a/cui/source/inc/cuifmsearch.hxx
+++ b/cui/source/inc/cuifmsearch.hxx
@@ -23,12 +23,7 @@
 #include <com/sun/star/sdbc/XResultSet.hpp>
 
 #include <svx/fmsearch.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/combobox.hxx>
-#include <vcl/lstbox.hxx>
+#include <vcl/weld.hxx>
 #include <tools/link.hxx>
 #include <rtl/ustring.hxx>
 
diff --git a/cui/source/inc/cuigaldlg.hxx b/cui/source/inc/cuigaldlg.hxx
index 861ade55e9a2..38f793298bb4 100644
--- a/cui/source/inc/cuigaldlg.hxx
+++ b/cui/source/inc/cuigaldlg.hxx
@@ -23,14 +23,7 @@
 #include <sal/config.h>
 
 #include <salhelper/thread.hxx>
-#include <vcl/dialog.hxx>
 #include <vcl/graph.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/button.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/menu.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/combobox.hxx>
 #include <vcl/idle.hxx>
 #include <svl/slstitm.hxx>
 #include <vcl/transfer.hxx>
diff --git a/cui/source/inc/cuisrchdlg.hxx b/cui/source/inc/cuisrchdlg.hxx
index e455188369ea..9a72d9de2f71 100644
--- a/cui/source/inc/cuisrchdlg.hxx
+++ b/cui/source/inc/cuisrchdlg.hxx
@@ -19,10 +19,8 @@
 #ifndef INCLUDED_CUI_SOURCE_INC_CUISRCHDLG_HXX
 #define INCLUDED_CUI_SOURCE_INC_CUISRCHDLG_HXX
 
-#include <vcl/dialog.hxx>
 #include <sfx2/childwin.hxx>
 #include <sfx2/basedlgs.hxx>
-#include <svtools/svmedit.hxx>
 #include <svl/srchdefs.hxx>
 
 class SvxJSearchOptionsPage;
diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx
index 8d8258e0ef75..cc7572f6cf50 100644
--- a/cui/source/inc/hangulhanjadlg.hxx
+++ b/cui/source/inc/hangulhanjadlg.hxx
@@ -20,14 +20,8 @@
 #define INCLUDED_CUI_SOURCE_INC_HANGULHANJADLG_HXX
 
 #include <vcl/customweld.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/button.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/combobox.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/scrbar.hxx>
+#include <vcl/event.hxx>
 #include <vcl/weld.hxx>
-#include <svx/checklbx.hxx>
 #include <editeng/hangulhanja.hxx>
 #include <com/sun/star/uno/Sequence.hxx>
 #include <editeng/unolingu.hxx>
diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx
index 5c0b694b1e75..6694f200c9fa 100644
--- a/cui/source/inc/optdict.hxx
+++ b/cui/source/inc/optdict.hxx
@@ -19,20 +19,11 @@
 #ifndef INCLUDED_CUI_SOURCE_INC_OPTDICT_HXX
 #define INCLUDED_CUI_SOURCE_INC_OPTDICT_HXX
 
-#include <vcl/dialog.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/button.hxx>
-#include <vcl/combobox.hxx>
 #include <vcl/timer.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/decoview.hxx>
+#include <vcl/weld.hxx>
 #include <com/sun/star/util/Language.hpp>
 #include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/uno/Sequence.hxx>
-
-
-#include <svtools/simptabl.hxx>
 #include <svx/langbox.hxx>
 
 namespace com{namespace sun{namespace star{
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx
index b38ae2d392e8..0ed50167a0e3 100644
--- a/cui/source/inc/scriptdlg.hxx
+++ b/cui/source/inc/scriptdlg.hxx
@@ -21,13 +21,9 @@
 #define INCLUDED_CUI_SOURCE_INC_SCRIPTDLG_HXX
 
 #include <memory>
-#include <vcl/treelistbox.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
+#include <sfx2/basedlgs.hxx>
 #include <vcl/abstdlg.hxx>
 #include <vcl/weld.hxx>
-#include <sfx2/basedlgs.hxx>
 
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <com/sun/star/script/browse/XBrowseNode.hpp>
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index b5fe420a4f03..0c03337240ee 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -24,6 +24,8 @@
 #include <svl/eitem.hxx>
 #include <com/sun/star/frame/XStorable.hpp>
 #include <comphelper/string.hxx>
+#include <tools/debug.hxx>
+#include <unotools/collatorwrapper.hxx>
 #include <unotools/intlwrapper.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/weld.hxx>
diff --git a/dbaccess/source/ui/dlg/UserAdmin.hxx b/dbaccess/source/ui/dlg/UserAdmin.hxx
index 5697ae578db0..41eae665aa80 100644
--- a/dbaccess/source/ui/dlg/UserAdmin.hxx
+++ b/dbaccess/source/ui/dlg/UserAdmin.hxx
@@ -23,7 +23,6 @@
 #include <vcl/field.hxx>
 #include <vcl/lstbox.hxx>
 #include <vcl/button.hxx>
-#include <vcl/dialog.hxx>
 #include <TableGrantCtrl.hxx>
 #include "adminpages.hxx"
 
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx
index d19e94e6925d..f4e4204d9c4c 100644
--- a/dbaccess/source/ui/dlg/sqlmessage.cxx
+++ b/dbaccess/source/ui/dlg/sqlmessage.cxx
@@ -25,14 +25,9 @@
 #include <com/sun/star/sdbc/SQLException.hpp>
 #include <com/sun/star/sdb/SQLContext.hpp>
 #include <vcl/button.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/fixed.hxx>
 #include <vcl/weld.hxx>
 #include <vcl/svapp.hxx>
 #include <osl/diagnose.h>
-#include <vcl/treelistbox.hxx>
-#include <vcl/treelistentry.hxx>
-#include <svtools/svmedit.hxx>
 #include <connectivity/dbexception.hxx>
 #include <connectivity/sqlerror.hxx>
 #include <unotools/configmgr.hxx>
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index e3aa76890a40..5786c1e84c74 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -19,16 +19,8 @@
 #ifndef INCLUDED_SVX_SRCHDLG_HXX
 #define INCLUDED_SVX_SRCHDLG_HXX
 
-#include <vcl/combobox.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/button.hxx>
-#include <vcl/layout.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/dialog.hxx>
 #include <sfx2/childwin.hxx>
 #include <sfx2/basedlgs.hxx>
-#include <svtools/svmedit.hxx>
 #include <svl/srchdefs.hxx>
 #include <svl/itempool.hxx>
 #include <svx/svxdllapi.h>
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 3ef977acedbf..8eba70390954 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -59,6 +59,7 @@
 #include <svx/srchdlg.hxx>
 #include <vcl/button.hxx>
 #include <vcl/combobox.hxx>
+#include <vcl/event.hxx>
 #include <vcl/fixed.hxx>
 #include <vcl/window.hxx>
 
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index a18b50e75191..eee49fc35df0 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -22,7 +22,6 @@
 #include <vcl/ctrl.hxx>
 #include <vcl/floatwin.hxx>
 #include <vcl/decoview.hxx>
-#include <vcl/dialog.hxx>
 #include <vcl/salnativewidgets.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/uitest/logger.hxx>
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 43d6520bfbab..1e82fed403c8 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -26,8 +26,7 @@
 
 #include <comphelper/string.hxx>
 
-
-#include <vcl/dialog.hxx>
+#include <vcl/builder.hxx>
 #include <vcl/field.hxx>
 #include <vcl/event.hxx>
 #include <vcl/svapp.hxx>
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index 365c421e9b34..699de1534e11 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -18,7 +18,6 @@
  */
 
 #include <vcl/decoview.hxx>
-#include <vcl/dialog.hxx>
 #include <vcl/event.hxx>
 #include <vcl/fixed.hxx>
 #include <vcl/ImageTree.hxx>
diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx
index dc332b3a8df2..b5e924a52b5f 100644
--- a/vcl/source/control/listbox.cxx
+++ b/vcl/source/control/listbox.cxx
@@ -20,7 +20,6 @@
 
 #include <vcl/commandevent.hxx>
 #include <vcl/decoview.hxx>
-#include <vcl/dialog.hxx>
 #include <vcl/event.hxx>
 #include <vcl/scrbar.hxx>
 #include <vcl/button.hxx>


More information about the Libreoffice-commits mailing list