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 /vcl/workben | |
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 'vcl/workben')
-rw-r--r-- | vcl/workben/vcldemo.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index 9ae1cd1409a3..03493cdbea05 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -169,7 +169,7 @@ public: FloatingWindow *mpButtonWin; AutoTimer maBounce; int mnBounceX, mnBounceY; - DECL_LINK(BounceTimerCb, void *); + DECL_LINK_TYPED(BounceTimerCb, Timer*, void); #endif bool MouseButtonDown(const MouseEvent& rMEvt); @@ -1164,7 +1164,7 @@ public: }; #if FIXME_BOUNCE_BUTTON -IMPL_LINK_NOARG(DemoRenderer,BounceTimerCb) +IMPL_LINK_NOARG_TYPED(DemoRenderer,BounceTimerCb,Timer*,void) { mpButton->Check(mnBounceX>0); mpButton->SetPressed(mnBounceY>0); @@ -1182,7 +1182,6 @@ IMPL_LINK_NOARG(DemoRenderer,BounceTimerCb) // All smoke and mirrors to test sub-region invalidation underneath Rectangle aRect(aCur, mpButtonWin->GetSizePixel()); Invalidate(aRect); - return 0; } #endif |