From ded02dafbce173f2f1a23e10deee8002f73317b2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 7 Nov 2017 10:08:18 +0200 Subject: loplugin:finalclasses in connectivity Change-Id: I0cd075efad83c0a8d6f05c91201a9aa86649590b Reviewed-on: https://gerrit.libreoffice.org/44386 Tested-by: Jenkins Reviewed-by: Noel Grandin --- connectivity/source/cpool/ZDriverWrapper.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'connectivity/source/cpool') diff --git a/connectivity/source/cpool/ZDriverWrapper.hxx b/connectivity/source/cpool/ZDriverWrapper.hxx index 23c5c8d753bf..854542c31c76 100644 --- a/connectivity/source/cpool/ZDriverWrapper.hxx +++ b/connectivity/source/cpool/ZDriverWrapper.hxx @@ -34,9 +34,8 @@ namespace connectivity typedef ::cppu::WeakImplHelper< css::sdbc::XDriver > ODriverWrapper_BASE; - class ODriverWrapper : public ODriverWrapper_BASE + class ODriverWrapper final : public ODriverWrapper_BASE { - protected: css::uno::Reference< css::uno::XAggregation > m_xDriverAggregate; css::uno::Reference< css::sdbc::XDriver > @@ -58,7 +57,7 @@ namespace connectivity // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override; - protected: + private: /// dtor virtual ~ODriverWrapper() override; // XDriver -- cgit