diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-17 09:34:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-17 10:20:19 +0200 |
commit | 6f3b39499f9c6c88d637b621ef9ec6189d4fb9ff (patch) | |
tree | 848a5c335833cb61b2e6d2a9120ed5d6d354705b /registry/source/reflread.cxx | |
parent | dd323b051d54c5e931b2ee9891c463a310a93889 (diff) |
loplugin:constparams in store,registry
Change-Id: I5633203b372a9abd0138a396958c235ea8aaf66d
Reviewed-on: https://gerrit.libreoffice.org/40039
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry/source/reflread.cxx')
-rw-r--r-- | registry/source/reflread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index 343943516490..a93602ffda47 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -1263,10 +1263,10 @@ void TYPEREG_CALLTYPE typereg_reader_release(void * hEntry) } } -typereg_Version TYPEREG_CALLTYPE typereg_reader_getVersion(void * handle) { +typereg_Version TYPEREG_CALLTYPE typereg_reader_getVersion(void const * handle) { if (handle != nullptr) { try { - return static_cast< TypeRegistryEntry * >(handle)->getVersion(); + return static_cast< TypeRegistryEntry const * >(handle)->getVersion(); } catch (BlopObject::BoundsError &) { SAL_WARN("registry", "bad data"); } |