diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-27 13:08:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-28 09:49:56 +0200 |
commit | bd8b93fdff93ff7b2b7e493a7bcef6a59f299dae (patch) | |
tree | f05be9665737f0667faf95702d96fbf3f0a103c5 /sc/source/ui/pagedlg | |
parent | 1b9c3a17e8496aedfb80528c5275e6658154789d (diff) |
make PostUserEvent Link<> typed
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
Diffstat (limited to 'sc/source/ui/pagedlg')
-rw-r--r-- | sc/source/ui/pagedlg/tphf.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx index c091636f4847..f629e8bc5bc9 100644 --- a/sc/source/ui/pagedlg/tphf.cxx +++ b/sc/source/ui/pagedlg/tphf.cxx @@ -166,14 +166,14 @@ IMPL_LINK_NOARG_TYPED(ScHFPage, BtnHdl, Button*, void) Application::PostUserEvent( LINK( this, ScHFPage, HFEditHdl ), NULL, true ); } -IMPL_LINK_NOARG(ScHFPage, HFEditHdl) +IMPL_LINK_NOARG_TYPED(ScHFPage, HFEditHdl, void*, void) { SfxViewShell* pViewSh = SfxViewShell::Current(); if ( !pViewSh ) { OSL_FAIL( "Current ViewShell not found." ); - return 0; + return; } if ( m_pCntSharedBox->IsEnabled() @@ -233,8 +233,6 @@ IMPL_LINK_NOARG(ScHFPage, HFEditHdl) aDataSet.Put( *pDlg->GetOutputItemSet() ); } } - - return 0; } // class ScHeaderPage |