summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-09-03 18:52:47 +0200
committerEike Rathke <erack@redhat.com>2013-09-03 20:35:40 +0200
commit59124d7e4facd57f9cbaba9f9fb86f199ab32302 (patch)
tree4936ed9a3ea3f7e49490a08e126a19077e6a2bdc /linguistic
parentb641e39d0aa9356717018e94925485d4755f8bbb (diff)
was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()
Change-Id: I9031b64d420ca527c13c19c4f7f3e47ead98eb6b
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdicxml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx
index 80b8beedf71d..9b409bd3a63c 100644
--- a/linguistic/source/convdicxml.cxx
+++ b/linguistic/source/convdicxml.cxx
@@ -223,7 +223,7 @@ void ConvDicXMLDictionaryContext_Impl::StartElement(
OUString aValue = rxAttrList->getValueByIndex(i);
if ( nPrefix == XML_NAMESPACE_TCD && aLocalName == "lang" )
- nLanguage = LanguageTag::convertToLanguageType( aValue );
+ nLanguage = LanguageTag::convertToLanguageTypeWithFallback( aValue );
else if ( nPrefix == XML_NAMESPACE_TCD && aLocalName == "conversion-type" )
nConversionType = GetConversionTypeFromText( aValue );
}