From 1bdbe0b475464402716c1c304d28376f1c37d820 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 8 Apr 2015 12:18:03 +0200 Subject: convert REG_ constants to scoped enum Change-Id: I11d92218c5e0678d497f8964723033e2bd8b3300 --- registry/tools/regview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/tools/regview.cxx') 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); -- cgit