diff options
-rw-r--r-- | basctl/source/basicide/basicbox.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx index 59d438cbb0b4..545f07bb036c 100644 --- a/basctl/source/basicide/basicbox.cxx +++ b/basctl/source/basicide/basicbox.cxx @@ -405,7 +405,6 @@ void LanguageBox::FillBox() if ( pCurMgr->isLibraryLocalized() ) { Enable(); - SvtLanguageTable aLangTable; Locale aDefaultLocale = pCurMgr->getStringResourceManager()->getDefaultLocale(); Locale aCurrentLocale = pCurMgr->getStringResourceManager()->getCurrentLocale(); Sequence< Locale > aLocaleSeq = pCurMgr->getStringResourceManager()->getLocales(); @@ -417,7 +416,7 @@ void LanguageBox::FillBox() bool bIsDefault = localesAreEqual( aDefaultLocale, pLocale[i] ); bool bIsCurrent = localesAreEqual( aCurrentLocale, pLocale[i] ); LanguageType eLangType = LanguageTag::convertToLanguageType( pLocale[i] ); - OUString sLanguage = aLangTable.GetString( eLangType ); + OUString sLanguage = SvtLanguageTable::GetLanguageString( eLangType ); if ( bIsDefault ) { sLanguage += " "; |