diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-11-25 14:02:06 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-11-25 16:27:07 +0100 |
commit | c3da6e3844b974d7f3c60f6dd3f66c3aac519a68 (patch) | |
tree | 6415698f241ebf0b41e4b848fd63ea0f678605de /connectivity | |
parent | 0b0e43d26a669fb98633e73f483720ae8f06f0cb (diff) |
KAB loplugin:datamembershadow
Change-Id: I1962ab1d131cf714f8bd540b589e793c4389cfb2
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/kab/KCatalog.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/drivers/kab/KCatalog.hxx | 1 | ||||
-rw-r--r-- | connectivity/source/drivers/kab/KStatement.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/drivers/kab/KStatement.hxx | 2 |
4 files changed, 3 insertions, 6 deletions
diff --git a/connectivity/source/drivers/kab/KCatalog.cxx b/connectivity/source/drivers/kab/KCatalog.cxx index 63d04492e44a..06cc13cface7 100644 --- a/connectivity/source/drivers/kab/KCatalog.cxx +++ b/connectivity/source/drivers/kab/KCatalog.cxx @@ -34,8 +34,7 @@ using namespace ::cppu; KabCatalog::KabCatalog(KabConnection* _pCon) : connectivity::sdbcx::OCatalog(_pCon), - m_pConnection(_pCon), - m_xMetaData(m_pConnection->getMetaData()) + m_pConnection(_pCon) { } diff --git a/connectivity/source/drivers/kab/KCatalog.hxx b/connectivity/source/drivers/kab/KCatalog.hxx index e524b571eae1..c3c45faacdea 100644 --- a/connectivity/source/drivers/kab/KCatalog.hxx +++ b/connectivity/source/drivers/kab/KCatalog.hxx @@ -31,7 +31,6 @@ namespace connectivity class KabCatalog : public connectivity::sdbcx::OCatalog { KabConnection* m_pConnection; // used to get the metadata - css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData; // just to make things easier public: explicit KabCatalog(KabConnection* _pCon); diff --git a/connectivity/source/drivers/kab/KStatement.cxx b/connectivity/source/drivers/kab/KStatement.cxx index a59070cfa2d7..2b0a3cd95c9e 100644 --- a/connectivity/source/drivers/kab/KStatement.cxx +++ b/connectivity/source/drivers/kab/KStatement.cxx @@ -66,8 +66,7 @@ KabCommonStatement::KabCommonStatement(KabConnection* _pConnection ) m_aParser(_pConnection->getComponentContext()), m_aSQLIterator(_pConnection, _pConnection->createCatalog()->getTables(), m_aParser), m_pParseTree(nullptr), - m_pConnection(_pConnection), - rBHelper(KabCommonStatement_BASE::rBHelper) + m_pConnection(_pConnection) { m_pConnection->acquire(); } diff --git a/connectivity/source/drivers/kab/KStatement.hxx b/connectivity/source/drivers/kab/KStatement.hxx index d0fe69f30c3c..e76522ceb206 100644 --- a/connectivity/source/drivers/kab/KStatement.hxx +++ b/connectivity/source/drivers/kab/KStatement.hxx @@ -91,7 +91,7 @@ namespace connectivity virtual ~KabCommonStatement() override; public: - ::cppu::OBroadcastHelper& rBHelper; + using KabCommonStatement_BASE::rBHelper; explicit KabCommonStatement(KabConnection *_pConnection); using KabCommonStatement_BASE::operator css::uno::Reference< css::uno::XInterface >; |