diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index bf2fc8f86314..ab0ec278edcb 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -235,7 +235,7 @@ protected: DECL_LINK_TYPED( ButtonHdl, Button *, void ); DECL_LINK(TreeListHdl, void *); - DECL_LINK( implEndDragHdl, HeaderBar * ); + DECL_LINK_TYPED( implEndDragHdl, HeaderBar *, void ); DECL_LINK_TYPED( EditAccHdl, Accelerator *, void ); diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 786f6d7bcfed..168d441e92bd 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1799,10 +1799,8 @@ IMPL_LINK_NOARG(WatchWindow, TreeListHdl) return 0; } -IMPL_LINK( WatchWindow, implEndDragHdl, HeaderBar *, pBar ) +IMPL_LINK_NOARG_TYPED( WatchWindow, implEndDragHdl, HeaderBar *, void ) { - (void)pBar; - const sal_Int32 TAB_WIDTH_MIN = 10; sal_Int32 nMaxWidth = aHeaderBar->GetSizePixel().getWidth() - 2 * TAB_WIDTH_MIN; @@ -1829,7 +1827,6 @@ IMPL_LINK( WatchWindow, implEndDragHdl, HeaderBar *, pBar ) nPos += aHeaderBar->GetItemSize( i ); aTreeListBox->SetTab( i, nPos, MAP_PIXEL ); } - return 0; } IMPL_LINK_TYPED( WatchWindow, EditAccHdl, Accelerator *, pAcc, void ) |