summaryrefslogtreecommitdiff
path: root/stoc/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-08 12:18:03 +0200
committerNoel Grandin <noel@peralex.com>2015-04-09 08:41:11 +0200
commit1bdbe0b475464402716c1c304d28376f1c37d820 (patch)
tree4ed184ad2b1ce13e3214d15eaed180c7e38bc073 /stoc/source
parent1b0c1943788f6083b27a1e5a4d6d76373f08459b (diff)
convert REG_ constants to scoped enum
Change-Id: I11d92218c5e0678d497f8964723033e2bd8b3300
Diffstat (limited to 'stoc/source')
-rw-r--r--stoc/source/simpleregistry/simpleregistry.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/simpleregistry/simpleregistry.cxx b/stoc/source/simpleregistry/simpleregistry.cxx
index 12faa50b1838..122cee8410e0 100644
--- a/stoc/source/simpleregistry/simpleregistry.cxx
+++ b/stoc/source/simpleregistry/simpleregistry.cxx
@@ -1018,7 +1018,7 @@ void SimpleRegistry::open(
osl::MutexGuard guard(mutex_);
RegError err = (rURL.isEmpty() && bCreate)
? REG_REGISTRY_NOT_EXISTS
- : registry_.open(rURL, bReadOnly ? REG_READONLY : REG_READWRITE);
+ : registry_.open(rURL, bReadOnly ? RegAccessMode::READONLY : RegAccessMode::READWRITE);
if (err == REG_REGISTRY_NOT_EXISTS && bCreate) {
err = registry_.create(rURL);
}