diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-06 11:11:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-06 11:55:28 +0100 |
commit | 315bf654595fc621c2beb8bc332df419ff387b44 (patch) | |
tree | bf180f0fa2eb39e6f68feab63790e3abb6ccefe8 /desktop | |
parent | fe2e279c0817827ba61c37735dfd098bfe3337fe (diff) |
loplugin:finalclasses in dbaccess
Change-Id: I7cbc786407ee798950a7fdc98f43aee0845ff862
Reviewed-on: https://gerrit.libreoffice.org/44347
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/inc/dp_persmap.h | 4 | ||||
-rw-r--r-- | desktop/source/deployment/manager/dp_manager.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/desktop/source/deployment/inc/dp_persmap.h b/desktop/source/deployment/inc/dp_persmap.h index fb59cd5a0680..c42841c83f84 100644 --- a/desktop/source/deployment/inc/dp_persmap.h +++ b/desktop/source/deployment/inc/dp_persmap.h @@ -32,7 +32,7 @@ typedef std::unordered_map< // Class to read obsolete registered extensions // should be removed for LibreOffice 4.0 -class PersistentMap +class PersistentMap final { ::osl::File m_MapFile; t_string2string_map m_entries; @@ -52,7 +52,7 @@ public: void put( OString const & key, OString const & value ); bool erase( OString const & key ); -protected: +private: void open(); void readAll(); void add( OString const & key, OString const & value ); diff --git a/desktop/source/deployment/manager/dp_manager.h b/desktop/source/deployment/manager/dp_manager.h index 54b694c17d39..f5ffe6996d49 100644 --- a/desktop/source/deployment/manager/dp_manager.h +++ b/desktop/source/deployment/manager/dp_manager.h @@ -39,7 +39,7 @@ typedef ::cppu::WeakComponentImplHelper< css::deployment::XPackageManager > t_pm_helper; -class PackageManagerImpl : private ::dp_misc::MutexHolder, public t_pm_helper +class PackageManagerImpl final : private ::dp_misc::MutexHolder, public t_pm_helper { css::uno::Reference<css::uno::XComponentContext> m_xComponentContext; OUString m_context; @@ -115,7 +115,6 @@ class PackageManagerImpl : private ::dp_misc::MutexHolder, public t_pm_helper virtual void SAL_CALL pop() override; }; -protected: inline void check(); virtual void SAL_CALL disposing() override; |