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

add on-the-fly language tags to the language table

Change-Id: I5ca9e212374821de425729863c82f7b4699487a7
üst 1564b0fe
......@@ -163,6 +163,12 @@ const OUString SvtLanguageTableImpl::GetString( const LanguageType eType, bool b
<< std::hex << eType
<< " with unknown name, so returning lang-tag of: "
<< sLangTag);
// And add it to the table if it is an on-the-fly-id, which it usually is,
// so it is available in all subsequent language boxes.
if (LanguageTag::isOnTheFlyID( eType))
const_cast<SvtLanguageTableImpl*>(this)->AddItem( sLangTag, eType);
return sLangTag;
}
......
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