From 3bc5df7f32501075149e4b41f6e98ea8dd2cfcbd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 30 Oct 2015 08:40:11 +0200 Subject: UNO: no need to use OUString constructor when calling createInstance Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- io/test/testconnection.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'io/test/testconnection.cxx') diff --git a/io/test/testconnection.cxx b/io/test/testconnection.cxx index 2e60af472d2d..ae42cf5f1c62 100644 --- a/io/test/testconnection.cxx +++ b/io/test/testconnection.cxx @@ -185,12 +185,10 @@ int SAL_CALL main( int argc, char * argv[] ) OUString("com.sun.star.loader.SharedLibrary"), aLibName, Reference< XSimpleRegistry >() ); Reference < XAcceptor > rAcceptor( - xMgr->createInstance( - OUString("com.sun.star.connection.Acceptor") ) , UNO_QUERY ); + xMgr->createInstance( "com.sun.star.connection.Acceptor" ) , UNO_QUERY ); Reference < XAcceptor > rAcceptorPipe( - xMgr->createInstance( - OUString("com.sun.star.connection.Acceptor") ) , UNO_QUERY ); + xMgr->createInstance( "com.sun.star.connection.Acceptor" ) , UNO_QUERY ); Reference < XConnector > rConnector( xMgr->createInstance("com.sun.star.connection.Connector") , UNO_QUERY ); -- cgit