summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/content.hxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-01-29 13:51:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-30 08:13:50 +0100
commit5346b2556348477dcec371913d5924c6badfa2c7 (patch)
treee6f84360df23c0b552cddc597b7be0700dce3b13 /sw/source/uibase/inc/content.hxx
parent8f69a05ad7404590f2e4a1ba8d4d69fe896523ce (diff)
loplugin:finalclasses in sw
Change-Id: Ib939c1f34ae79abfc077080d2c2561ee0ee4a4fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110156 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/content.hxx')
-rw-r--r--sw/source/uibase/inc/content.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx
index e6dad0ad57f0..dfb1350a4424 100644
--- a/sw/source/uibase/inc/content.hxx
+++ b/sw/source/uibase/inc/content.hxx
@@ -34,7 +34,7 @@ class SwRangeRedline;
// helper classes
-class SwOutlineContent : public SwContent
+class SwOutlineContent final : public SwContent
{
SwOutlineNodes::size_type nOutlinePos;
sal_uInt8 nOutlineLevel;
@@ -54,7 +54,7 @@ class SwOutlineContent : public SwContent
bool IsMoveable() const {return bIsMoveable;};
};
-class SwRegionContent : public SwContent
+class SwRegionContent final : public SwContent
{
sal_uInt8 nRegionLevel;
@@ -69,7 +69,7 @@ class SwRegionContent : public SwContent
sal_uInt8 GetRegionLevel() const {return nRegionLevel;}
};
-class SwURLFieldContent : public SwContent
+class SwURLFieldContent final : public SwContent
{
OUString sURL;
const SwTextINetFormat* pINetAttr;
@@ -88,7 +88,7 @@ public:
const SwTextINetFormat* GetINetAttr() const { return pINetAttr; }
};
-class SwPostItContent : public SwContent
+class SwPostItContent final : public SwContent
{
const SwFormatField* pField;
public:
@@ -104,7 +104,7 @@ public:
virtual bool IsProtect() const override;
};
-class SwGraphicContent : public SwContent
+class SwGraphicContent final : public SwContent
{
OUString sLink;
public:
@@ -116,7 +116,7 @@ public:
const OUString& GetLink() const {return sLink;}
};
-class SwTOXBaseContent : public SwContent
+class SwTOXBaseContent final : public SwContent
{
const SwTOXBase* pBase;
public: