diff options
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/test/testregistry.cxx | 8 | ||||
-rw-r--r-- | stoc/test/testsmgr.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/stoc/test/testregistry.cxx b/stoc/test/testregistry.cxx index 0f24e3eb11b7..c118cbdfa976 100644 --- a/stoc/test/testregistry.cxx +++ b/stoc/test/testregistry.cxx @@ -111,7 +111,7 @@ Registry *myRegistry = new Registry(); RegistryKey rootKey, rKey, rKey2; OUString userReg = getExePath(); -userReg += OUString("user.rdb"); +userReg += "user.rdb"; if(myRegistry->open(userReg, REG_READWRITE)) { OSL_VERIFY(!myRegistry->create(userReg)); @@ -131,7 +131,7 @@ void setLinkInDefaultRegistry(const OUString& linkName, const OUString& linkTarg RegistryKey rootKey; OUString appReg = getExePath(); - appReg += OUString("stoctest.rdb"); + appReg += "stoctest.rdb"; OSL_VERIFY(!myRegistry->open(appReg, REG_READWRITE)); OSL_VERIFY(!myRegistry->openRootKey(rootKey)); @@ -440,8 +440,8 @@ void test_DefaultRegistry( OUString userRdb(exePath); OUString applicatRdb(exePath); - userRdb += OUString("user.rdb"); - applicatRdb += OUString("stoctest.rdb"); + userRdb += "user.rdb"; + applicatRdb += "stoctest.rdb"; Reference < XMultiServiceFactory > rSMgr = ::cppu::createRegistryServiceFactory( userRdb, applicatRdb, sal_False, OUString()); //OUString("//./e:/src596/stoc/wntmsci3/bin") ); diff --git a/stoc/test/testsmgr.cxx b/stoc/test/testsmgr.cxx index 05b8fef9299c..d60323731dfd 100644 --- a/stoc/test/testsmgr.cxx +++ b/stoc/test/testsmgr.cxx @@ -63,7 +63,7 @@ void setStarUserRegistry() RegistryKey rootKey, rKey, rKey2; OUString userReg = getExePath(); - userReg += OUString("user.rdb"); + userReg += "user.rdb"; if(myRegistry->open(userReg, REG_READWRITE)) { OSL_VERIFY(!myRegistry->create(userReg)); |