summaryrefslogtreecommitdiff
path: root/ucb/source/core
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 /ucb/source/core
parent0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9 (diff)
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'ucb/source/core')
-rw-r--r--ucb/source/core/ucb.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx
index cbe7b2ba7669..9e339ee09b92 100644
--- a/ucb/source/core/ucb.cxx
+++ b/ucb/source/core/ucb.cxx
@@ -632,9 +632,7 @@ Any SAL_CALL UniversalContentBroker::execute(
// ctor in ucbcmds.cxx when adding new commands!
//////////////////////////////////////////////////////////////////////
- if ( ( aCommand.Handle == GETCOMMANDINFO_HANDLE ) ||
- aCommand.Name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM( GETCOMMANDINFO_NAME ) ) )
+ if ( ( aCommand.Handle == GETCOMMANDINFO_HANDLE ) || aCommand.Name == GETCOMMANDINFO_NAME )
{
//////////////////////////////////////////////////////////////////
// getCommandInfo
@@ -642,9 +640,7 @@ Any SAL_CALL UniversalContentBroker::execute(
aRet <<= getCommandInfo();
}
- else if ( ( aCommand.Handle == GLOBALTRANSFER_HANDLE ) ||
- aCommand.Name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM(GLOBALTRANSFER_NAME ) ) )
+ else if ( ( aCommand.Handle == GLOBALTRANSFER_HANDLE ) || aCommand.Name == GLOBALTRANSFER_NAME )
{
//////////////////////////////////////////////////////////////////
// globalTransfer