summaryrefslogtreecommitdiff
path: root/stoc/test/testregistry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/testregistry.cxx')
-rw-r--r--stoc/test/testregistry.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/test/testregistry.cxx b/stoc/test/testregistry.cxx
index 763619ae33a4..df7e2826b7e7 100644
--- a/stoc/test/testregistry.cxx
+++ b/stoc/test/testregistry.cxx
@@ -107,7 +107,7 @@ RegistryKey rootKey, rKey, rKey2;
OUString userReg = getExePath();
userReg += "user.rdb";
-if(myRegistry->open(userReg, REG_READWRITE))
+if(myRegistry->open(userReg, RegAccessMode::READWRITE))
{
OSL_VERIFY(!myRegistry->create(userReg));
}
@@ -128,7 +128,7 @@ void setLinkInDefaultRegistry(const OUString& linkName, const OUString& linkTarg
OUString appReg = getExePath();
appReg += "stoctest.rdb";
- OSL_VERIFY(!myRegistry->open(appReg, REG_READWRITE));
+ OSL_VERIFY(!myRegistry->open(appReg, RegAccessMode::READWRITE));
OSL_VERIFY(!myRegistry->openRootKey(rootKey));
OSL_VERIFY(!rootKey.createLink(linkName, linkTarget));