summaryrefslogtreecommitdiff
path: root/configmgr/source/type.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 /configmgr/source/type.cxx
parent0c6ebe5d225d6a655f078977455cec6d0a3afa6e (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.cxx6
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(