summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-04-17 23:31:26 +0200
committerEike Rathke <erack@redhat.com>2014-04-17 23:45:55 +0200
commit53f0b42d875373f8dda22eebe2ed0fc80d8e2e57 (patch)
tree691ae666c37962a4bbccc6462e0efe17944d3809 /cui
parenta97c2268a538dc8702ff9621a94958d839428566 (diff)
no temporary instance of SvtLanguageTable necessary here
Change-Id: I84b20ae5efe882c0440d7f9bf1a24d7a56f05f90
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/thesdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 936922e76d57..3e4c0f851210 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -344,7 +344,7 @@ IMPL_LINK( SvxThesaurusDialog, LeftBtnHdl_Impl, Button *, pBtn )
IMPL_LINK( SvxThesaurusDialog, LanguageHdl_Impl, ListBox*, pLB )
{
OUString aLangText( pLB->GetSelectEntry() );
- LanguageType nLang = SvtLanguageTable().GetType( aLangText );
+ LanguageType nLang = SvtLanguageTable::GetLanguageType( aLangText );
DBG_ASSERT( nLang != LANGUAGE_NONE && nLang != LANGUAGE_DONTKNOW, "failed to get language" );
if (xThesaurus->hasLocale( LanguageTag::convertToLocale( nLang ) ))
nLookUpLanguage = nLang;