summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/layctrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-19 09:11:34 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 11:15:35 +0200
commit167bc621ef825ed5b961502fe9324a675ee34e42 (patch)
tree523838d8adc14a62f846529ee6eab3343b2fe87b /svx/source/tbxctrls/layctrl.cxx
parent46a27805fb707544a844a961a3743b8b992282f0 (diff)
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'svx/source/tbxctrls/layctrl.cxx')
-rw-r--r--svx/source/tbxctrls/layctrl.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx
index 96edbf0932d3..bfa401734dd8 100644
--- a/svx/source/tbxctrls/layctrl.cxx
+++ b/svx/source/tbxctrls/layctrl.cxx
@@ -69,7 +69,7 @@ private:
long mnTableWidth;
long mnTableHeight;
- DECL_LINK( SelectHdl, void * );
+ DECL_LINK_TYPED( SelectHdl, Button*, void );
public:
TableWindow( sal_uInt16 nSlotId,
@@ -96,10 +96,9 @@ const long TableWindow::TABLE_CELLS_VERT = 15;
-IMPL_LINK_NOARG(TableWindow, SelectHdl)
+IMPL_LINK_NOARG_TYPED(TableWindow, SelectHdl, Button*, void)
{
CloseAndShowTableDialog();
- return 0;
}