summaryrefslogtreecommitdiff
path: root/registry/source/regimpl.hxx
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 /registry/source/regimpl.hxx
parent1b0c1943788f6083b27a1e5a4d6d76373f08459b (diff)
convert REG_ constants to scoped enum
Change-Id: I11d92218c5e0678d497f8964723033e2bd8b3300
Diffstat (limited to 'registry/source/regimpl.hxx')
-rw-r--r--registry/source/regimpl.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx
index 3dc88987a29a..6d38cb796947 100644
--- a/registry/source/regimpl.hxx
+++ b/registry/source/regimpl.hxx
@@ -48,8 +48,6 @@
#define VALUE_TYPEOFFSET 1
#define VALUE_HEADEROFFSET 5
-#define REG_CREATE 0x0004 // allow write accesses
-
#define REG_GUARD(mutex) \
osl::Guard< osl::Mutex > aGuard( mutex );
@@ -68,7 +66,8 @@ public:
{ return --m_refCount; }
RegError initRegistry(const OUString& name,
- RegAccessMode accessMode);
+ RegAccessMode accessMode,
+ bool bCreate = false);
RegError closeRegistry();