summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--remotebridges/source/unourl_resolver/unourl_resolver.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/remotebridges/source/unourl_resolver/unourl_resolver.cxx b/remotebridges/source/unourl_resolver/unourl_resolver.cxx
index b7a208f0892e..1e80b1b688df 100644
--- a/remotebridges/source/unourl_resolver/unourl_resolver.cxx
+++ b/remotebridges/source/unourl_resolver/unourl_resolver.cxx
@@ -116,11 +116,7 @@ Reference< XInterface > ResolverImpl::resolve( const OUString & rUnoUrl )
Reference< XConnector > xConnector(
_xSMgr->createInstanceWithContext( "com.sun.star.connection.Connector", _xCtx ),
- UNO_QUERY );
-
- if (! xConnector.is())
- throw RuntimeException("no connector!" );
-
+ UNO_QUERY_THROW );
Reference< XConnection > xConnection( xConnector->connect( aConnectDescr ) );
// As soon as singletons are ready, switch to singleton !