summaryrefslogtreecommitdiff
path: root/sw/inc/authfld.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/authfld.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/authfld.hxx')
-rw-r--r--sw/inc/authfld.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index 171febb19bed..fe631d7715a0 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -29,7 +29,7 @@
#include <memory>
#include <vector>
-class SwAuthEntry : public salhelper::SimpleReferenceObject
+class SwAuthEntry final : public salhelper::SimpleReferenceObject
{
OUString aAuthFields[AUTH_FIELD_END];
public:
@@ -54,7 +54,7 @@ struct SwTOXSortKey
typedef std::vector<SwTOXSortKey> SortKeyArr;
typedef std::vector<rtl::Reference<SwAuthEntry>> SwAuthDataArr;
-class SW_DLLPUBLIC SwAuthorityFieldType : public SwFieldType
+class SW_DLLPUBLIC SwAuthorityFieldType final : public SwFieldType
{
SwDoc* m_pDoc;
SwAuthDataArr m_DataArr;
@@ -68,8 +68,7 @@ class SW_DLLPUBLIC SwAuthorityFieldType : public SwFieldType
LanguageType m_eLanguage;
OUString m_sSortAlgorithm;
-protected:
-virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) override;
+ virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) override;
public:
SwAuthorityFieldType(SwDoc* pDoc);
@@ -145,7 +144,7 @@ public:
one of the instances with the same m_nHandle is actually in the document,
they're all cloned via CopyField()...
*/
-class SAL_DLLPUBLIC_RTTI SwAuthorityField : public SwField
+class SAL_DLLPUBLIC_RTTI SwAuthorityField final : public SwField
{
rtl::Reference<SwAuthEntry> m_xAuthEntry;
mutable sal_IntPtr m_nTempSequencePos;