diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-20 14:51:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-23 08:16:02 +0200 |
commit | b17294826830e278d060c876cf4f94a9b4ec16cc (patch) | |
tree | 85a1139b0484f44ef8e8edd9af6e0c410e702442 /sw/inc/fmtcol.hxx | |
parent | 2559a2a0567dbc392ceb34057c0dc5078bbb9474 (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/fmtcol.hxx')
-rw-r--r-- | sw/inc/fmtcol.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx index 5511ccd7d022..35984ebe90bb 100644 --- a/sw/inc/fmtcol.hxx +++ b/sw/inc/fmtcol.hxx @@ -134,10 +134,10 @@ public: void dumpAsXml(struct _xmlTextWriter* pWriter) const; }; -class SwGrfFormatColl: public SwFormatColl +class SwGrfFormatColl final : public SwFormatColl { friend class SwDoc; -protected: + SwGrfFormatColl( SwAttrPool& rPool, const sal_Char* pFormatCollName, SwGrfFormatColl* pDerFrom = nullptr ) : SwFormatColl( rPool, pFormatCollName, aGrfFormatCollSetRange, @@ -149,8 +149,6 @@ protected: : SwFormatColl( rPool, rFormatCollName, aGrfFormatCollSetRange, pDerFrom, RES_GRFFMTCOLL ) {} - -public: }; // FEATURE::CONDCOLL @@ -200,11 +198,11 @@ public: using SwFormatCollConditions = std::vector<std::unique_ptr<SwCollCondition>>; -class SW_DLLPUBLIC SwConditionTextFormatColl : public SwTextFormatColl +class SW_DLLPUBLIC SwConditionTextFormatColl final : public SwTextFormatColl { friend class SwDoc; friend class ::sw::DocumentStylePoolManager; -protected: + SwFormatCollConditions m_CondColls; SwConditionTextFormatColl( SwAttrPool& rPool, const OUString &rFormatCollName, |