summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-04 10:50:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-04 20:39:36 +0200
commitc6f0192114f1d09a9247199ef05149e75cfacb36 (patch)
tree6863d4bf007623a7b2fa0ce2209d153eeff3b753
parentea00e07467daf81c113ee9bb75e6f205c373dba1 (diff)
drop unnecessary includes
Change-Id: I2d6828734cfdf795499d54e1b1e8ba9fc4b5a4d1 Reviewed-on: https://gerrit.libreoffice.org/80197 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--chart2/inc/pch/precompiled_chartcontroller.hxx1
-rw-r--r--chart2/source/controller/dialogs/TimerTriggeredControllerLock.cxx3
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx1
-rw-r--r--cui/source/customize/acccfg.cxx1
-rw-r--r--cui/source/customize/cfg.cxx1
-rw-r--r--include/vcl/edit.hxx1
-rw-r--r--include/vcl/timer.hxx3
-rw-r--r--sfx2/source/doc/templatedlg.cxx1
8 files changed, 4 insertions, 8 deletions
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>