From 19240f625f8bd7b772481abc8e678d7b0fadd921 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 Feb 2019 10:24:55 +0200 Subject: loplugin:unusedfields look for classes where we can make all the.. fields private Change-Id: Id3c6b123f06ab5dcf87628de4c347626110d2d27 Reviewed-on: https://gerrit.libreoffice.org/68302 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/registry/registry.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/registry') diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx index 0cd7d576f644..e678a118f369 100644 --- a/include/registry/registry.hxx +++ b/include/registry/registry.hxx @@ -217,7 +217,7 @@ protected: @param length specifies the length of the array specified by phKeys. */ inline void setKeyHandles(Registry const & registry, RegKeyHandle* phKeys, sal_uInt32 length); - +private: /// stores the number of open subkeys, the number of elements. sal_uInt32 m_length; /// stores an array of open subkeys. @@ -255,7 +255,7 @@ protected: @param length specifies the length of the array specified by pKeyNames. */ inline void setKeyNames(Registry const & registry, rtl_uString** pKeyNames, sal_uInt32 length); - +private: /// stores the number of key names, the number of elements. sal_uInt32 m_length; /// stores an array of key names. -- cgit