From 99bfc363a6f6779d0be2284f85a9131254bce1f9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 18 Sep 2015 15:10:41 +0200 Subject: convert Link<> to typed Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/slideshow/showwin.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sd/source/ui/slideshow/showwin.cxx') diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx index 6bac4037cd7a..2854779ac0d6 100644 --- a/sd/source/ui/slideshow/showwin.cxx +++ b/sd/source/ui/slideshow/showwin.cxx @@ -583,17 +583,16 @@ IMPL_LINK_NOARG_TYPED(ShowWindow, MouseTimeoutHdl, Timer *, void) } } -IMPL_LINK( ShowWindow, EventHdl, VclWindowEvent*, pEvent ) +IMPL_LINK_TYPED( ShowWindow, EventHdl, VclWindowEvent&, rEvent, void ) { if( mbMouseAutoHide ) { - if (pEvent->GetId() == VCLEVENT_WINDOW_SHOW) + if (rEvent.GetId() == VCLEVENT_WINDOW_SHOW) { maMouseTimer.SetTimeout( HIDE_MOUSE_TIMEOUT ); maMouseTimer.Start(); } } - return 0L; } void ShowWindow::SetPresentationArea( const Rectangle& rPresArea ) -- cgit v1.2.3