summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-18 23:18:57 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-18 23:19:41 +0900
commit03591233c18c90158b3567f24fa332cd7c52a7ee (patch)
treea0e6193798c903b7752ba572c750cf3577875e4d /basic
parent77946f3b9d03e814f7ada8af7f633c649975659e (diff)
Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxscan.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index 50e4e6c8eda1..d938763edc95 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -445,13 +445,13 @@ sal_Bool ImpConvStringExt( ::rtl::OUString& rSrc, SbxDataType eTargetType )
// check as string in case of sal_Bool sal_True and sal_False
case SbxBOOL:
{
- if( rSrc.equalsIgnoreAsciiCaseAscii( "true" ) )
+ if( rSrc.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("true")) )
{
aNewString = ::rtl::OUString::valueOf( (sal_Int32)SbxTRUE );
bChanged = sal_True;
}
else
- if( rSrc.equalsIgnoreAsciiCaseAscii( "false" ) )
+ if( rSrc.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("false")) )
{
aNewString = ::rtl::OUString::valueOf( (sal_Int32)SbxFALSE );
bChanged = sal_True;