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

no temporary instance of SvtLanguageTable necessary here

Change-Id: I3172e4d174a7f632a4259bd7330b41d3f065daed
üst 0424163d
......@@ -103,7 +103,6 @@ void ManageLanguageDialog::FillLanguageBox()
if ( m_xLocalizationMgr->isLibraryLocalized() )
{
SvtLanguageTable aLangTable;
Locale aDefaultLocale = m_xLocalizationMgr->getStringResourceManager()->getDefaultLocale();
Sequence< Locale > aLocaleSeq = m_xLocalizationMgr->getStringResourceManager()->getLocales();
const Locale* pLocale = aLocaleSeq.getConstArray();
......@@ -112,7 +111,7 @@ void ManageLanguageDialog::FillLanguageBox()
{
bool bIsDefault = localesAreEqual( aDefaultLocale, pLocale[i] );
LanguageType eLangType = LanguageTag::convertToLanguageType( pLocale[i] );
OUString sLanguage = aLangTable.GetString( eLangType );
OUString sLanguage = SvtLanguageTable::GetLanguageString( eLangType );
if ( bIsDefault )
{
sLanguage += " " + m_sDefLangStr;
......
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