summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-04-17 23:43:22 +0200
committerEike Rathke <erack@redhat.com>2014-04-17 23:45:56 +0200
commitf3501ee89ff65cd40468e84f4d9fb52f12a67b0f (patch)
tree92396094ff40216947a10a205fda5bf7d92830aa /sw
parentd7992dbf924c229c8e913913b15b2d5c42012baa (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.cxx2
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 );