summaryrefslogtreecommitdiff
path: root/sw/inc/unoframe.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-20 14:51:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-23 08:16:02 +0200
commitb17294826830e278d060c876cf4f94a9b4ec16cc (patch)
tree85a1139b0484f44ef8e8edd9af6e0c410e702442 /sw/inc/unoframe.hxx
parent2559a2a0567dbc392ceb34057c0dc5078bbb9474 (diff)
loplugin:finalclasses in sw
Change-Id: I3b1d689d5eb800a36466376bca735dd31fe4567c Reviewed-on: https://gerrit.libreoffice.org/43639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unoframe.hxx')
-rw-r--r--sw/inc/unoframe.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx
index 44e27f6434b6..1c642296eceb 100644
--- a/sw/inc/unoframe.hxx
+++ b/sw/inc/unoframe.hxx
@@ -169,11 +169,10 @@ typedef cppu::WeakImplHelper
>
SwXTextFrameBaseClass;
-class SwXTextFrame : public SwXTextFrameBaseClass,
+class SwXTextFrame final : public SwXTextFrameBaseClass,
public SwXText,
public SwXFrame
{
-protected:
friend class SwXFrame; // just for CreateXFrame
virtual const SwStartNode *GetStartNode() const override;
@@ -247,9 +246,8 @@ typedef cppu::ImplInheritanceHelper
css::document::XEventsSupplier
>
SwXTextGraphicObjectBaseClass;
-class SwXTextGraphicObject : public SwXTextGraphicObjectBaseClass
+class SwXTextGraphicObject final : public SwXTextGraphicObjectBaseClass
{
-protected:
friend class SwXFrame; // just for CreateXFrame
virtual ~SwXTextGraphicObject() override;
@@ -281,10 +279,10 @@ typedef cppu::ImplInheritanceHelper
css::document::XEventsSupplier
> SwXTextEmbeddedObjectBaseClass;
-class SwXTextEmbeddedObject : public SwXTextEmbeddedObjectBaseClass
+class SwXTextEmbeddedObject final : public SwXTextEmbeddedObjectBaseClass
{
css::uno::Reference<css::util::XModifyListener> m_xOLEListener;
-protected:
+
friend class SwXFrame; // just for CreateXFrame
virtual ~SwXTextEmbeddedObject() override;