summaryrefslogtreecommitdiff
path: root/registry/workben
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 /registry/workben
parent1f34524746a0849ee2c76241d7ac6934110009fe (diff)
convert RegValueType to scoped enum
Change-Id: Ic672e75db4d7323760577b19490ffa28d38965b6
Diffstat (limited to 'registry/workben')
-rw-r--r--registry/workben/regtest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/workben/regtest.cxx b/registry/workben/regtest.cxx
index 2a891f7a0b6a..cf6b06dfd03e 100644
--- a/registry/workben/regtest.cxx
+++ b/registry/workben/regtest.cxx
@@ -91,7 +91,7 @@ int _cdecl main()
char* Value=(char*)"Mein erster Value";
- if (reg_setValue(hRootKey, OUString("mySecondKey").pData, RG_VALUETYPE_STRING, Value, 18))
+ if (reg_setValue(hRootKey, OUString("mySecondKey").pData, RegValueType::STRING, Value, 18))
cout << "\t9. setValue of key \"mySecondKey\" failed\n";
else
cout << "9. setValue (string Value) of key \"mySecondKey\"\n";
@@ -208,7 +208,7 @@ int _cdecl main()
cout << "27. key \"reg2ThirdKey\" is created\n";
sal_uInt32 nValue= 123456789;
- if (reg_setValue(h2Key3, OUString().pData, RG_VALUETYPE_LONG, &nValue, sizeof(sal_uInt32)))
+ if (reg_setValue(h2Key3, OUString().pData, RegValueType::LONG, &nValue, sizeof(sal_uInt32)))
cout << "\t27.b) setValue of key \"reg2FirstSubKey\" failed\n";
else
cout << "27.b). setValue (long Value) of key \"reg2FirstSubKey\"\n";