diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-01 17:32:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-02 10:56:53 +0100 |
commit | 570eed8ce4761cea0aa74efc85c182bc4af45493 (patch) | |
tree | 138f034ae9b9c10ed4959f3445aeb9b14153a0df /forms/source/richtext/richtextengine.hxx | |
parent | bcb5a3121d089c059b0293c4402c3617bbe3d131 (diff) |
loplugin:finalclasses in forms
Change-Id: I0f849fd104699e2861aaba2d4be38168e80703b0
Reviewed-on: https://gerrit.libreoffice.org/44189
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/richtext/richtextengine.hxx')
-rw-r--r-- | forms/source/richtext/richtextengine.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index a6ce40624793..e71189907e4f 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -39,7 +39,7 @@ namespace frm ~IEngineStatusListener() {} }; - class RichTextEngine : public EditEngine + class RichTextEngine final : public EditEngine { private: SfxItemPool* m_pEnginePool; @@ -57,16 +57,14 @@ namespace frm SfxItemPool* getPool() { return m_pEnginePool; } - protected: + private: /** constructs a new RichTextEngine. The instances takes the ownership of the given SfxItemPool */ explicit RichTextEngine( SfxItemPool* _pPool ); - private: RichTextEngine( const RichTextEngine& ) = delete; RichTextEngine& operator=( const RichTextEngine& ) = delete; - private: DECL_LINK( EditEngineStatusChanged, EditStatus&, void ); }; |