summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 15:31:24 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-06 20:03:41 +0200
commit99268dbe1fc25bc2d04eefa1a9f7e2cf7b398065 (patch)
treef9865652a2a4fd5d1452a4cbdc22028c21ad3894 /sd
parent7acf99de38a74673a4e57d2b7862757029ee289e (diff)
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.cxx6
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";
}