diff options
Diffstat (limited to 'remotebridges/source/bridge/remote_bridge.cxx')
-rw-r--r-- | remotebridges/source/bridge/remote_bridge.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/remotebridges/source/bridge/remote_bridge.cxx b/remotebridges/source/bridge/remote_bridge.cxx index f63a418c3d50..ac6d5a2770ee 100644 --- a/remotebridges/source/bridge/remote_bridge.cxx +++ b/remotebridges/source/bridge/remote_bridge.cxx @@ -109,7 +109,7 @@ namespace remotebridges_bridge if( 4 != aArguments.getLength() ) { - throw IllegalArgumentException( rtl::OUString::createFromAscii("wrong number of arguments") , + throw IllegalArgumentException( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("wrong number of arguments")) , Reference< XInterface >(), 0 ); } @@ -126,7 +126,7 @@ namespace remotebridges_bridge if( ! rConnection.is() ) { - throw IllegalArgumentException( rtl::OUString::createFromAscii("connection is missing") , + throw IllegalArgumentException( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("connection is missing")) , Reference < XInterface > (), 2 ); } @@ -187,7 +187,7 @@ namespace remotebridges_bridge m_pContext = 0; // forgotten exception when specifying the interface - throw RuntimeException( rtl::OUString::createFromAscii("couldn't create uno-remote-environment") , + throw RuntimeException( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("couldn't create uno-remote-environment")) , Reference < XInterface > () ); } } @@ -418,9 +418,9 @@ namespace remotebridges_bridge if( !pNames ) { static Sequence< OUString > seqNames(3); - seqNames.getArray()[0] = OUString::createFromAscii( "com.sun.star.bridge.Bridge" ); - seqNames.getArray()[1] = OUString::createFromAscii( "com.sun.star.bridge.IiopBridge" ); - seqNames.getArray()[2] = OUString::createFromAscii( "com.sun.star.bridge.UrpBridge" ); + seqNames.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.bridge.Bridge")); + seqNames.getArray()[1] = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.bridge.IiopBridge")); + seqNames.getArray()[2] = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.bridge.UrpBridge")); pNames = &seqNames; } |