diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-20 17:22:00 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-21 07:44:43 +0000 |
commit | 382eb1a23c390154619c385414bdbe6f6e461173 (patch) | |
tree | dbd1970c3d36903b78ed4c754f5faf14f57755c7 /slideshow | |
parent | 652933e8fe46b24049ad0a6e61811727b1965aea (diff) |
remove untyped Link<>
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b
Reviewed-on: https://gerrit.libreoffice.org/19491
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/test/demoshow.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx index 507ecc6ccb26..b18efdd8c05a 100644 --- a/slideshow/test/demoshow.cxx +++ b/slideshow/test/demoshow.cxx @@ -390,7 +390,7 @@ public: private: void init(); - DECL_LINK( updateHdl, Timer* ); + DECL_LINK_TYPED( updateHdl, Timer*, void ); ChildWindow maLeftChild; ChildWindow maRightTopChild; @@ -463,13 +463,12 @@ void DemoWindow::init() } } -IMPL_LINK_NOARG(DemoWindow, updateHdl) +IMPL_LINK_NOARG_TYPED(DemoWindow, updateHdl, Timer*, void) { init(); if( mxShow.is() ) mxShow->update(0); - return 0; } void DemoWindow::Paint( const Rectangle& /*rRect*/ ) |