diff options
Diffstat (limited to 'bridges/test/java_uno/nativethreadpool/testnativethreadpoolserver.cxx')
-rw-r--r-- | bridges/test/java_uno/nativethreadpool/testnativethreadpoolserver.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/test/java_uno/nativethreadpool/testnativethreadpoolserver.cxx b/bridges/test/java_uno/nativethreadpool/testnativethreadpoolserver.cxx index 81a3d9b8d1f4..3ac084fb794e 100644 --- a/bridges/test/java_uno/nativethreadpool/testnativethreadpoolserver.cxx +++ b/bridges/test/java_uno/nativethreadpool/testnativethreadpoolserver.cxx @@ -69,8 +69,7 @@ sal_Int32 Server::get() throw (css::uno::RuntimeException) { css::uno::Reference< test::javauno::nativethreadpool::XSource > source; try { // Use "127.0.0.1" instead of "localhost", see #i32281#: - source - = css::uno::Reference< test::javauno::nativethreadpool::XSource >( + source.set( css::bridge::UnoUrlResolver::create(context)->resolve( OUString( "uno:socket,host=127.0.0.1,port=3831;urp;test" )), css::uno::UNO_QUERY_THROW); |