diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-04-06 15:05:52 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 15:07:41 +0200 |
commit | 743f22045c4ec08c46c259fc0ba240194a391457 (patch) | |
tree | faed42bb31c4ee767619eb5c3ebd4dec0a41fa03 /configmgr/source/type.cxx | |
parent | 0c6ebe5d225d6a655f078977455cec6d0a3afa6e (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 'configmgr/source/type.cxx')
-rw-r--r-- | configmgr/source/type.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configmgr/source/type.cxx b/configmgr/source/type.cxx index 86a2e6dabced..0fae6abfdf92 100644 --- a/configmgr/source/type.cxx +++ b/configmgr/source/type.cxx @@ -156,13 +156,13 @@ Type getDynamicType(css::uno::Any const & value) { RTL_CONSTASCII_STRINGPARAM("[]boolean"))) { return TYPE_BOOLEAN_LIST; - } else if (name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("[]short"))) + } else if ( name == "[]short" ) { return TYPE_SHORT_LIST; - } else if (name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("[]long"))) + } else if ( name == "[]long" ) { return TYPE_INT_LIST; - } else if (name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("[]hyper"))) + } else if ( name == "[]hyper" ) { return TYPE_LONG_LIST; } else if (name.equalsAsciiL( |