[Libreoffice-commits] core.git: 2 commits - chart2/inc chart2/source cui/source dbaccess/source extensions/source include/vcl sc/source sfx2/source vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 4 18:40:31 UTC 2019
chart2/inc/pch/precompiled_chartcontroller.hxx | 1 -
chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx | 3 +--
chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx | 1 -
cui/source/customize/acccfg.cxx | 1 -
cui/source/customize/cfg.cxx | 1 -
dbaccess/source/ui/inc/opendoccontrols.hxx | 1 -
extensions/source/update/ui/updatecheckui.cxx | 3 +--
include/vcl/edit.hxx | 1 -
include/vcl/timer.hxx | 3 +++
sc/source/ui/inc/crnrdlg.hxx | 1 -
sfx2/source/doc/templatedlg.cxx | 1 -
vcl/source/window/printdlg.cxx | 7 ++-----
12 files changed, 7 insertions(+), 17 deletions(-)
New commits:
commit c6f0192114f1d09a9247199ef05149e75cfacb36
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 4 10:50:07 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 4 20:39:36 2019 +0200
drop unnecessary includes
Change-Id: I2d6828734cfdf795499d54e1b1e8ba9fc4b5a4d1
Reviewed-on: https://gerrit.libreoffice.org/80197
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/chart2/inc/pch/precompiled_chartcontroller.hxx b/chart2/inc/pch/precompiled_chartcontroller.hxx
index a55adf8f574c..f7745a5cbe19 100644
--- a/chart2/inc/pch/precompiled_chartcontroller.hxx
+++ b/chart2/inc/pch/precompiled_chartcontroller.hxx
@@ -100,7 +100,6 @@
#include <vcl/dllapi.h>
#include <vcl/dndhelp.hxx>
#include <vcl/dockwin.hxx>
-#include <vcl/edit.hxx>
#include <vcl/errcode.hxx>
#include <vcl/floatwin.hxx>
#include <vcl/fntstyle.hxx>
diff --git a/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx b/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx
index 55273a76fd3c..166846da6c99 100644
--- a/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx
+++ b/chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx
@@ -17,11 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <com/sun/star/frame/XModel.hpp>
#include <TimerTriggeredControllerLock.hxx>
#include <ControllerLockGuard.hxx>
-#include <vcl/edit.hxx>
-
namespace chart
{
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx
index af08b2e1751c..238df9a00787 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx
@@ -26,7 +26,6 @@
#include <com/sun/star/drawing/ProjectionMode.hpp>
#include <tools/diagnose_ex.h>
#include <tools/helpers.hxx>
-#include <vcl/edit.hxx>
#include <vcl/svapp.hxx>
namespace chart
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index 074aba0787c5..e4623e69300f 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -29,7 +29,6 @@
#include <sfx2/sfxresid.hxx>
#include <sal/macros.h>
-#include <vcl/edit.hxx>
#include <vcl/event.hxx>
#include <strings.hrc>
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index d7ae97113ebb..79977a220ab5 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -26,7 +26,6 @@
#include <vcl/stdtext.hxx>
#include <vcl/commandinfoprovider.hxx>
-#include <vcl/edit.hxx>
#include <vcl/event.hxx>
#include <vcl/graph.hxx>
#include <vcl/svapp.hxx>
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index 4bc66c5322d3..2634b18fcc01 100644
--- a/include/vcl/edit.hxx
+++ b/include/vcl/edit.hxx
@@ -49,7 +49,6 @@ struct DDInfo;
struct Impl_IMEInfos;
#define EDIT_NOLIMIT SAL_MAX_INT32
-#define EDIT_UPDATEDATA_TIMEOUT 350
typedef OUString (*FncGetSpecialChars)( weld::Widget* pWin, const vcl::Font& rFont );
diff --git a/include/vcl/timer.hxx b/include/vcl/timer.hxx
index 88f1558b8518..2ee882f60596 100644
--- a/include/vcl/timer.hxx
+++ b/include/vcl/timer.hxx
@@ -76,6 +76,9 @@ public:
AutoTimer( const sal_Char *pDebugName = nullptr );
};
+/// Value suitable as a timeout user input into an EditBox to an expensive update
+#define EDIT_UPDATEDATA_TIMEOUT 350
+
#endif // INCLUDED_VCL_TIMER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index aac1a07935d9..db83da0140bd 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -37,7 +37,6 @@
#include <unotools/moduleoptions.hxx>
#include <unotools/pathoptions.hxx>
#include <unotools/viewoptions.hxx>
-#include <vcl/edit.hxx>
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
commit ea00e07467daf81c113ee9bb75e6f205c373dba1
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 4 09:41:57 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 4 20:39:17 2019 +0200
drop some unnecessary includes
Change-Id: I5bea83184dd900215ca6f60ba23a4d724789c753
Reviewed-on: https://gerrit.libreoffice.org/80190
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/dbaccess/source/ui/inc/opendoccontrols.hxx b/dbaccess/source/ui/inc/opendoccontrols.hxx
index 1a38fc1c893d..56e80a5ca2d3 100644
--- a/dbaccess/source/ui/inc/opendoccontrols.hxx
+++ b/dbaccess/source/ui/inc/opendoccontrols.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_OPENDOCCONTROLS_HXX
#define INCLUDED_DBACCESS_SOURCE_UI_INC_OPENDOCCONTROLS_HXX
-#include <vcl/button.hxx>
#include <vcl/weld.hxx>
#include <rtl/ustring.hxx>
#include <map>
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index 6f510dba8a1a..d96132fe3f53 100644
--- a/extensions/source/update/ui/updatecheckui.cxx
+++ b/extensions/source/update/ui/updatecheckui.cxx
@@ -38,11 +38,10 @@
#include <vcl/floatwin.hxx>
#include <vcl/timer.hxx>
#include <vcl/idle.hxx>
+#include <vcl/lineinfo.hxx>
#include <vcl/menu.hxx>
#include <vcl/outdev.hxx>
#include <vcl/weld.hxx>
-#include <vcl/lineinfo.hxx>
-#include <vcl/button.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/strings.hrc>
diff --git a/sc/source/ui/inc/crnrdlg.hxx b/sc/source/ui/inc/crnrdlg.hxx
index 697721e4668b..5054476613a5 100644
--- a/sc/source/ui/inc/crnrdlg.hxx
+++ b/sc/source/ui/inc/crnrdlg.hxx
@@ -22,7 +22,6 @@
#include "anyrefdg.hxx"
#include <rangelst.hxx>
-#include <vcl/lstbox.hxx>
#include <unordered_map>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 4b417f7bbb7e..c9ad27e2e7c1 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -22,19 +22,16 @@
#include <strings.hrc>
#include <bitmaps.hlst>
+#include <vcl/commandevent.hxx>
+#include <vcl/lstbox.hxx>
#include <vcl/print.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/button.hxx>
#include <vcl/wall.hxx>
#include <vcl/decoview.hxx>
#include <vcl/configsettings.hxx>
#include <vcl/help.hxx>
-#include <vcl/layout.hxx>
#include <vcl/svapp.hxx>
-#include <vcl/tabpage.hxx>
#include <vcl/settings.hxx>
#include <vcl/virdev.hxx>
-#include <vcl/lstbox.hxx>
#include <unotools/localedatawrapper.hxx>
More information about the Libreoffice-commits
mailing list