Kaydet (Commit) 8315c4fa authored tarafından Noel Grandin's avatar Noel Grandin

convert Link<> to typed

Change-Id: Iaf8093a143e99aca391a107b3d677882f94ea820
üst 50b11846
......@@ -500,11 +500,11 @@ namespace svx
m_aListBox->SelectEntryPos( nPos );
}
m_bInSelectionUpdate = false;
m_aSelectLink.Call( this );
m_aSelectLink.Call( *this );
return 0L;
}
void SuggestionDisplay::SetSelectHdl( const Link<>& rLink )
void SuggestionDisplay::SetSelectHdl( const Link<SuggestionDisplay&,void>& rLink )
{
m_aSelectLink = rLink;
}
......@@ -712,11 +712,10 @@ namespace svx
}
IMPL_LINK_NOARG( HangulHanjaConversionDialog, OnSuggestionSelected )
IMPL_LINK_NOARG_TYPED( HangulHanjaConversionDialog, OnSuggestionSelected, SuggestionDisplay&, void )
{
m_pWordInput->SetText( m_pSuggestions->GetSelectEntry() );
OnSuggestionModified( NULL );
return 0L;
}
......
......@@ -58,7 +58,7 @@ namespace svx
void DisplayListBox( bool bDisplayListBox );
void SetSelectHdl( const Link<>& rLink );
void SetSelectHdl( const Link<SuggestionDisplay&,void>& rLink );
void Clear();
void InsertEntry( const OUString& rStr );
......@@ -94,7 +94,7 @@ namespace svx
VclPtr<SuggestionSet> m_aValueSet;
VclPtr<ListBox> m_aListBox;
Link<> m_aSelectLink;
Link<SuggestionDisplay&,void> m_aSelectLink;
bool m_bInSelectionUpdate;
};
......@@ -183,7 +183,7 @@ namespace svx
private:
DECL_LINK_TYPED( OnOption, Button*, void );
DECL_LINK( OnSuggestionModified, void* );
DECL_LINK( OnSuggestionSelected, void* );
DECL_LINK_TYPED( OnSuggestionSelected, SuggestionDisplay&, void );
DECL_LINK_TYPED( OnConversionDirectionClicked, Button*, void );
DECL_LINK_TYPED( ClickByCharacterHdl, Button*, void );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment