summaryrefslogtreecommitdiffstats
path: root/svtools/source/uno/contextmenuhelper.cxx
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 15:05:52 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-06 15:07:41 +0200
commit743f22045c4ec08c46c259fc0ba240194a391457 (patch)
treefaed42bb31c4ee767619eb5c3ebd4dec0a41fa03 /svtools/source/uno/contextmenuhelper.cxx
parentMerge remote-tracking branch 'origin/master' (diff)
downloadcore-743f22045c4ec08c46c259fc0ba240194a391457.tar.gz
core-743f22045c4ec08c46c259fc0ba240194a391457.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 'svtools/source/uno/contextmenuhelper.cxx')
-rw-r--r--svtools/source/uno/contextmenuhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/uno/contextmenuhelper.cxx b/svtools/source/uno/contextmenuhelper.cxx
index 48554a3420bd..22d361a17a1e 100644
--- a/svtools/source/uno/contextmenuhelper.cxx
+++ b/svtools/source/uno/contextmenuhelper.cxx
@@ -557,7 +557,7 @@ ContextMenuHelper::getLabelFromCommandURL(
{
for ( sal_Int32 i = 0; i < aPropSeq.getLength(); i++ )
{
- if ( aPropSeq[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Label")) )
+ if ( aPropSeq[i].Name == "Label" )
{
aPropSeq[i].Value >>= aStr;
break;