summaryrefslogtreecommitdiff
path: root/editeng/source/misc/unolingu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/misc/unolingu.cxx')
-rw-r--r--editeng/source/misc/unolingu.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index a8554d187273..9dced466ec42 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -130,7 +130,7 @@ void ThesDummy_Impl::GetCfgLocales()
Locale *pLocale = pLocaleSeq->getArray();
for (sal_Int32 i = 0; i < nLen; ++i)
{
- pLocale[i] = LanguageTag( pNodeNames[i] ).getLocale();
+ pLocale[i] = LanguageTag::convertToLocale( pNodeNames[i] );
}
}
}
@@ -677,7 +677,7 @@ uno::Reference< XDictionary > LinguMgr::GetChangeAll()
xChangeAll = uno::Reference< XDictionary > (
_xDicList->createDictionary(
"ChangeAllList",
- LanguageTag( LANGUAGE_NONE ).getLocale(),
+ LanguageTag::convertToLocale( LANGUAGE_NONE ),
DictionaryType_NEGATIVE, String() ), UNO_QUERY );
}
return xChangeAll;
@@ -705,7 +705,7 @@ uno::Reference< XDictionary > LinguMgr::GetStandard()
try
{
xTmp = xTmpDicList->createDictionary( aDicName,
- LanguageTag( LANGUAGE_NONE ).getLocale(),
+ LanguageTag::convertToLocale( LANGUAGE_NONE ),
DictionaryType_POSITIVE,
linguistic::GetWritableDictionaryURL( aDicName ) );
}