summaryrefslogtreecommitdiff
path: root/sw/inc/reffld.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/reffld.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/reffld.hxx')
-rw-r--r--sw/inc/reffld.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx
index 19851da69555..f59ea0d55b43 100644
--- a/sw/inc/reffld.hxx
+++ b/sw/inc/reffld.hxx
@@ -62,10 +62,10 @@ enum REFERENCEMARK
/// Get reference.
-class SAL_DLLPUBLIC_RTTI SwGetRefFieldType : public SwFieldType
+class SAL_DLLPUBLIC_RTTI SwGetRefFieldType final : public SwFieldType
{
SwDoc* m_pDoc;
-protected:
+
/// Overlay in order to update all ref-fields.
virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) override;
public:
@@ -82,7 +82,7 @@ public:
SwRootFrame const* pLayout = nullptr);
};
-class SW_DLLPUBLIC SwGetRefField : public SwField
+class SW_DLLPUBLIC SwGetRefField final : public SwField
{
private:
OUString m_sSetRefName;