diff options
Diffstat (limited to 'linguistic/source/dicimp.cxx')
-rw-r--r-- | linguistic/source/dicimp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index 7000cd0715d5..e91d66bf2e37 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -117,7 +117,7 @@ sal_Int16 ReadDicVersion( SvStreamPtr &rpStream, sal_uInt16 &nLng, sal_Bool &bNe // lang: field if (getTag(aLine, "lang: ", aTagValue)) { - if (aTagValue.equalsL(RTL_CONSTASCII_STRINGPARAM("<none>"))) + if (aTagValue.startsWith("<none>")) nLng = LANGUAGE_NONE; else nLng = LanguageTag::convertToLanguageTypeWithFallback( @@ -127,7 +127,7 @@ sal_Int16 ReadDicVersion( SvStreamPtr &rpStream, sal_uInt16 &nLng, sal_Bool &bNe // type: negative / positive if (getTag(aLine, "type: ", aTagValue)) { - if (aTagValue.equalsL(RTL_CONSTASCII_STRINGPARAM("negative"))) + if (aTagValue.startsWith("negative")) bNeg = sal_True; else bNeg = sal_False; |