summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/edit.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 6b7975f57e22..2f0ad530ad37 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -256,20 +256,19 @@ void SmEditWindow::DataChanged( const DataChangedEvent& )
Resize();
}
-IMPL_LINK( SmEditWindow, ModifyTimerHdl, Idle *, EMPTYARG /*pTimer*/ )
+IMPL_LINK_NOARG_TYPED( SmEditWindow, ModifyTimerHdl, Idle *, void )
{
UpdateStatus();
aModifyIdle.Stop();
- return 0;
}
-IMPL_LINK(SmEditWindow, CursorMoveTimerHdl, Idle *, EMPTYARG /*pTimer*/)
+IMPL_LINK_NOARG_TYPED(SmEditWindow, CursorMoveTimerHdl, Idle *, void)
// 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.
{
if (IsInlineEditEnabled())
- return 0;
+ return;
ESelection aNewSelection(GetSelection());
@@ -289,8 +288,6 @@ IMPL_LINK(SmEditWindow, CursorMoveTimerHdl, Idle *, EMPTYARG /*pTimer*/)
}
}
aCursorMoveIdle.Stop();
-
- return 0;
}
void SmEditWindow::Resize()