summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/adtabdlg.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 /dbaccess/source/ui/dlg/adtabdlg.cxx
parent46a27805fb707544a844a961a3743b8b992282f0 (diff)
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'dbaccess/source/ui/dlg/adtabdlg.cxx')
-rw-r--r--dbaccess/source/ui/dlg/adtabdlg.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx
index cd5e097f8165..575af56e9b00 100644
--- a/dbaccess/source/ui/dlg/adtabdlg.cxx
+++ b/dbaccess/source/ui/dlg/adtabdlg.cxx
@@ -417,10 +417,9 @@ void OAddTableDlg::impl_addTable()
}
}
-IMPL_LINK( OAddTableDlg, AddClickHdl, Button*, /*pButton*/ )
+IMPL_LINK_NOARG_TYPED( OAddTableDlg, AddClickHdl, Button*, void )
{
TableListDoubleClickHdl(NULL);
- return 0;
}
IMPL_LINK_NOARG( OAddTableDlg, TableListDoubleClickHdl )
@@ -442,18 +441,17 @@ IMPL_LINK_NOARG( OAddTableDlg, TableListSelectHdl )
return 0;
}
-IMPL_LINK( OAddTableDlg, CloseClickHdl, Button*, /*pButton*/ )
+IMPL_LINK_NOARG_TYPED( OAddTableDlg, CloseClickHdl, Button*, void )
{
- return int(Close());
+ Close();
}
-IMPL_LINK_NOARG( OAddTableDlg, OnTypeSelected )
+IMPL_LINK_NOARG_TYPED( OAddTableDlg, OnTypeSelected, Button*, void )
{
if ( m_pCaseTables->IsChecked() )
impl_switchTo( Tables );
else
impl_switchTo( Queries );
- return 0;
}
bool OAddTableDlg::Close()