diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/convdicxml.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/dicimp.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/gciterator.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx index 039067a65787..b4ccd20a6d68 100644 --- a/linguistic/source/convdicxml.cxx +++ b/linguistic/source/convdicxml.cxx @@ -212,7 +212,7 @@ void ConvDicXMLDictionaryContext_Impl::StartElement( OUString aValue = rxAttrList->getValueByIndex(i); if ( nPrefix == XML_NAMESPACE_TCD && aLocalName == "lang" ) - nLanguage = LanguageTag::convertToLanguageTypeWithFallback( aValue ); + nLanguage = LanguageTag::convertToLanguageType( aValue ); else if ( nPrefix == XML_NAMESPACE_TCD && aLocalName == "conversion-type" ) nConversionType = GetConversionTypeFromText( aValue ); } diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index a6d31270054c..0b9fdce21925 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -122,7 +122,7 @@ sal_Int16 ReadDicVersion( SvStreamPtr &rpStream, sal_uInt16 &nLng, bool &bNeg ) if (aTagValue == "<none>") nLng = LANGUAGE_NONE; else - nLng = LanguageTag::convertToLanguageTypeWithFallback( + nLng = LanguageTag::convertToLanguageType( OStringToOUString( aTagValue, RTL_TEXTENCODING_ASCII_US)); } diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index e076fa6dc3e8..f3553c4f1195 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -1042,7 +1042,7 @@ void GrammarCheckingIterator::GetConfiguredGCSvcs_Impl() { // only the first entry is used, there should be only one grammar checker per language const OUString aImplName( aImplNames[0] ); - const LanguageType nLang = LanguageTag::convertToLanguageTypeWithFallback( pElementNames[i] ); + const LanguageType nLang = LanguageTag::convertToLanguageType( pElementNames[i] ); aTmpGCImplNamesByLang[ nLang ] = aImplName; } } |