summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-18 09:39:28 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-20 06:35:47 +0000
commit81e1e318bb47d4dc2f479ac1809d355c117f8ce8 (patch)
tree0a5786ea6a1b9bb35438b7f9351ddad5e89d7b96 /sd/source/ui
parent75d339175e06334de42108c2e26adca65700608a (diff)
convert Link<> to typed
Change-Id: If7fdd97d3c317a8e31641cc096c2c2639c1e012e Reviewed-on: https://gerrit.libreoffice.org/18698 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx6
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.hxx8
2 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index d36cd09a2e6c..25a0a1f82a89 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1788,7 +1788,7 @@ IMPL_LINK_NOARG_TYPED(SlideshowImpl, updateHdl, Timer *, void)
updateSlideShow();
}
-IMPL_LINK_NOARG(SlideshowImpl, PostYieldListener)
+IMPL_LINK_NOARG_TYPED(SlideshowImpl, PostYieldListener, LinkParamNone*, void)
{
// prevent me from deletion when recursing (App::Reschedule does)
const rtl::Reference<SlideshowImpl> this_(this);
@@ -1799,9 +1799,9 @@ IMPL_LINK_NOARG(SlideshowImpl, PostYieldListener)
// *all* outstanding events after
// yield is done.
if (mbDisposed)
- return 0;
+ return;
Application::Reschedule(true);
- return updateSlideShow();
+ updateSlideShow();
}
sal_Int32 SlideshowImpl::updateSlideShow()
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index a7af2838e268..06ac09ef791a 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -274,13 +274,13 @@ private:
void setActiveXToolbarsVisible( bool bVisible );
- DECL_LINK_TYPED(updateHdl, Timer *, void);
- DECL_LINK( PostYieldListener, void* );
- DECL_LINK_TYPED(ReadyForNextInputHdl, Timer *, void);
+ DECL_LINK_TYPED( updateHdl, Timer *, void );
+ DECL_LINK_TYPED( PostYieldListener, LinkParamNone*, void );
+ DECL_LINK_TYPED( ReadyForNextInputHdl, Timer *, void );
DECL_LINK_TYPED( endPresentationHdl, void*, void );
DECL_LINK_TYPED( ContextMenuSelectHdl, Menu *, bool );
DECL_LINK_TYPED( ContextMenuHdl, void*, void );
- DECL_LINK_TYPED(deactivateHdl, Timer *, void);
+ DECL_LINK_TYPED( deactivateHdl, Timer *, void );
DECL_LINK( EventListenerHdl, VclSimpleEvent* );
// helper