summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-01-29 09:57:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-01 07:27:34 +0100
commite65b1480426667622335aeb2e2413d3d8703a273 (patch)
tree0de418dcecabd3cfa7d4cdea8eeeed3544c67546 /sc/source/core
parent994cf0e0994dcd4a7ba2b984f9840110ab43a295 (diff)
loplugin:finalclasses in sc
Change-Id: Iac689d15effa08dd6216d275ad5294471e48f1b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110155 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/inc/addinlis.hxx2
-rw-r--r--sc/source/core/inc/adiasync.hxx2
-rw-r--r--sc/source/core/inc/ddelink.hxx2
-rw-r--r--sc/source/core/inc/doubleref.hxx4
-rw-r--r--sc/source/core/inc/formulagroupcl.hxx2
-rw-r--r--sc/source/core/inc/poolhelp.hxx2
-rw-r--r--sc/source/core/inc/webservicelink.hxx2
7 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/core/inc/addinlis.hxx b/sc/source/core/inc/addinlis.hxx
index 612ed992d133..ea83de408e68 100644
--- a/sc/source/core/inc/addinlis.hxx
+++ b/sc/source/core/inc/addinlis.hxx
@@ -31,7 +31,7 @@ namespace rtl { template <class reference_type> class Reference; }
class ScDocument;
-class ScAddInListener : public cppu::WeakImplHelper<
+class ScAddInListener final : public cppu::WeakImplHelper<
css::sheet::XResultListener,
css::lang::XServiceInfo >,
public SvtBroadcaster
diff --git a/sc/source/core/inc/adiasync.hxx b/sc/source/core/inc/adiasync.hxx
index bc0a22ee3315..1fd3dd4334cc 100644
--- a/sc/source/core/inc/adiasync.hxx
+++ b/sc/source/core/inc/adiasync.hxx
@@ -33,7 +33,7 @@ void CALLTYPE ScAddInAsyncCallBack( double& nHandle, void* pData );
class ScDocument;
using ScAddInDocs = std::set<ScDocument*>;
-class ScAddInAsync : public SvtBroadcaster
+class ScAddInAsync final : public SvtBroadcaster
{
private:
union
diff --git a/sc/source/core/inc/ddelink.hxx b/sc/source/core/inc/ddelink.hxx
index 548fd7e0fd03..47cf54475a3a 100644
--- a/sc/source/core/inc/ddelink.hxx
+++ b/sc/source/core/inc/ddelink.hxx
@@ -31,7 +31,7 @@ class ScMultipleReadHeader;
class ScMultipleWriteHeader;
class SvStream;
-class ScDdeLink : public ::sfx2::SvBaseLink, public SvtBroadcaster
+class ScDdeLink final : public ::sfx2::SvBaseLink, public SvtBroadcaster
{
private:
static bool bIsInUpdate;
diff --git a/sc/source/core/inc/doubleref.hxx b/sc/source/core/inc/doubleref.hxx
index 621bb2e6ba66..15e30f444404 100644
--- a/sc/source/core/inc/doubleref.hxx
+++ b/sc/source/core/inc/doubleref.hxx
@@ -89,7 +89,7 @@ private:
ScDocument* mpDoc;
};
-class ScDBInternalRange : public ScDBRangeBase
+class ScDBInternalRange final : public ScDBRangeBase
{
public:
explicit ScDBInternalRange(ScDocument* pDoc, const ScRange& rRange);
@@ -132,7 +132,7 @@ private:
ScRange maRange;
};
-class ScDBExternalRange : public ScDBRangeBase
+class ScDBExternalRange final : public ScDBRangeBase
{
public:
explicit ScDBExternalRange(ScDocument* pDoc, const ScMatrixRef& pMat);
diff --git a/sc/source/core/inc/formulagroupcl.hxx b/sc/source/core/inc/formulagroupcl.hxx
index 0e5eb9ee9147..a9853f35b0d9 100644
--- a/sc/source/core/inc/formulagroupcl.hxx
+++ b/sc/source/core/inc/formulagroupcl.hxx
@@ -14,7 +14,7 @@
namespace sc::opencl {
-class FormulaGroupInterpreterOpenCL : public FormulaGroupInterpreter
+class FormulaGroupInterpreterOpenCL final : public FormulaGroupInterpreter
{
public:
FormulaGroupInterpreterOpenCL();
diff --git a/sc/source/core/inc/poolhelp.hxx b/sc/source/core/inc/poolhelp.hxx
index 23fa529f7088..66a729ad49ea 100644
--- a/sc/source/core/inc/poolhelp.hxx
+++ b/sc/source/core/inc/poolhelp.hxx
@@ -31,7 +31,7 @@ class ScStyleSheetPool;
class SvNumberFormatter;
class SfxItemPool;
-class ScPoolHelper : public salhelper::SimpleReferenceObject
+class ScPoolHelper final : public salhelper::SimpleReferenceObject
{
private:
mutable osl::Mutex maMtxCreateNumFormatter;
diff --git a/sc/source/core/inc/webservicelink.hxx b/sc/source/core/inc/webservicelink.hxx
index 2bcc64f8c268..59f58f2f82ef 100644
--- a/sc/source/core/inc/webservicelink.hxx
+++ b/sc/source/core/inc/webservicelink.hxx
@@ -20,7 +20,7 @@ class Any;
class ScDocument;
-class ScWebServiceLink : public ::sfx2::SvBaseLink, public SvtBroadcaster
+class ScWebServiceLink final : public ::sfx2::SvBaseLink, public SvtBroadcaster
{
private:
ScDocument* pDoc;