diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-17 10:42:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-17 10:42:03 +0000 |
commit | f5334930664b89fb3c68dd0b5f7d49d51dcce055 (patch) | |
tree | 644f4c75441e752deece43a1a4df9aa09750bfa8 /linguistic/source/lngprophelp.cxx | |
parent | c7607ede68fc9c0bcd1ea14d3f8d65b5e145c03c (diff) |
equalsAsciiL faster than equalsAscii
Diffstat (limited to 'linguistic/source/lngprophelp.cxx')
-rw-r--r-- | linguistic/source/lngprophelp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx index 5f45aa595c1a..5f93135dc818 100644 --- a/linguistic/source/lngprophelp.cxx +++ b/linguistic/source/lngprophelp.cxx @@ -537,7 +537,7 @@ void PropertyHelper_Spell::SetTmpPropVals( const PropertyValues &rPropVals ) const PropertyValue *pVal = rPropVals.getConstArray(); for (INT32 i = 0; i < nLen; ++i) { - if (pVal[i].Name.equalsAscii( UPN_MAX_NUMBER_OF_SUGGESTIONS )) + if (pVal[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(UPN_MAX_NUMBER_OF_SUGGESTIONS))) { pVal[i].Value >>= nResMaxNumberOfSuggestions; } |