diff options
Diffstat (limited to 'sc/source/ui/pagedlg/tphf.cxx')
-rw-r--r-- | sc/source/ui/pagedlg/tphf.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx index 8575607d6e48..c091636f4847 100644 --- a/sc/source/ui/pagedlg/tphf.cxx +++ b/sc/source/ui/pagedlg/tphf.cxx @@ -147,7 +147,7 @@ void ScHFPage::DeactivatePage() // Handler: -IMPL_LINK_NOARG(ScHFPage, TurnOnHdl) +IMPL_LINK_NOARG_TYPED(ScHFPage, TurnOnHdl, Button*, void) { SvxHFPage::TurnOnHdl( m_pTurnOnBox ); @@ -155,18 +155,15 @@ IMPL_LINK_NOARG(ScHFPage, TurnOnHdl) m_pBtnEdit->Enable(); else m_pBtnEdit->Disable(); - - return 0; } -IMPL_LINK_NOARG(ScHFPage, BtnHdl) +IMPL_LINK_NOARG_TYPED(ScHFPage, BtnHdl, Button*, void) { // When the Edit-Dialog is directly called from the Button's Click-Handler, // the GrabFocus from the Edit-Dialog under OS/2 doesn't work.(Bug #41805#). // With the new StarView, this workaround should be again considered! Application::PostUserEvent( LINK( this, ScHFPage, HFEditHdl ), NULL, true ); - return 0; } IMPL_LINK_NOARG(ScHFPage, HFEditHdl) |