summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-21 15:52:45 +0200
committerNoel Grandin <noel@peralex.com>2013-11-22 08:07:19 +0200
commit73342dbb82ba074d01962359dac50fb2aa36cbeb (patch)
treeaddab0397681725810b42ad55ab15be3fdb4c236 /configmgr
parent071c3f3e93c4c00cf57ce3c382325cd717fed511 (diff)
remove unnecessary RTL_CONSTASCII_STRINGPARAM
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/type.cxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/configmgr/source/type.cxx b/configmgr/source/type.cxx
index 73b0b0913856..b257607eef4a 100644
--- a/configmgr/source/type.cxx
+++ b/configmgr/source/type.cxx
@@ -137,8 +137,7 @@ Type getDynamicType(css::uno::Any const & value) {
OUString name(value.getValueType().getTypeName());
if ( name == "[]byte" ) {
return TYPE_HEXBINARY;
- } else if (name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("[]boolean")))
+ } else if (name == "[]boolean")
{
return TYPE_BOOLEAN_LIST;
} else if ( name == "[]short" )
@@ -150,16 +149,13 @@ Type getDynamicType(css::uno::Any const & value) {
} else if ( name == "[]hyper" )
{
return TYPE_LONG_LIST;
- } else if (name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("[]double")))
+ } else if (name == "[]double")
{
return TYPE_DOUBLE_LIST;
- } else if (name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("[]string")))
+ } else if (name == "[]string")
{
return TYPE_STRING_LIST;
- } else if (name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("[][]byte")))
+ } else if (name == "[][]byte")
{
return TYPE_HEXBINARY_LIST;
}