diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-31 13:41:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-04 13:08:30 +0200 |
commit | 2ec22477739d2c075e7d9997c3e90cb1a512f63f (patch) | |
tree | 44bd0825fe930703c393a78e771670fa0b52dce4 /basctl | |
parent | 66a205d56f4ebd3ce6f32472ce90eb2c94f6f840 (diff) |
convert Link<> to typed
Change-Id: I743c74b134552eefb14d35e54491494160f1ffbd
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 9 | ||||
-rw-r--r-- | basctl/source/inc/basidesh.hxx | 4 |
2 files changed, 4 insertions, 9 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index a0c26a0f5a25..979d2dcaa349 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -449,23 +449,18 @@ void Shell::OuterResizePixel( const Point &rPos, const Size &rSize ) } -IMPL_LINK( Shell, TabBarSplitHdl, TabBar *, pTBar ) +IMPL_LINK_NOARG_TYPED( Shell, TabBarSplitHdl, ::TabBar *, void ) { - (void)pTBar; bTabBarSplitted = true; ArrangeTabBar(); - - return 0; } -IMPL_LINK( Shell, TabBarHdl, TabBar *, pCurTabBar ) +IMPL_LINK_TYPED( Shell, TabBarHdl, ::TabBar *, pCurTabBar, void ) { sal_uInt16 nCurId = pCurTabBar->GetCurPageId(); BaseWindow* pWin = aWindowTable[ nCurId ]; DBG_ASSERT( pWin, "Eintrag in TabBar passt zu keinem Fenster!" ); SetCurWindow( pWin ); - - return 0; } diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index eed997708905..9206e01ea381 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -105,8 +105,8 @@ private: void ImplStartListening( StarBASIC* pBasic ); - DECL_LINK( TabBarHdl, TabBar* ); - DECL_LINK( TabBarSplitHdl, TabBar * ); + DECL_LINK_TYPED( TabBarHdl, ::TabBar*, void ); + DECL_LINK_TYPED( TabBarSplitHdl, ::TabBar *, void ); static unsigned nShellCount; |