summaryrefslogtreecommitdiff
path: root/linguistic/source/convdicxml.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-08-30 20:45:36 +0200
committerCaolán McNamara <caolanm@redhat.com>2016-08-31 08:34:41 +0000
commit8eec33146af3bd4ffaf9b3a1fb9d2c72f19b6fb3 (patch)
tree50c41631ab5828cf9dc8471cbc5ad56eaf56085b /linguistic/source/convdicxml.cxx
parentf6c109dc0d5ceee29143de038b230732f78e8ee6 (diff)
Related: tdf#83376 fallback to known in linguistic context is wrong, always.
Change-Id: I2f06818e6569fd7e59b94d11b69808a2b81490d5 (cherry picked from commit 9a2d6e7e77a660560af9d5b1bbe3a5171176f8d6) Reviewed-on: https://gerrit.libreoffice.org/28507 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'linguistic/source/convdicxml.cxx')
-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 747401e449f6..4b9510214066 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 );
}