summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/dlged/dlgedfunc.cxx3
-rw-r--r--basctl/source/inc/dlgedfunc.hxx2
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: