diff options
author | Eike Rathke <erack@redhat.com> | 2014-04-17 22:57:46 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-04-17 23:15:02 +0200 |
commit | 0424163d0344b60380058fe7f61919f5744faae8 (patch) | |
tree | 36947e407f8587874db7dca72bba37a9e16bcdf2 /basctl/source | |
parent | 124e9f77bcdd7cc99794e1d0a84280a918a27772 (diff) |
no temporary instance of SvtLanguageTable necessary here
Change-Id: Iabb3aadf35eb6b3575d916f2400f606264572537
Diffstat (limited to 'basctl/source')
-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 += " "; |