summaryrefslogtreecommitdiff
path: root/sw/inc/swtblfmt.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-20 14:51:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-23 08:16:02 +0200
commitb17294826830e278d060c876cf4f94a9b4ec16cc (patch)
tree85a1139b0484f44ef8e8edd9af6e0c410e702442 /sw/inc/swtblfmt.hxx
parent2559a2a0567dbc392ceb34057c0dc5078bbb9474 (diff)
loplugin:finalclasses in sw
Change-Id: I3b1d689d5eb800a36466376bca735dd31fe4567c Reviewed-on: https://gerrit.libreoffice.org/43639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swtblfmt.hxx')
-rw-r--r--sw/inc/swtblfmt.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/inc/swtblfmt.hxx b/sw/inc/swtblfmt.hxx
index 51fdeb49d208..6a5765fb9b9f 100644
--- a/sw/inc/swtblfmt.hxx
+++ b/sw/inc/swtblfmt.hxx
@@ -23,11 +23,10 @@
class SwDoc;
-class SW_DLLPUBLIC SwTableFormat : public SwFrameFormat
+class SW_DLLPUBLIC SwTableFormat final : public SwFrameFormat
{
friend class SwDoc;
-protected:
SwTableFormat( SwAttrPool& rPool, const OUString &rFormatNm,
SwFrameFormat *pDrvdFrame )
: SwFrameFormat( rPool, rFormatNm, pDrvdFrame, RES_FRMFMT, aTableSetRange )
@@ -40,11 +39,10 @@ public:
virtual bool supportsFullDrawingLayerFillAttributeSet() const override;
};
-class SwTableLineFormat : public SwFrameFormat
+class SwTableLineFormat final : public SwFrameFormat
{
friend class SwDoc;
-protected:
SwTableLineFormat( SwAttrPool& rPool, SwFrameFormat *pDrvdFrame )
: SwFrameFormat( rPool, OUString(), pDrvdFrame, RES_FRMFMT, aTableLineSetRange )
{}
@@ -56,11 +54,10 @@ public:
virtual bool supportsFullDrawingLayerFillAttributeSet() const override;
};
-class SW_DLLPUBLIC SwTableBoxFormat : public SwFrameFormat
+class SW_DLLPUBLIC SwTableBoxFormat final : public SwFrameFormat
{
friend class SwDoc;
-protected:
SwTableBoxFormat( SwAttrPool& rPool, SwFrameFormat *pDrvdFrame )
: SwFrameFormat( rPool, OUString(), pDrvdFrame, RES_FRMFMT, aTableBoxSetRange )
{}