summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-04-17 22:58:40 +0200
committerEike Rathke <erack@redhat.com>2014-04-17 23:15:02 +0200
commit5e91217c6abab707ab2db29d5e88da848e5afe49 (patch)
tree74091e3ccbe350cdb35591a8b6c56b4d6eba4648 /basctl
parent0424163d0344b60380058fe7f61919f5744faae8 (diff)
no temporary instance of SvtLanguageTable necessary here
Change-Id: I3172e4d174a7f632a4259bd7330b41d3f065daed
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/managelang.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/dlged/managelang.cxx b/basctl/source/dlged/managelang.cxx
index fb10cd44ed62..5f0f4b8dbc33 100644
--- a/basctl/source/dlged/managelang.cxx
+++ b/basctl/source/dlged/managelang.cxx
@@ -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;