summaryrefslogtreecommitdiff
path: root/registry/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 08:50:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 12:58:31 +0100
commit693d40fed862614e05fbad167f7f09005683d6da (patch)
treea908faedb0c82264de7051a30cfded2c9e6e3289 /registry/tools
parentc0cf07d3da5245e594f8f1ad11479e85bd15b88f (diff)
loplugin:constantparam in oox,registry,reportdesign
Change-Id: I914fa6c6ef2f660eb6b8570c9c5f86cef477be80 Reviewed-on: https://gerrit.libreoffice.org/44093 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry/tools')
-rw-r--r--registry/tools/regview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/tools/regview.cxx b/registry/tools/regview.cxx
index 178289fc297d..56aa343f4254 100644
--- a/registry/tools/regview.cxx
+++ b/registry/tools/regview.cxx
@@ -46,7 +46,7 @@ int __cdecl main( int argc, char * argv[] )
}
OUString regName( convertToFileUrl(argv[1], strlen(argv[1])) );
- if (reg_openRegistry(regName.pData, &hReg, RegAccessMode::READONLY) != RegError::NO_ERROR)
+ if (reg_openRegistry(regName.pData, &hReg) != RegError::NO_ERROR)
{
fprintf(stderr, "open registry \"%s\" failed\n", argv[1]);
exit(1);