From 1bdbe0b475464402716c1c304d28376f1c37d820 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 8 Apr 2015 12:18:03 +0200 Subject: convert REG_ constants to scoped enum Change-Id: I11d92218c5e0678d497f8964723033e2bd8b3300 --- stoc/source/simpleregistry/simpleregistry.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stoc/source') 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); } -- cgit