From f5334930664b89fb3c68dd0b5f7d49d51dcce055 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 17 Jan 2011 10:42:03 +0000 Subject: equalsAsciiL faster than equalsAscii --- linguistic/source/hhconvdic.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linguistic/source/hhconvdic.cxx') 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; } -- cgit