diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-04 17:28:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 10:21:54 +0200 |
commit | 8cafd08278c0b925aac91ea94d8f907d98f07047 (patch) | |
tree | 1c2b0e57c895511fdc67f8063647cc520ef5eaeb /basctl | |
parent | 3363f828d63775a11073276dce927b9538b57be6 (diff) |
Use typed Timer::SetTimeoutHdl Link
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlgedfunc.cxx | 3 | ||||
-rw-r--r-- | basctl/source/inc/dlgedfunc.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/basctl/source/dlged/dlgedfunc.cxx b/basctl/source/dlged/dlgedfunc.cxx index 05ca39ddede5..3840ba98390e 100644 --- a/basctl/source/dlged/dlgedfunc.cxx +++ b/basctl/source/dlged/dlgedfunc.cxx @@ -27,14 +27,13 @@ namespace basctl { -IMPL_LINK( DlgEdFunc, ScrollTimeout, Timer *, pTimer ) +IMPL_LINK_TYPED( DlgEdFunc, ScrollTimeout, Timer *, pTimer, void ) { (void)pTimer; vcl::Window& rWindow = rParent.GetWindow(); Point aPos = rWindow.ScreenToOutputPixel( rWindow.GetPointerPosPixel() ); aPos = rWindow.PixelToLogic( aPos ); ForceScroll( aPos ); - return 0; } void DlgEdFunc::ForceScroll( const Point& rPos ) diff --git a/basctl/source/inc/dlgedfunc.hxx b/basctl/source/inc/dlgedfunc.hxx index d6982debb4b4..50148b3baa66 100644 --- a/basctl/source/inc/dlgedfunc.hxx +++ b/basctl/source/inc/dlgedfunc.hxx @@ -35,7 +35,7 @@ protected: DlgEditor& rParent; Timer aScrollTimer; - DECL_LINK( ScrollTimeout, Timer * ); + DECL_LINK_TYPED( ScrollTimeout, Timer *, void ); void ForceScroll( const Point& rPos ); public: |