summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/source/acceptor/acceptor.cxx6
-rw-r--r--io/source/connector/connector.cxx6
2 files changed, 4 insertions, 8 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx
index 62f0e6e4e589..1cdcbefbb6dc 100644
--- a/io/source/acceptor/acceptor.cxx
+++ b/io/source/acceptor/acceptor.cxx
@@ -160,8 +160,7 @@ namespace io_acceptor
try
{
cppu::UnoUrlDescriptor aDesc(sConnectionDescription);
- if (aDesc.getName().equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("pipe")))
+ if ( aDesc.getName() == "pipe" )
{
rtl::OUString aName(
aDesc.getParameter(
@@ -184,8 +183,7 @@ namespace io_acceptor
throw;
}
}
- else if (aDesc.getName().equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("socket")))
+ else if ( aDesc.getName() == "socket" )
{
rtl::OUString aHost;
if (aDesc.hasParameter(
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(