summaryrefslogtreecommitdiffstats
path: root/slideshow/test
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-20 17:22:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-21 07:44:43 +0000
commit382eb1a23c390154619c385414bdbe6f6e461173 (patch)
treedbd1970c3d36903b78ed4c754f5faf14f57755c7 /slideshow/test
parentsw: prefix members of SwPageFrm (diff)
downloadcore-382eb1a23c390154619c385414bdbe6f6e461173.tar.gz
core-382eb1a23c390154619c385414bdbe6f6e461173.zip
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/test')
-rw-r--r--slideshow/test/demoshow.cxx5
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*/ )