summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-07 10:08:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-07 10:35:19 +0100
commitded02dafbce173f2f1a23e10deee8002f73317b2 (patch)
treef4ef1b72f177ab53a313cfe8791e86d363c3c6e3 /connectivity/source/drivers/evoab2
parent52abd40ce879ea140b9ffe80980e5a56a09ca538 (diff)
loplugin:finalclasses in connectivity
Change-Id: I0cd075efad83c0a8d6f05c91201a9aa86649590b Reviewed-on: https://gerrit.libreoffice.org/44386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NColumns.hxx3
-rw-r--r--connectivity/source/drivers/evoab2/NDriver.hxx4
-rw-r--r--connectivity/source/drivers/evoab2/NPreparedStatement.hxx9
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.hxx4
4 files changed, 5 insertions, 15 deletions
diff --git a/connectivity/source/drivers/evoab2/NColumns.hxx b/connectivity/source/drivers/evoab2/NColumns.hxx
index e7e2065a5ac5..2f04047fb78c 100644
--- a/connectivity/source/drivers/evoab2/NColumns.hxx
+++ b/connectivity/source/drivers/evoab2/NColumns.hxx
@@ -27,9 +27,8 @@ namespace connectivity
{
namespace evoab
{
- class OEvoabColumns : public sdbcx::OCollection
+ class OEvoabColumns final : public sdbcx::OCollection
{
- protected:
OEvoabTable* m_pTable;
virtual sdbcx::ObjectType createObject(const OUString& _rName) override;
diff --git a/connectivity/source/drivers/evoab2/NDriver.hxx b/connectivity/source/drivers/evoab2/NDriver.hxx
index 788eed1d4b05..df7cd46c6e3c 100644
--- a/connectivity/source/drivers/evoab2/NDriver.hxx
+++ b/connectivity/source/drivers/evoab2/NDriver.hxx
@@ -41,10 +41,8 @@ namespace connectivity
css::lang::XServiceInfo > ODriver_BASE;
- class OEvoabDriver : public ODriver_BASE
+ class OEvoabDriver final : public ODriver_BASE
{
-
- protected:
::osl::Mutex m_aMutex;
connectivity::OWeakRefArray m_xConnections;
css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory;
diff --git a/connectivity/source/drivers/evoab2/NPreparedStatement.hxx b/connectivity/source/drivers/evoab2/NPreparedStatement.hxx
index e9b0b8ec7961..20d5790ca4a0 100644
--- a/connectivity/source/drivers/evoab2/NPreparedStatement.hxx
+++ b/connectivity/source/drivers/evoab2/NPreparedStatement.hxx
@@ -42,13 +42,9 @@ namespace connectivity
css::sdbc::XMultipleResults,
css::lang::XServiceInfo> OPreparedStatement_BASE;
- class OEvoabPreparedStatement :public OCommonStatement
+ class OEvoabPreparedStatement final:public OCommonStatement
,public OPreparedStatement_BASE
{
- protected:
- // Data attributes
-
-
// our SQL statement
OUString m_sSqlStatement;
// the EBookQuery we're working with
@@ -56,7 +52,6 @@ namespace connectivity
// our meta data
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData;
- protected:
virtual ~OEvoabPreparedStatement() override;
public:
@@ -64,7 +59,7 @@ namespace connectivity
void construct( const OUString& _sql );
- protected:
+ private:
DECLARE_SERVICE_INFO();
//XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
diff --git a/connectivity/source/drivers/evoab2/NResultSet.hxx b/connectivity/source/drivers/evoab2/NResultSet.hxx
index 692dd9f8a062..80e2968ab0b8 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.hxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.hxx
@@ -76,7 +76,7 @@ namespace connectivity
> OResultSet_BASE;
- class OEvoabResultSet :public cppu::BaseMutex
+ class OEvoabResultSet final : public cppu::BaseMutex
,public OResultSet_BASE
,public ::comphelper::OPropertyContainer
,public ::comphelper::OPropertyArrayUsageHelper<OEvoabResultSet>
@@ -84,8 +84,6 @@ namespace connectivity
private:
std::unique_ptr<OEvoabVersionHelper> m_pVersionHelper;
- protected:
-
OCommonStatement* m_pStatement;
OEvoabConnection* m_pConnection;
rtl::Reference<OEvoabResultSetMetaData> m_xMetaData;