From 5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 19 Mar 2013 14:16:55 +0100 Subject: further OUString cleanup Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6 --- stoc/test/testregistry.cxx | 8 ++++---- stoc/test/testsmgr.cxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'stoc') 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)); -- cgit v1.2.3