diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-31 16:16:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-01 08:53:23 +0100 |
commit | a71edbd296c640fb62b99d057ee0142e2a84a8a9 (patch) | |
tree | 084381ec6bf7a9e058593c9f80cfa1b96150dcb0 /sc/inc/conditio.hxx | |
parent | 8629be30930cc6d72a2bd3d95423d7273deb44f8 (diff) |
loplugin:finalclasses in sc/inc
Change-Id: I6a08a86262deae4bed3a05f77d3041a568f23595
Reviewed-on: https://gerrit.libreoffice.org/81853
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/conditio.hxx')
-rw-r--r-- | sc/inc/conditio.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index 0ab1d114f8f4..40cfdffc2f21 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -180,7 +180,7 @@ inline std::basic_ostream<charT, traits> & operator <<(std::basic_ostream<charT, return stream; } -class ScFormulaListener : public SvtListener +class ScFormulaListener final : public SvtListener { private: mutable bool mbDirty; @@ -446,7 +446,7 @@ private: }; // single condition entry for conditional formatting -class SC_DLLPUBLIC ScCondFormatEntry : public ScConditionEntry +class SC_DLLPUBLIC ScCondFormatEntry final : public ScConditionEntry { OUString aStyleName; Type eCondFormatType = Type::Condition; @@ -476,7 +476,7 @@ public: virtual ScFormatEntry* Clone(ScDocument* pDoc) const override; virtual Type GetType() const override { return eCondFormatType; } -protected: +private: virtual void DataChanged() const override; }; @@ -501,7 +501,7 @@ enum ScCondFormatDateType } -class SC_DLLPUBLIC ScCondDateFormatEntry : public ScFormatEntry +class SC_DLLPUBLIC ScCondDateFormatEntry final : public ScFormatEntry { public: ScCondDateFormatEntry(ScDocument* pDoc); |