summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/RelationDlg.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/RelationDlg.cxx
parent46a27805fb707544a844a961a3743b8b992282f0 (diff)
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'dbaccess/source/ui/dlg/RelationDlg.cxx')
-rw-r--r--dbaccess/source/ui/dlg/RelationDlg.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx
index a408c34b9786..7ce766d8c96f 100644
--- a/dbaccess/source/ui/dlg/RelationDlg.cxx
+++ b/dbaccess/source/ui/dlg/RelationDlg.cxx
@@ -152,7 +152,7 @@ void ORelationDialog::Init(const TTableConnectionData::value_type& _pConnectionD
}
}
-IMPL_LINK( ORelationDialog, OKClickHdl, Button*, /*pButton*/ )
+IMPL_LINK_NOARG_TYPED( ORelationDialog, OKClickHdl, Button*, void )
{
// RadioButtons auslesen
sal_uInt16 nAttrib = 0;
@@ -197,7 +197,7 @@ IMPL_LINK( ORelationDialog, OKClickHdl, Button*, /*pButton*/ )
{
m_pOrigConnData->CopyFrom( *m_pConnData );
EndDialog( RET_OK );
- return 0L;
+ return;
}
}
catch( const SQLException& )
@@ -219,8 +219,6 @@ IMPL_LINK( ORelationDialog, OKClickHdl, Button*, /*pButton*/ )
Init(m_pConnData);
m_xTableControl->Init( m_pConnData );
m_xTableControl->lateInit();
-
- return 0;
}
short ORelationDialog::Execute()