summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-28 15:51:24 +0200
committerNoel Grandin <noel@peralex.com>2015-08-31 09:50:10 +0200
commit68ddda0f3fff8bc435c2a5fd60d1e7eff5359916 (patch)
tree06d730e9a30d3f2e4fb7ae333642d5ad6b350e3b /basctl
parent7b096a6da180bb11ffbff15c9a5358c63596cc34 (diff)
convert Link<> to typed
Change-Id: I53b0a7a9875a3ebcca915c8f2d8c53face6f9509
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.hxx2
-rw-r--r--basctl/source/basicide/baside2b.cxx5
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 )