summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 19:49:53 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-06 20:03:42 +0200
commitd6bc02f8c4cd0f50f0a2631ac7634dab408efc1f (patch)
treeb5a12df1fcae025715633469b75ab4c9b6f6d279 /configmgr/source
parent0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9 (diff)
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/components.cxx2
-rw-r--r--configmgr/source/configurationprovider.cxx6
2 files changed, 3 insertions, 5 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 54e20e4fe154..5b40d3013cb0 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -221,7 +221,7 @@ Components & Components::getSingleton(
}
bool Components::allLocales(rtl::OUString const & locale) {
- return locale.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("*"));
+ return locale == "*";
}
rtl::Reference< Node > Components::resolvePathRepresentation(
diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx
index 3f41805b446e..940da36918bd 100644
--- a/configmgr/source/configurationprovider.cxx
+++ b/configmgr/source/configurationprovider.cxx
@@ -259,12 +259,10 @@ Service::createInstanceWithArguments(
}
}
bool update;
- if (ServiceSpecifier.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM(accessServiceName)))
+ if ( ServiceSpecifier == accessServiceName )
{
update = false;
- } else if (ServiceSpecifier.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM(updateAccessServiceName)))
+ } else if ( ServiceSpecifier == updateAccessServiceName )
{
update = true;
} else {