diff options
Diffstat (limited to 'sfx2/source/dialog/srchdlg.cxx')
-rw-r--r-- | sfx2/source/dialog/srchdlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/dialog/srchdlg.cxx b/sfx2/source/dialog/srchdlg.cxx index a74292f92d22..9f4d099c4bec 100644 --- a/sfx2/source/dialog/srchdlg.cxx +++ b/sfx2/source/dialog/srchdlg.cxx @@ -132,7 +132,7 @@ void SearchDialog::SaveConfig() aViewOpt.SetUserItem( "UserItem", aUserItem ); } -IMPL_LINK_NOARG(SearchDialog, FindHdl) +IMPL_LINK_NOARG_TYPED(SearchDialog, FindHdl, Button*, void) { OUString sSrchTxt = m_pSearchEdit->GetText(); sal_Int32 nPos = m_pSearchEdit->GetEntryPos( sSrchTxt ); @@ -141,7 +141,6 @@ IMPL_LINK_NOARG(SearchDialog, FindHdl) if ( nPos > 0 ) m_pSearchEdit->InsertEntry( sSrchTxt, 0 ); m_aFindHdl.Call( this ); - return 0; } void SearchDialog::SetFocusOnEdit() |