diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 14:16:55 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 14:18:10 +0100 |
commit | 5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb (patch) | |
tree | f891d796fa21c5bfb941eaa4a3f0c05a7e179cc6 /stoc/test | |
parent | 2633b249ea6921645c57ab24a1c9ad0c8e61e144 (diff) |
further OUString cleanup
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
Diffstat (limited to 'stoc/test')
-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)); |