From 610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 15 Nov 2013 11:05:19 +0200 Subject: remove unnecessary use of OUString constructor when assigning change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4 --- io/test/testconnection.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'io') diff --git a/io/test/testconnection.cxx b/io/test/testconnection.cxx index aa91a2aeb0b4..5bbf84dcc8a6 100644 --- a/io/test/testconnection.cxx +++ b/io/test/testconnection.cxx @@ -177,12 +177,11 @@ int SAL_CALL main( int argc, char * argv[] ) xMgr->createInstance("com.sun.star.registry.ImplementationRegistration"), UNO_QUERY ); OSL_ENSURE( xImplReg.is(), "### no impl reg!" ); - OUString aLibName = - OUString( "connector.uno" SAL_DLLEXTENSION ); + OUString aLibName = "connector.uno" SAL_DLLEXTENSION; xImplReg->registerImplementation( OUString("com.sun.star.loader.SharedLibrary"), aLibName, Reference< XSimpleRegistry >() ); - aLibName = OUString( "acceptor.uno" SAL_DLLEXTENSION ); + aLibName = "acceptor.uno" SAL_DLLEXTENSION; xImplReg->registerImplementation( OUString("com.sun.star.loader.SharedLibrary"), aLibName, Reference< XSimpleRegistry >() ); -- cgit v1.2.3