Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1501

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/01/1501/1

Remove last RTL_CONSTASCII_STRINGPARAM from animations

Change-Id: Ib774bc7f70492910a2f3e7ac3088c4e07127b563
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
M animations/source/animcore/targetpropertiescreator.cxx
1 file changed, 6 insertions(+), 6 deletions(-)



diff --git a/animations/source/animcore/targetpropertiescreator.cxx 
b/animations/source/animcore/targetpropertiescreator.cxx
index 4ecdce4..9e9fd27 100644
--- a/animations/source/animcore/targetpropertiescreator.cxx
+++ b/animations/source/animcore/targetpropertiescreator.cxx
@@ -332,7 +332,7 @@
                         // initially. This is currently the only place
                         // where a shape effect influences shape
                         // attributes outside it's effective duration.
-                        if( 
xAnimateNode->getAttributeName().equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("visibility"))
 )
+                        if( xAnimateNode->getAttributeName().equalsIgnoreAsciiCase("visibility") )
                         {
                             sal_Bool bVisible( sal_False );
 
@@ -347,13 +347,13 @@
                                 {
                                     // we also take the strings "true" and "false",
                                     // as well as "on" and "off" here
-                                    if( 
aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("true")) ||
-                                        
aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("on")) )
+                                    if( aString.equalsIgnoreAsciiCase("true") ||
+                                        aString.equalsIgnoreAsciiCase("on") )
                                     {
                                         bVisible = sal_True;
                                     }
-                                    if( 
aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("false")) ||
-                                        
aString.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("off")) )
+                                    if( aString.equalsIgnoreAsciiCase("false") ||
+                                        aString.equalsIgnoreAsciiCase("off") )
                                     {
                                         bVisible = sal_False;
                                     }
@@ -468,7 +468,7 @@
 
     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 )

-- 
To view, visit https://gerrit.libreoffice.org/1501
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib774bc7f70492910a2f3e7ac3088c4e07127b563
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Marcos Souza <marcos.souza.org@gmail.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.