summaryrefslogtreecommitdiff
path: root/chart2/source/controller/inc/ChartController.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 08:32:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 08:57:05 +0000
commitf606a6b248956094a14c15d8154af5f8522e415b (patch)
tree706e1c8708627fd3819f84972e7baf17036fe720 /chart2/source/controller/inc/ChartController.hxx
parent98460e7a502e61f8885c6fb960f0f9fa69de4f3e (diff)
loplugin:unnecessaryvirtual in basctl..chart2
Change-Id: Id4eeb12792c3a66b68a907cb459ab437e3d64e4c Reviewed-on: https://gerrit.libreoffice.org/30680 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/inc/ChartController.hxx')
-rw-r--r--chart2/source/controller/inc/ChartController.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/inc/ChartController.hxx b/chart2/source/controller/inc/ChartController.hxx
index a128a03d2a05..b056c794546d 100644
--- a/chart2/source/controller/inc/ChartController.hxx
+++ b/chart2/source/controller/inc/ChartController.hxx
@@ -408,14 +408,14 @@ private:
//each controller might consider himself as owner of the model first
bool m_bOwnership;
};
- class TheModelRef
+ class TheModelRef final
{
public:
TheModelRef( TheModel* pTheModel, ::osl::Mutex& rMutex );
TheModelRef( const TheModelRef& rTheModel, ::osl::Mutex& rMutex );
TheModelRef& operator=(ChartController::TheModel* pTheModel);
TheModelRef& operator=(const TheModelRef& rTheModel);
- virtual ~TheModelRef();
+ ~TheModelRef();
bool is() const;
TheModel* operator->() const { return m_pTheModel; }
private: