summaryrefslogtreecommitdiff
path: root/linguistic/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-20 16:36:51 +0200
committerNoel Grandin <noel@peralex.com>2013-11-20 16:38:28 +0200
commitd45483489513692be77a61cf343663e839483204 (patch)
tree85d3a47fa95a529e4f6d2d12b375a438513c3e9d /linguistic/source
parentfa604beee3e8ca26bba7c1d681bf83a44638b835 (diff)
Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
Diffstat (limited to 'linguistic/source')
-rw-r--r--linguistic/source/dicimp.cxx4
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;