From 167bc621ef825ed5b961502fe9324a675ee34e42 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 19 Aug 2015 09:11:34 +0200 Subject: Convert vcl Button Link<> click handler to typed Link Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b --- cui/source/dialogs/dlgname.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cui/source/dialogs/dlgname.cxx') diff --git a/cui/source/dialogs/dlgname.cxx b/cui/source/dialogs/dlgname.cxx index b16f85284b35..c0f4ce69d054 100644 --- a/cui/source/dialogs/dlgname.cxx +++ b/cui/source/dialogs/dlgname.cxx @@ -191,18 +191,16 @@ void SvxMessDialog::dispose() /*************************************************************************/ -IMPL_LINK_NOARG(SvxMessDialog, Button1Hdl) +IMPL_LINK_NOARG_TYPED(SvxMessDialog, Button1Hdl, Button*, void) { EndDialog( RET_BTN_1 ); - return 0; } /*************************************************************************/ -IMPL_LINK_NOARG(SvxMessDialog, Button2Hdl) +IMPL_LINK_NOARG_TYPED(SvxMessDialog, Button2Hdl, Button*, void) { EndDialog( RET_BTN_2 ); - return 0; } /*************************************************************************/ -- cgit