summaryrefslogtreecommitdiff
path: root/sw/inc/fmtfld.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-04 10:23:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-04 10:29:24 +0100
commitdaa344f3e9683c16479ef5081fb03325af103c07 (patch)
tree9eaad4d46de6e6cbbbee9f2e0d911563cf5cd12d /sw/inc/fmtfld.hxx
parentfa7f07d23de31e5f1660a643d83ca8a2e565f69c (diff)
loplugin:finalclasses in sw/inc
Change-Id: I084502d8c5607f103ef987b54252ef95341f0bef Reviewed-on: https://gerrit.libreoffice.org/81981 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/fmtfld.hxx')
-rw-r--r--sw/inc/fmtfld.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx
index f945bbcc0aa2..34c7d73aab5d 100644
--- a/sw/inc/fmtfld.hxx
+++ b/sw/inc/fmtfld.hxx
@@ -34,7 +34,7 @@ class SwFieldType;
namespace com { namespace sun { namespace star { namespace text { class XTextField; } } } }
// ATT_FLD
-class SW_DLLPUBLIC SwFormatField
+class SW_DLLPUBLIC SwFormatField final
: public SfxPoolItem
, public sw::BroadcastingModify
, public SfxBroadcaster
@@ -47,7 +47,6 @@ class SW_DLLPUBLIC SwFormatField
std::unique_ptr<SwField> mpField;
SwTextField* mpTextField; // the TextAttribute
-protected:
virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override;
virtual void SwClientNotify( const SwModify& rModify, const SfxHint& rHint ) override;
@@ -118,7 +117,7 @@ enum class SwFormatFieldHintWhich
RESOLVED = 6
};
-class SW_DLLPUBLIC SwFormatFieldHint : public SfxHint
+class SW_DLLPUBLIC SwFormatFieldHint final : public SfxHint
{
const SwFormatField* m_pField;
SwFormatFieldHintWhich const m_nWhich;