diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-01-14 10:21:20 +0100 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-06 12:27:05 +0000 |
commit | 826143684d2697a8620373dce18fa5f24332d5cb (patch) | |
tree | 88be6f99b02c8c9fea849c3125b9e23a18be65f9 /starmath | |
parent | d8305248f687ffa522b56955508d82d60ad5b8c6 (diff) |
Timer: Adapted all idle includes and enum uses
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/edit.hxx | 1 | ||||
-rw-r--r-- | starmath/source/edit.cxx | 4 |
2 files changed, 3 insertions, 2 deletions
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 <vcl/window.hxx> #include <vcl/timer.hxx> +#include <vcl/idle.hxx> #include <svtools/transfer.hxx> #include <editeng/editdata.hxx> #include <svtools/colorcfg.hxx> 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 |