summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2009-11-06 10:10:07 +0000
committerThomas Lange <tl@openoffice.org>2009-11-06 10:10:07 +0000
commit388486a510c8f5b04132a614fa5f2c330d229248 (patch)
treec1c25cca21ff5820f7baa870dcf2672872597059
parent7c6655e920297562e6bc00da82fd9eed49a2bfd6 (diff)
#i106487# fix for unnecessary calls to timer
-rw-r--r--starmath/source/edit.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index eea792904f48..d6414855f59d 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -122,8 +122,7 @@ SmEditWindow::SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin ) :
SetBackground( GetSettings().GetStyleSettings().GetWindowColor() );
aModifyTimer.SetTimeoutHdl(LINK(this, SmEditWindow, ModifyTimerHdl));
- aModifyTimer.SetTimeout(2000);
- aModifyTimer.Start();
+ aModifyTimer.SetTimeout(500);
aCursorMoveTimer.SetTimeoutHdl(LINK(this, SmEditWindow, CursorMoveTimerHdl));
aCursorMoveTimer.SetTimeout(500);
@@ -256,7 +255,6 @@ IMPL_LINK( SmEditWindow, ModifyTimerHdl, Timer *, EMPTYARG /*pTimer*/ )
SmModule *pp = SM_MOD();
if (pp->GetConfig()->IsAutoRedraw())
Flush();
- aModifyTimer.Start();
return 0;
}