summaryrefslogtreecommitdiff
path: root/configmgr/source/type.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/type.cxx')
-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;
}