diff options
Diffstat (limited to 'bridges/test/testcomp.cxx')
-rw-r--r-- | bridges/test/testcomp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridges/test/testcomp.cxx b/bridges/test/testcomp.cxx index 8ec0fc251491..864279827a6b 100644 --- a/bridges/test/testcomp.cxx +++ b/bridges/test/testcomp.cxx @@ -685,7 +685,7 @@ void testRemote( const Reference< XInterface > &rRemote ) //-------------------- // Test attributes //---------------------- - OUString ow = OUString::createFromAscii( "dum didel dum dideldei" ); + OUString ow( RTL_CONSTASCII_USTRINGPARAM( "dum didel dum dideldei" )); rLCallMe->setsAttribute( ow ); OSL_ASSERT( rLCallMe->getsAttribute() == ow ); @@ -774,7 +774,7 @@ Reference <XInterface > createComponent( const ::rtl::OUString &sService , // erst registrieren Reference < XImplementationRegistration > rReg ( rSMgr->createInstance( - OUString::createFromAscii( "com.sun.star.registry.ImplementationRegistration" )), + OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.registry.ImplementationRegistration" ))), UNO_QUERY ); OSL_ASSERT( rReg.is() ); @@ -783,7 +783,7 @@ Reference <XInterface > createComponent( const ::rtl::OUString &sService , try { rReg->registerImplementation( - OUString::createFromAscii( "com.sun.star.loader.SharedLibrary" ), + OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.loader.SharedLibrary" )), aDllName, Reference< XSimpleRegistry > () ); rInterface = rSMgr->createInstance( sService ); |