diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-30 16:58:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-30 16:59:09 +0200 |
commit | 4d28399ccdeeb43655aba89f14c58b26d379c780 (patch) | |
tree | cf520fb6e895566417b54ba26e90675a063681c4 /vcl | |
parent | b705075634d54a57e5edfeae1791869186bf149a (diff) |
Use typed Link for MenuButton::SetSelectHdl
(and MenuButton::GetSelectHdl was unused)
Change-Id: I94df06bcda9e041fde65553e30247874b20ff74b
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/app/i18n_status.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/unx/generic/app/i18n_status.cxx b/vcl/unx/generic/app/i18n_status.cxx index 5df56b0d9362..d61c0b79c85b 100644 --- a/vcl/unx/generic/app/i18n_status.cxx +++ b/vcl/unx/generic/app/i18n_status.cxx @@ -306,7 +306,7 @@ class IIIMPStatusWindow : public StatusWindow bool m_bShow; bool m_bOn; - DECL_LINK( SelectHdl, MenuButton* ); + DECL_LINK_TYPED( SelectHdl, MenuButton*, void ); void show(); @@ -460,7 +460,7 @@ void IIIMPStatusWindow::GetFocus() } } -IMPL_LINK( IIIMPStatusWindow, SelectHdl, MenuButton*, pBtn ) +IMPL_LINK_TYPED( IIIMPStatusWindow, SelectHdl, MenuButton*, pBtn, void ) { if( pBtn == m_aStatusBtn ) { @@ -488,7 +488,6 @@ IMPL_LINK( IIIMPStatusWindow, SelectHdl, MenuButton*, pBtn ) } } } - return 0; } /* |