diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-03 19:05:12 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-03 20:35:40 +0200 |
commit | 06fcf0f065f8ec9c0d3b26588bd6171f373d8c74 (patch) | |
tree | b623bfd41a25fcc3e747563597a6aefd208b352e /linguistic | |
parent | 156e5035e700739f5b8dcfb46c7220d52dbed9db (diff) |
was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()
Change-Id: I0202c11e46201e22e62d8edfb81924c3e9551353
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 95e165f732ac..3b7c5a44c610 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -880,7 +880,7 @@ void LngSvcMgr::Notify( const uno::Sequence< OUString > &rPropertyNames ) LanguageType nLang = LANGUAGE_NONE; if (!aKeyText.isEmpty()) - nLang = LanguageTag::convertToLanguageType( aKeyText ); + nLang = LanguageTag::convertToLanguageTypeWithFallback( aKeyText ); GetSpellCheckerDsp_Impl( sal_False ); // don't set service list, it will be done below pSpellDsp->SetServiceList( LanguageTag::convertToLocale(nLang), aSvcImplNames ); @@ -905,7 +905,7 @@ void LngSvcMgr::Notify( const uno::Sequence< OUString > &rPropertyNames ) LanguageType nLang = LANGUAGE_NONE; if (!aKeyText.isEmpty()) - nLang = LanguageTag::convertToLanguageType( aKeyText ); + nLang = LanguageTag::convertToLanguageTypeWithFallback( aKeyText ); if (SvtLinguConfig().HasGrammarChecker()) { @@ -933,7 +933,7 @@ void LngSvcMgr::Notify( const uno::Sequence< OUString > &rPropertyNames ) LanguageType nLang = LANGUAGE_NONE; if (!aKeyText.isEmpty()) - nLang = LanguageTag::convertToLanguageType( aKeyText ); + nLang = LanguageTag::convertToLanguageTypeWithFallback( aKeyText ); GetHyphenatorDsp_Impl( sal_False ); // don't set service list, it will be done below pHyphDsp->SetServiceList( LanguageTag::convertToLocale(nLang), aSvcImplNames ); @@ -958,7 +958,7 @@ void LngSvcMgr::Notify( const uno::Sequence< OUString > &rPropertyNames ) LanguageType nLang = LANGUAGE_NONE; if (!aKeyText.isEmpty()) - nLang = LanguageTag::convertToLanguageType( aKeyText ); + nLang = LanguageTag::convertToLanguageTypeWithFallback( aKeyText ); GetThesaurusDsp_Impl( sal_False ); // don't set service list, it will be done below pThesDsp->SetServiceList( LanguageTag::convertToLocale(nLang), aSvcImplNames ); |