diff options
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/simpleregistry/simpleregistry.cxx | 2 |
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); } |