[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Mon Nov 21 08:36:15 UTC 2016
connectivity/source/drivers/evoab2/NCatalog.cxx | 1 -
connectivity/source/drivers/evoab2/NCatalog.hxx | 1 -
2 files changed, 2 deletions(-)
New commits:
commit d015317f36e0160cd76a421eb2060e8539748eb2
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 21 09:34:40 2016 +0100
loplugin:datamembershadow
shadowed OCatalog::m_xMetaData can be used here directly
Change-Id: I5d4436e1aa6f8f74ef6f9af816625044492cbf58
diff --git a/connectivity/source/drivers/evoab2/NCatalog.cxx b/connectivity/source/drivers/evoab2/NCatalog.cxx
index a978254..acc455a 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 27297e65..05afef5 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; }
More information about the Libreoffice-commits
mailing list