diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-16 08:59:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-16 09:10:16 +0000 |
commit | 7cca2c7fb328e64f1779993b60809eff6974b970 (patch) | |
tree | 1e9463b671572a0ea0d04f443033b9eaf8933bcc /include/svx/ShapeTypeHandler.hxx | |
parent | 3c73942c8c4b97ee9ede65890e1b1db3cac753c5 (diff) |
new loplugin finalprotected
look for final classes, and make sure they don't have protected members
Change-Id: I1fa810659bba02b61a5160dbfd8e24185ec9abf4
Reviewed-on: https://gerrit.libreoffice.org/30895
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/ShapeTypeHandler.hxx')
-rw-r--r-- | include/svx/ShapeTypeHandler.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svx/ShapeTypeHandler.hxx b/include/svx/ShapeTypeHandler.hxx index 7e21e384ed93..b2c80e3cac0b 100644 --- a/include/svx/ShapeTypeHandler.hxx +++ b/include/svx/ShapeTypeHandler.hxx @@ -140,7 +140,7 @@ public: const css::uno::Reference< css::drawing::XShape >& rxShape) throw (css::uno::RuntimeException, std::exception); -protected: +private: // Declare default constructor, copy constructor, destructor, and // assignment operation protected so that no one accidentally creates a // second instance of this singleton class or deletes it. @@ -153,7 +153,6 @@ protected: */ ~ShapeTypeHandler(); -private: /// Pointer to the only instance of this class. static ShapeTypeHandler* instance; |