diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-04-06 15:31:24 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 20:03:41 +0200 |
commit | 99268dbe1fc25bc2d04eefa1a9f7e2cf7b398065 (patch) | |
tree | f9865652a2a4fd5d1452a4cbdc22028c21ad3894 /sd | |
parent | Kill this. (diff) | |
download | core-99268dbe1fc25bc2d04eefa1a9f7e2cf7b398065.tar.gz core-99268dbe1fc25bc2d04eefa1a9f7e2cf7b398065.zip |
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 8118a70ff662..c72bb6455dc8 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -739,11 +739,11 @@ void PowerPointExport::WriteAnimationAttributeName( FSHelperPtr pFS, const OUStr DBG(printf("write attribute name: %s\n", USS( rAttributeName ))); const char* sAttributeName = NULL; - if( rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Visibility" ) ) ) { + if ( rAttributeName == "Visibility" ) { sAttributeName = "style.visibility"; - } else if( rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "X" ) ) ) { + } else if ( rAttributeName == "X" ) { sAttributeName = "ppt_x"; - } else if( rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Y" ) ) ) { + } else if ( rAttributeName == "Y" ) { sAttributeName = "ppt_y"; } |