diff options
Diffstat (limited to 'binaryurp/source')
-rw-r--r-- | binaryurp/source/bridge.cxx | 3 | ||||
-rw-r--r-- | binaryurp/source/bridgefactory.cxx | 3 | ||||
-rw-r--r-- | binaryurp/source/writer.cxx | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index 7718c53a8266..50b873f6a70f 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -744,8 +744,7 @@ void Bridge::handleCommitChangeRequest( assert(ok); (void) ok; // avoid warnings for (sal_Int32 i = 0; i != s.getLength(); ++i) { - if (s[i].Name.equalsAsciiL( - RTL_CONSTASCII_STRINGPARAM("CurrentContext"))) + if ( s[i].Name == "CurrentContext" ) { ccMode = true; } else { 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( diff --git a/binaryurp/source/writer.cxx b/binaryurp/source/writer.cxx index f5ded2927fea..e1b2291ff28a 100644 --- a/binaryurp/source/writer.cxx +++ b/binaryurp/source/writer.cxx @@ -169,8 +169,7 @@ void Writer::execute() { if (item.request) { sendRequest( item.tid, item.oid, item.type, item.member, item.arguments, - (!item.oid.equalsAsciiL( - RTL_CONSTASCII_STRINGPARAM("UrpProtocolProperties")) && + (item.oid != "UrpProtocolProperties" && !item.member.equals( css::uno::TypeDescription( rtl::OUString( |