diff options
Diffstat (limited to 'linguistic')
-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 e91d66bf2e37..7000cd0715d5 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.startsWith("<none>")) + if (aTagValue.equalsL(RTL_CONSTASCII_STRINGPARAM("<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.startsWith("negative")) + if (aTagValue.equalsL(RTL_CONSTASCII_STRINGPARAM("negative"))) bNeg = sal_True; else bNeg = sal_False; |