summaryrefslogtreecommitdiff
path: root/forms/source/richtext
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/richtext')
-rw-r--r--forms/source/richtext/richtextcontrol.hxx4
-rw-r--r--forms/source/richtext/richtextengine.hxx6
2 files changed, 4 insertions, 6 deletions
diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx
index c48fa618da62..0c552848df5b 100644
--- a/forms/source/richtext/richtextcontrol.hxx
+++ b/forms/source/richtext/richtextcontrol.hxx
@@ -75,7 +75,7 @@ namespace frm
typedef ::cppu::ImplHelper1 < css::frame::XDispatchProvider
> ORichTextPeer_Base;
- class ORichTextPeer :public VCLXWindow
+ class ORichTextPeer final :public VCLXWindow
,public ORichTextPeer_Base
,public ITextSelectionListener
{
@@ -96,7 +96,7 @@ namespace frm
// XInterface
DECLARE_XINTERFACE( )
- protected:
+ private:
ORichTextPeer();
virtual ~ORichTextPeer() override;
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 );
};