From f3501ee89ff65cd40468e84f4d9fb52f12a67b0f Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 17 Apr 2014 23:43:22 +0200 Subject: [PATCH] now no temporary instance of SvtLanguageTable necessary here anymore Change-Id: I8154d8d198ba0826f24cb1da65d2de4fc1943517 --- sw/source/core/uibase/shells/langhelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );