summaryrefslogtreecommitdiff
path: root/sw/inc/fchrfmt.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/fchrfmt.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/fchrfmt.hxx')
-rw-r--r--sw/inc/fchrfmt.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/fchrfmt.hxx b/sw/inc/fchrfmt.hxx
index c42ba44fbcd0..bef670ffef5f 100644
--- a/sw/inc/fchrfmt.hxx
+++ b/sw/inc/fchrfmt.hxx
@@ -27,7 +27,7 @@
class SwTextCharFormat;
class IntlWrapper;
-class SW_DLLPUBLIC SwFormatCharFormat: public SfxPoolItem, public SwClient
+class SW_DLLPUBLIC SwFormatCharFormat final : public SfxPoolItem, public SwClient
{
friend class SwTextCharFormat;
SwTextCharFormat* m_pTextAttribute; ///< My text attribute.
@@ -39,10 +39,10 @@ public:
/// @@@ public copy ctor, but no copy assignment?
SwFormatCharFormat( const SwFormatCharFormat& rAttr );
-protected:
- virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) override;
private:
+ virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) override;
+
/// @@@ public copy ctor, but no copy assignment?
SwFormatCharFormat & operator= (const SwFormatCharFormat &) = delete;
public: