loplugin:datamembershadow

shadowed OCatalog::m_xMetaData can be used here directly

Change-Id: I5d4436e1aa6f8f74ef6f9af816625044492cbf58
This commit is contained in:
Stephan Bergmann
2016-11-21 09:34:40 +01:00
parent 64e238bc30
commit d015317f36
2 changed files with 0 additions and 2 deletions

View File

@@ -35,7 +35,6 @@ using namespace ::com::sun::star::lang;
OEvoabCatalog::OEvoabCatalog(OEvoabConnection* _pCon) : OEvoabCatalog::OEvoabCatalog(OEvoabConnection* _pCon) :
connectivity::sdbcx::OCatalog(_pCon) connectivity::sdbcx::OCatalog(_pCon)
,m_pConnection(_pCon) ,m_pConnection(_pCon)
,m_xMetaData(m_pConnection->getMetaData())
{ {
} }
void OEvoabCatalog::refreshTables() void OEvoabCatalog::refreshTables()

View File

@@ -30,7 +30,6 @@ namespace connectivity
class OEvoabCatalog : public connectivity::sdbcx::OCatalog class OEvoabCatalog : public connectivity::sdbcx::OCatalog
{ {
OEvoabConnection *m_pConnection; OEvoabConnection *m_pConnection;
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData;
public: public:
explicit OEvoabCatalog(OEvoabConnection *_pCon); explicit OEvoabCatalog(OEvoabConnection *_pCon);
inline OEvoabConnection* getConnection() const { return m_pConnection; } inline OEvoabConnection* getConnection() const { return m_pConnection; }