diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 09:59:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 12:05:38 +0200 |
commit | c9b4c5681194a1cd3297a36d4a1f4e4cc3aac55a (patch) | |
tree | 2cb864a67b556f807ba175507296f7dfc5254944 /sd/source/ui/slidesorter/controller/SlsAnimator.cxx | |
parent | 8c4a1663f5d93380268365d35a5581d8065df897 (diff) |
Use typed Idle::SetIdleHdl Link
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsAnimator.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsAnimator.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx index e2f909075953..0d43120c134f 100644 --- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx +++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx @@ -219,10 +219,10 @@ void Animator::RequestNextFrame (const double nFrameStart) } } -IMPL_LINK_NOARG(Animator, TimeoutHandler) +IMPL_LINK_NOARG_TYPED(Animator, TimeoutHandler, Idle *, void) { if (mbIsDisposed) - return 0; + return; if (ProcessAnimations(maElapsedTime.getElapsedTime())) CleanUpAnimationList(); @@ -232,8 +232,6 @@ IMPL_LINK_NOARG(Animator, TimeoutHandler) if (!maAnimations.empty()) RequestNextFrame(); - - return 0; } //===== Animator::Animation =================================================== |