From d015317f36e0160cd76a421eb2060e8539748eb2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 21 Nov 2016 09:34:40 +0100 Subject: [PATCH] loplugin:datamembershadow shadowed OCatalog::m_xMetaData can be used here directly Change-Id: I5d4436e1aa6f8f74ef6f9af816625044492cbf58 --- connectivity/source/drivers/evoab2/NCatalog.cxx | 1 - connectivity/source/drivers/evoab2/NCatalog.hxx | 1 - 2 files changed, 2 deletions(-) diff --git a/connectivity/source/drivers/evoab2/NCatalog.cxx b/connectivity/source/drivers/evoab2/NCatalog.cxx index a978254f0d12..acc455a96e41 100644 --- a/connectivity/source/drivers/evoab2/NCatalog.cxx +++ b/connectivity/source/drivers/evoab2/NCatalog.cxx @@ -35,7 +35,6 @@ using namespace ::com::sun::star::lang; OEvoabCatalog::OEvoabCatalog(OEvoabConnection* _pCon) : connectivity::sdbcx::OCatalog(_pCon) ,m_pConnection(_pCon) - ,m_xMetaData(m_pConnection->getMetaData()) { } void OEvoabCatalog::refreshTables() diff --git a/connectivity/source/drivers/evoab2/NCatalog.hxx b/connectivity/source/drivers/evoab2/NCatalog.hxx index 27297e657322..05afef5554d7 100644 --- a/connectivity/source/drivers/evoab2/NCatalog.hxx +++ b/connectivity/source/drivers/evoab2/NCatalog.hxx @@ -30,7 +30,6 @@ namespace connectivity class OEvoabCatalog : public connectivity::sdbcx::OCatalog { OEvoabConnection *m_pConnection; - css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData; public: explicit OEvoabCatalog(OEvoabConnection *_pCon); inline OEvoabConnection* getConnection() const { return m_pConnection; }