diff options
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; |