now no temporary instance of SvtLanguageTable necessary here anymore

Change-Id: I8154d8d198ba0826f24cb1da65d2de4fc1943517
This commit is contained in:
Eike Rathke
2014-04-17 23:43:22 +02:00
parent d7992dbf92
commit f3501ee89f

View File

@@ -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 );