diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-18 23:18:57 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-18 23:19:41 +0900 |
commit | 03591233c18c90158b3567f24fa332cd7c52a7ee (patch) | |
tree | a0e6193798c903b7752ba572c750cf3577875e4d /animations | |
parent | vcl: bring ImplFindByLocale back (windows build) (diff) | |
download | core-03591233c18c90158b3567f24fa332cd7c52a7ee.tar.gz core-03591233c18c90158b3567f24fa332cd7c52a7ee.zip |
Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
Diffstat (limited to 'animations')
-rw-r--r-- | animations/source/animcore/targetpropertiescreator.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/animations/source/animcore/targetpropertiescreator.cxx b/animations/source/animcore/targetpropertiescreator.cxx index fb953ee67f37..0f04167b770b 100644 --- a/animations/source/animcore/targetpropertiescreator.cxx +++ b/animations/source/animcore/targetpropertiescreator.cxx @@ -341,7 +341,7 @@ namespace animcore // initially. This is currently the only place // where a shape effect influences shape // attributes outside it's effective duration. - if( xAnimateNode->getAttributeName().equalsIgnoreAsciiCaseAscii("visibility") ) + if( xAnimateNode->getAttributeName().equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("visibility")) ) { sal_Bool bVisible( sal_False ); @@ -356,13 +356,13 @@ namespace animcore { // we also take the strings "true" and "false", // as well as "on" and "off" here - if( aString.equalsIgnoreAsciiCaseAscii("true") || - aString.equalsIgnoreAsciiCaseAscii("on") ) + if( aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("true")) || + aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("on")) ) { bVisible = sal_True; } - if( aString.equalsIgnoreAsciiCaseAscii("false") || - aString.equalsIgnoreAsciiCaseAscii("off") ) + if( aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("false")) || + aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("off")) ) { bVisible = sal_False; } @@ -477,7 +477,7 @@ namespace animcore sal_Bool SAL_CALL TargetPropertiesCreator::supportsService( const ::rtl::OUString& ServiceName ) throw( uno::RuntimeException ) { - return ServiceName.equalsIgnoreAsciiCaseAscii( SERVICE_NAME ); + return ServiceName.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM(SERVICE_NAME)); } uno::Sequence< ::rtl::OUString > SAL_CALL TargetPropertiesCreator::getSupportedServiceNames() throw( uno::RuntimeException ) |