summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-08 13:09:05 +0200
committerNoel Grandin <noel@peralex.com>2015-04-09 08:41:11 +0200
commit95600edeaf48a80a1e84c44b37f4035bc4db3070 (patch)
treeed62af7a330438526d33ece26606811de365d7ee /idlc
parent1f34524746a0849ee2c76241d7ac6934110009fe (diff)
convert RegValueType to scoped enum
Change-Id: Ic672e75db4d7323760577b19490ffa28d38965b6
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astdump.cxx8
-rw-r--r--idlc/source/astenum.cxx2
-rw-r--r--idlc/source/astinterface.cxx2
-rw-r--r--idlc/source/aststruct.cxx2
4 files changed, 7 insertions, 7 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index 5b6938c80d80..7195ecca6426 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -86,7 +86,7 @@ bool AstModule::dump(RegistryKey& rKey)
sal_uInt32 aBlobSize;
void const * pBlob = aBlob.getBlob(&aBlobSize);
- if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY,
+ if (localKey.setValue(emptyStr, RegValueType::BINARY,
const_cast<RegValue>(pBlob), aBlobSize))
{
fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
@@ -111,7 +111,7 @@ bool AstModule::dump(RegistryKey& rKey)
if ( getNodeType() != NT_root )
{
- if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY,
+ if (localKey.setValue(emptyStr, RegValueType::BINARY,
const_cast<RegValue>(pBlob), aBlobSize))
{
fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
@@ -152,7 +152,7 @@ bool AstTypeDef::dump(RegistryKey& rKey)
sal_uInt32 aBlobSize;
void const * pBlob = aBlob.getBlob(&aBlobSize);
- if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY, const_cast<RegValue>(pBlob), aBlobSize))
+ if (localKey.setValue(emptyStr, RegValueType::BINARY, const_cast<RegValue>(pBlob), aBlobSize))
{
fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
idlc()->getOptions()->getProgramName().getStr(),
@@ -309,7 +309,7 @@ bool AstService::dump(RegistryKey& rKey)
sal_uInt32 size;
void const * blob = writer.getBlob(&size);
if (localKey.setValue(
- emptyStr, RG_VALUETYPE_BINARY, const_cast< void * >(blob),
+ emptyStr, RegValueType::BINARY, const_cast< void * >(blob),
size))
{
fprintf(
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx
index 51a48f06282e..e6855694bf4b 100644
--- a/idlc/source/astenum.cxx
+++ b/idlc/source/astenum.cxx
@@ -91,7 +91,7 @@ bool AstEnum::dump(RegistryKey& rKey)
sal_uInt32 aBlobSize;
void const * pBlob = aBlob.getBlob(&aBlobSize);
- if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY,
+ if (localKey.setValue(emptyStr, RegValueType::BINARY,
const_cast<RegValue>(pBlob), aBlobSize))
{
fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
diff --git a/idlc/source/astinterface.cxx b/idlc/source/astinterface.cxx
index 7a28e2198d5c..a3b911a1f7c5 100644
--- a/idlc/source/astinterface.cxx
+++ b/idlc/source/astinterface.cxx
@@ -244,7 +244,7 @@ bool AstInterface::dump(RegistryKey& rKey)
sal_uInt32 aBlobSize;
void const * pBlob = aBlob.getBlob(&aBlobSize);
- if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY, const_cast<RegValue>(pBlob), aBlobSize))
+ if (localKey.setValue(emptyStr, RegValueType::BINARY, const_cast<RegValue>(pBlob), aBlobSize))
{
fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
idlc()->getOptions()->getProgramName().getStr(),
diff --git a/idlc/source/aststruct.cxx b/idlc/source/aststruct.cxx
index 5df066c01e31..3c8ab45b8daf 100644
--- a/idlc/source/aststruct.cxx
+++ b/idlc/source/aststruct.cxx
@@ -161,7 +161,7 @@ bool AstStruct::dump(RegistryKey& rKey)
sal_uInt32 aBlobSize;
void const * pBlob = aBlob.getBlob(&aBlobSize);
- if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY,
+ if (localKey.setValue(emptyStr, RegValueType::BINARY,
const_cast<RegValue>(pBlob), aBlobSize))
{
fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",