diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-08 12:18:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 08:41:11 +0200 |
commit | 1bdbe0b475464402716c1c304d28376f1c37d820 (patch) | |
tree | 4ed184ad2b1ce13e3214d15eaed180c7e38bc073 /registry/tools/regview.cxx | |
parent | 1b0c1943788f6083b27a1e5a4d6d76373f08459b (diff) |
convert REG_ constants to scoped enum
Change-Id: I11d92218c5e0678d497f8964723033e2bd8b3300
Diffstat (limited to 'registry/tools/regview.cxx')
-rw-r--r-- | registry/tools/regview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/tools/regview.cxx b/registry/tools/regview.cxx index 16b1b17a5060..6930a8fcc073 100644 --- a/registry/tools/regview.cxx +++ b/registry/tools/regview.cxx @@ -44,7 +44,7 @@ int __cdecl main( int argc, char * argv[] ) } OUString regName( convertToFileUrl(argv[1], strlen(argv[1])) ); - if (reg_openRegistry(regName.pData, &hReg, REG_READONLY)) + if (reg_openRegistry(regName.pData, &hReg, RegAccessMode::READONLY)) { fprintf(stderr, "open registry \"%s\" failed\n", argv[1]); exit(1); |