Kaydet (Commit) a727e93d authored tarafından Eike Rathke's avatar Eike Rathke

insert on-the-fly-ID if select requested

Change-Id: I2935b211aaee345827d89c63de207c7e4fbc78f4
üst 6fa84d19
......@@ -456,6 +456,9 @@ void SvxLanguageBox::SelectLanguage( const LanguageType eLangType, sal_Bool bSel
sal_uInt16 nAt = TypeToPos_Impl( nLang, *this );
if ( nAt == LISTBOX_ENTRY_NOTFOUND )
nAt = InsertLanguage( nLang ); // on-the-fly-ID
if ( nAt != LISTBOX_ENTRY_NOTFOUND )
SelectEntryPos( nAt, bSelect );
}
......
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