summaryrefslogtreecommitdiff
path: root/sw/inc/calc.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/calc.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/calc.hxx')
-rw-r--r--sw/inc/calc.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index c3404d8b402e..5edec81f5e96 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -100,7 +100,7 @@ enum class SwCalcError
Overflow, // overflow
};
-class SwSbxValue : public SbxValue
+class SwSbxValue final : public SbxValue
{
bool m_bVoid;
bool m_bDBvalue;
@@ -129,7 +129,7 @@ struct SwHash
std::unique_ptr<SwHash> pNext;
};
-struct SwCalcExp : public SwHash
+struct SwCalcExp final : public SwHash
{
SwSbxValue nValue;
const SwFieldType* pFieldType;