From 826143684d2697a8620373dce18fa5f24332d5cb Mon Sep 17 00:00:00 2001 From: Tobias Madl Date: Wed, 14 Jan 2015 10:21:20 +0100 Subject: Timer: Adapted all idle includes and enum uses Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da --- starmath/inc/edit.hxx | 1 + starmath/source/edit.cxx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'starmath') diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx index 4aef879139f3..ece88249cee5 100644 --- a/starmath/inc/edit.hxx +++ b/starmath/inc/edit.hxx @@ -21,6 +21,7 @@ #include #include +#include #include #include #include diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index 78a28c2029ac..6d9d166ded18 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -107,12 +107,12 @@ SmEditWindow::SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin ) : SetBackground( GetSettings().GetStyleSettings().GetWindowColor() ); aModifyIdle.SetIdleHdl(LINK(this, SmEditWindow, ModifyTimerHdl)); - aModifyIdle.SetPriority(VCL_IDLE_PRIORITY_LOWEST); + aModifyIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST); if (!IsInlineEditEnabled()) { aCursorMoveIdle.SetIdleHdl(LINK(this, SmEditWindow, CursorMoveTimerHdl)); - aCursorMoveIdle.SetPriority(VCL_IDLE_PRIORITY_LOWEST); + aCursorMoveIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST); } // if not called explicitly the this edit window within the -- cgit