diff options
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r-- | vcl/source/window/layout.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 090a70c9e570..ddc3a7a5c73b 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -2053,10 +2053,9 @@ void MessageDialog::response(short nResponseId) EndDialog(nResponseId); } -IMPL_LINK(MessageDialog, ButtonHdl, Button *, pButton) +IMPL_LINK_TYPED(MessageDialog, ButtonHdl, Button *, pButton, void) { response(get_response(pButton)); - return 0; } short MessageDialog::get_response(const vcl::Window *pWindow) const |