summaryrefslogtreecommitdiff
path: root/bridges/test/testcomp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/test/testcomp.cxx')
-rw-r--r--bridges/test/testcomp.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/bridges/test/testcomp.cxx b/bridges/test/testcomp.cxx
index f07760eaf0f7..78918ecdf952 100644
--- a/bridges/test/testcomp.cxx
+++ b/bridges/test/testcomp.cxx
@@ -91,8 +91,7 @@ Any OInstanceProvider::queryInterface( const Type & aType ) throw ( RuntimeExce
// Tries to get the PerformanceTestObject
if( sObjectName == "TestRemoteObject" )
{
- return m_rSMgr->createInstance(
- OUString("com.sun.star.test.performance.PerformanceTestObject") );
+ return m_rSMgr->createInstance("com.sun.star.test.performance.PerformanceTestObject");
}
return Reference < XInterface > ( (::cppu::OWeakObject * ) new OTestFactory() );
}
@@ -713,8 +712,7 @@ Reference <XInterface > createComponent( const OUString &sService ,
{
// erst registrieren
Reference < XImplementationRegistration > rReg (
- rSMgr->createInstance(
- OUString( "com.sun.star.registry.ImplementationRegistration" )),
+ rSMgr->createInstance("com.sun.star.registry.ImplementationRegistration"),
UNO_QUERY );
OSL_ASSERT( rReg.is() );