diff options
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/components.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/type.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx index 6f1850897c7c..b3767eeae973 100644 --- a/configmgr/source/components.cxx +++ b/configmgr/source/components.cxx @@ -543,7 +543,7 @@ Components::Components( if (type.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("xcsxcu"))) { parseXcsXcuLayer(layer, url); layer += 2; //TODO: overflow - } else if (type.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("bundledext"))) + } else if ( type == "bundledext" ) { parseXcsXcuIniLayer(layer, url, false); layer += 2; //TODO: overflow 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( |