diff options
author | Eike Rathke <erack@redhat.com> | 2014-04-17 23:43:22 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-04-17 23:45:56 +0200 |
commit | f3501ee89ff65cd40468e84f4d9fb52f12a67b0f (patch) | |
tree | 92396094ff40216947a10a205fda5bf7d92830aa /sw | |
parent | d7992dbf924c229c8e913913b15b2d5c42012baa (diff) |
now no temporary instance of SvtLanguageTable necessary here anymore
Change-Id: I8154d8d198ba0826f24cb1da65d2de4fc1943517
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/shells/langhelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/uibase/shells/langhelper.cxx b/sw/source/core/uibase/shells/langhelper.cxx index 53adf42b67ea..e3ec90107650 100644 --- a/sw/source/core/uibase/shells/langhelper.cxx +++ b/sw/source/core/uibase/shells/langhelper.cxx @@ -233,7 +233,7 @@ namespace SwLangHelper void SetLanguage( SwWrtShell &rWrtSh, OutlinerView* pOLV, ESelection aSelection, const OUString &rLangText, bool bIsForSelection, SfxItemSet &rCoreSet ) { - const LanguageType nLang = SvtLanguageTable().GetType( rLangText ); + const LanguageType nLang = SvtLanguageTable::GetLanguageType( rLangText ); if (nLang != LANGUAGE_DONTKNOW) { sal_uInt16 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage( nLang ); |