summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/unoatxt.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/source/uibase/inc/unoatxt.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/source/uibase/inc/unoatxt.hxx')
-rw-r--r--sw/source/uibase/inc/unoatxt.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/unoatxt.hxx b/sw/source/uibase/inc/unoatxt.hxx
index 1b6f1a7fc14b..5ddcea49d0d1 100644
--- a/sw/source/uibase/inc/unoatxt.hxx
+++ b/sw/source/uibase/inc/unoatxt.hxx
@@ -153,7 +153,7 @@ public:
void Invalidate();
};
-class SwXAutoTextEntry
+class SwXAutoTextEntry final
:public SfxListener
,public cppu::BaseMutex
,public cppu::WeakComponentImplHelper
@@ -181,7 +181,6 @@ class SwXAutoTextEntry
void SAL_CALL disposing() override;
-protected:
/** ensure that the current content (which may only be in-memory so far) is flushed to the auto text group file
<p>If somebody modifies an auto text via this class, then this is not directly reflected to the respective
@@ -198,7 +197,6 @@ protected:
// SfxListener overridables
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
-protected:
virtual ~SwXAutoTextEntry() override; // ref-counted objects are not to be deleted from outside -> protected dtor
public: