summaryrefslogtreecommitdiff
path: root/binaryurp/source/bridgefactory.cxx
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 /binaryurp/source/bridgefactory.cxx
parent0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9 (diff)
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'binaryurp/source/bridgefactory.cxx')
-rw-r--r--binaryurp/source/bridgefactory.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx
index f3e06ab25e8c..de7762f3d6ed 100644
--- a/binaryurp/source/bridgefactory.cxx
+++ b/binaryurp/source/bridgefactory.cxx
@@ -142,8 +142,7 @@ css::uno::Reference< css::bridge::XBridge > BridgeFactory::createBridge(
throw css::bridge::BridgeExistsException(
sName, static_cast< cppu::OWeakObject * >(this));
}
- if (!(sProtocol.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("urp")) &&
- aConnection.is()))
+ if ( sProtocol != "urp" || !aConnection.is() )
{
throw css::lang::IllegalArgumentException(
rtl::OUString(