diff options
Diffstat (limited to 'stoc/test/testsmgr_cpnt.cxx')
-rw-r--r-- | stoc/test/testsmgr_cpnt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/test/testsmgr_cpnt.cxx b/stoc/test/testsmgr_cpnt.cxx index b8e100f18952..e2d073f6bfc9 100644 --- a/stoc/test/testsmgr_cpnt.cxx +++ b/stoc/test/testsmgr_cpnt.cxx @@ -222,14 +222,14 @@ extern "C" void SAL_CALL test_ServiceManager() OSL_ENSURE( nLen == 8, "more than 6 factories" ); // try to get an instance for a unknown service - OSL_VERIFY( !xSMgr->createInstance(OUString("bla.blup.Q")).is() ); + OSL_VERIFY( !xSMgr->createInstance("bla.blup.Q").is() ); // // First test : register service via the internal function of the component itself // { Reference< XImplementationRegistration > - xInst( xSMgr->createInstance(OUString("com.sun.star.registry.ImplementationRegistration")), UNO_QUERY ); + xInst( xSMgr->createInstance("com.sun.star.registry.ImplementationRegistration"), UNO_QUERY ); OSL_ENSURE( xInst.is(), "no ImplementationRegistration" ); try { @@ -248,7 +248,7 @@ extern "C" void SAL_CALL test_ServiceManager() // tests, if a service provider can be instantiated. - Reference< XInterface > xIFace(xSMgr->createInstance(OUString("com.sun.star.ts.TestManagerImpl"))); + Reference< XInterface > xIFace(xSMgr->createInstance("com.sun.star.ts.TestManagerImpl")); OSL_ENSURE( xIFace.is(), "loadable service not found" ); // remove the service |