Kaydet (Commit) 85f27205 authored tarafından Marcos Paulo de Souza's avatar Marcos Paulo de Souza Kaydeden (comit) Olivier Hallot

Remove last RTL_CONSTASCII_STRINGPARAM from animations

Change-Id: Ib774bc7f70492910a2f3e7ac3088c4e07127b563
Signed-off-by: 's avatarMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1501Reviewed-by: 's avatarOlivier Hallot <olivier.hallot@alta.org.br>
Tested-by: 's avatarOlivier Hallot <olivier.hallot@alta.org.br>
üst d204c1a4
...@@ -332,7 +332,7 @@ namespace animcore ...@@ -332,7 +332,7 @@ namespace animcore
// initially. This is currently the only place // initially. This is currently the only place
// where a shape effect influences shape // where a shape effect influences shape
// attributes outside it's effective duration. // attributes outside it's effective duration.
if( xAnimateNode->getAttributeName().equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("visibility")) ) if( xAnimateNode->getAttributeName().equalsIgnoreAsciiCase("visibility") )
{ {
sal_Bool bVisible( sal_False ); sal_Bool bVisible( sal_False );
...@@ -347,13 +347,13 @@ namespace animcore ...@@ -347,13 +347,13 @@ namespace animcore
{ {
// we also take the strings "true" and "false", // we also take the strings "true" and "false",
// as well as "on" and "off" here // as well as "on" and "off" here
if( aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("true")) || if( aString.equalsIgnoreAsciiCase("true") ||
aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("on")) ) aString.equalsIgnoreAsciiCase("on") )
{ {
bVisible = sal_True; bVisible = sal_True;
} }
if( aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("false")) || if( aString.equalsIgnoreAsciiCase("false") ||
aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("off")) ) aString.equalsIgnoreAsciiCase("off") )
{ {
bVisible = sal_False; bVisible = sal_False;
} }
...@@ -468,7 +468,7 @@ namespace animcore ...@@ -468,7 +468,7 @@ namespace animcore
sal_Bool SAL_CALL TargetPropertiesCreator::supportsService( const OUString& ServiceName ) throw( uno::RuntimeException ) sal_Bool SAL_CALL TargetPropertiesCreator::supportsService( const OUString& ServiceName ) throw( uno::RuntimeException )
{ {
return ServiceName.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM(SERVICE_NAME)); return ServiceName.equalsIgnoreAsciiCase(SERVICE_NAME);
} }
uno::Sequence< OUString > SAL_CALL TargetPropertiesCreator::getSupportedServiceNames() throw( uno::RuntimeException ) uno::Sequence< OUString > SAL_CALL TargetPropertiesCreator::getSupportedServiceNames() throw( uno::RuntimeException )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment