summaryrefslogtreecommitdiff
path: root/include/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 17:09:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 14:38:11 +0100
commit2bf2541c6b849a5153462327f8d167a386464dda (patch)
tree49ce25a29bcf0236206e73a529e18812186ea421 /include/registry
parente54f4cc24d29fe133a5eaae90515f74c64644159 (diff)
loplugin:finalclasses in reportdesign
Change-Id: I6fab8ce7d1c9a5e52a981dc7530fafb2373e27f6 Reviewed-on: https://gerrit.libreoffice.org/44098 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/registry.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index 36b7d77858d3..2036c730fa9e 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -80,7 +80,7 @@ class RegistryKey;
The class is implemented inline and use a C-Api.
*/
-class Registry
+class Registry final
{
public:
/** Default constructor.
@@ -180,8 +180,8 @@ public:
/// returns the used registry Api.
const Registry_Api* getApi() const { return m_pApi; }
-protected:
+private:
/// stores the used and initialized registry Api.
const Registry_Api* m_pApi;
/// stores the handle of the underlying registry file on which most of the functions work.
@@ -270,7 +270,7 @@ protected:
RegistryValueList is a helper class to work with a list value.
*/
template<class ValueType>
-class RegistryValueList
+class RegistryValueList final
{
public:
/// Default constructor
@@ -308,7 +308,8 @@ public:
}
friend class RegistryKey;
-protected:
+
+private:
/** sets the data of the value list.
@param registry specifies the registry files where the appropriate key is located.