summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-05 09:59:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-05 12:05:38 +0200
commitc9b4c5681194a1cd3297a36d4a1f4e4cc3aac55a (patch)
tree2cb864a67b556f807ba175507296f7dfc5254944 /svx/source/stbctrls
parent8c4a1663f5d93380268365d35a5581d8065df897 (diff)
Use typed Idle::SetIdleHdl Link
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
Diffstat (limited to 'svx/source/stbctrls')
-rw-r--r--svx/source/stbctrls/modctrl.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx
index 701562908270..41d66e0c07f0 100644
--- a/svx/source/stbctrls/modctrl.cxx
+++ b/svx/source/stbctrls/modctrl.cxx
@@ -108,17 +108,15 @@ void SvxModifyControl::StateChanged( sal_uInt16, SfxItemState eState,
-IMPL_LINK( SvxModifyControl, OnTimer, Timer *, pTimer )
+IMPL_LINK_TYPED( SvxModifyControl, OnTimer, Idle *, pTimer, void )
{
if (pTimer == 0)
- return 0;
+ return;
pTimer->Stop();
mxImpl->mnModState = ImplData::MODIFICATION_STATE_NO;
_repaint();
-
- return 0;
}