summaryrefslogtreecommitdiff
path: root/sw/inc/usrfld.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/usrfld.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/usrfld.hxx')
-rw-r--r--sw/inc/usrfld.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/usrfld.hxx b/sw/inc/usrfld.hxx
index 7723cf3a903c..d10dc73e9143 100644
--- a/sw/inc/usrfld.hxx
+++ b/sw/inc/usrfld.hxx
@@ -32,7 +32,7 @@ class SwDoc;
* Tracks the value, but conversion between the float and string representation
* always happens with the system locale.
*/
-class SW_DLLPUBLIC SwUserFieldType : public SwValueFieldType
+class SW_DLLPUBLIC SwUserFieldType final : public SwValueFieldType
{
bool m_bValidValue : 1;
bool m_bDeleted : 1;
@@ -70,7 +70,7 @@ public:
virtual void PutValue( const css::uno::Any& rVal, sal_uInt16 nMId ) override;
void dumpAsXml(xmlTextWriterPtr pWriter) const override;
-protected:
+private:
virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) override;
};
@@ -98,7 +98,7 @@ inline void SwUserFieldType::SetType(sal_uInt16 nSub)
* Tracks the number format and the language, conversion between the float and
* string representation is independent from the system locale.
*/
-class SW_DLLPUBLIC SwUserField : public SwValueField
+class SW_DLLPUBLIC SwUserField final : public SwValueField
{
sal_uInt16 m_nSubType;