summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTobias Madl <tobias.madl.dev@gmail.com>2015-01-14 13:11:28 +0000
committerTobias Madl <tobias.madl.dev@gmail.com>2015-03-06 12:27:06 +0000
commit57656eb1fae5ae6c4d3b7542a385a93ff434e4e7 (patch)
tree7dc672090c6236ef7bd5a2bf5278cd03b89e2ef8 /starmath
parent49524c6dcf04b9dadef8d2b084cf26abcf70b8a9 (diff)
Idle and Timer are now completely independent
And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/edit.hxx4
-rw-r--r--starmath/source/edit.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx
index ece88249cee5..601b3b9a1667 100644
--- a/starmath/inc/edit.hxx
+++ b/starmath/inc/edit.hxx
@@ -64,8 +64,8 @@ class SmEditWindow : public vcl::Window, public DropTargetHelper
virtual void KeyInput(const KeyEvent& rKEvt) SAL_OVERRIDE;
virtual void Command(const CommandEvent& rCEvt) SAL_OVERRIDE;
DECL_LINK(MenuSelectHdl, Menu *);
- DECL_LINK(ModifyTimerHdl, Timer *);
- DECL_LINK(CursorMoveTimerHdl, Timer *);
+ DECL_LINK(ModifyTimerHdl, Idle *);
+ DECL_LINK(CursorMoveTimerHdl, Idle *);
virtual void DataChanged( const DataChangedEvent& ) SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 6d9d166ded18..41d50c2f115c 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -244,14 +244,14 @@ void SmEditWindow::DataChanged( const DataChangedEvent& )
Resize();
}
-IMPL_LINK( SmEditWindow, ModifyTimerHdl, Timer *, EMPTYARG /*pTimer*/ )
+IMPL_LINK( SmEditWindow, ModifyTimerHdl, Idle *, EMPTYARG /*pTimer*/ )
{
UpdateStatus();
aModifyIdle.Stop();
return 0;
}
-IMPL_LINK(SmEditWindow, CursorMoveTimerHdl, Timer *, EMPTYARG /*pTimer*/)
+IMPL_LINK(SmEditWindow, CursorMoveTimerHdl, Idle *, EMPTYARG /*pTimer*/)
// every once in a while check cursor position (selection) of edit
// window and if it has changed (try to) set the formula-cursor
// according to that.