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/hhconvdic.cxx | |
parent | c7607ede68fc9c0bcd1ea14d3f8d65b5e145c03c (diff) |
equalsAsciiL faster than equalsAscii
Diffstat (limited to 'linguistic/source/hhconvdic.cxx')
-rw-r--r-- | linguistic/source/hhconvdic.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/hhconvdic.cxx b/linguistic/source/hhconvdic.cxx index 43e4a0261e97..4954cae3a811 100644 --- a/linguistic/source/hhconvdic.cxx +++ b/linguistic/source/hhconvdic.cxx @@ -140,8 +140,8 @@ sal_Bool SAL_CALL HHConvDic::supportsService( const OUString& rServiceName ) { MutexGuard aGuard( GetLinguMutex() ); sal_Bool bRes = sal_False; - if (rServiceName.equalsAscii( SN_CONV_DICTIONARY )|| - rServiceName.equalsAscii( SN_HH_CONV_DICTIONARY )) + if (rServiceName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(SN_CONV_DICTIONARY)) || + rServiceName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(SN_HH_CONV_DICTIONARY))) bRes = sal_True; return bRes; } |