diff options
Diffstat (limited to 'io/source/connector/connector.cxx')
-rw-r--r-- | io/source/connector/connector.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index 674fbbb358b4..dea5099b60a0 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -101,8 +101,7 @@ namespace stoc_connector cppu::UnoUrlDescriptor aDesc(sConnectionDescription); Reference< XConnection > r; - if (aDesc.getName().equalsAsciiL(RTL_CONSTASCII_STRINGPARAM( - "pipe"))) + if ( aDesc.getName() == "pipe" ) { rtl::OUString aName( aDesc.getParameter( @@ -125,8 +124,7 @@ namespace stoc_connector throw NoConnectException( sMessage ,Reference< XInterface > () ); } } - else if (aDesc.getName().equalsAsciiL(RTL_CONSTASCII_STRINGPARAM( - "socket"))) + else if ( aDesc.getName() == "socket" ) { rtl::OUString aHost; if (aDesc.hasParameter( |