Kaydet (Commit) 8442bda2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:datamembershadow

shadowed OCatalog::m_xMetaData can be used here directly

Change-Id: I1041272b98139fda2413442e4621507655ab67ca
üst f0fa43ea
...@@ -34,8 +34,7 @@ using namespace ::cppu; ...@@ -34,8 +34,7 @@ using namespace ::cppu;
MacabCatalog::MacabCatalog(MacabConnection* _pCon) MacabCatalog::MacabCatalog(MacabConnection* _pCon)
: connectivity::sdbcx::OCatalog(_pCon), : connectivity::sdbcx::OCatalog(_pCon),
m_pConnection(_pCon), m_pConnection(_pCon)
m_xMetaData(m_pConnection->getMetaData())
{ {
} }
......
...@@ -31,7 +31,6 @@ namespace connectivity ...@@ -31,7 +31,6 @@ namespace connectivity
class MacabCatalog : public connectivity::sdbcx::OCatalog class MacabCatalog : public connectivity::sdbcx::OCatalog
{ {
MacabConnection* m_pConnection; // used to get the metadata MacabConnection* m_pConnection; // used to get the metadata
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData; // just to make things easier
public: public:
explicit MacabCatalog(MacabConnection* _pCon); explicit MacabCatalog(MacabConnection* _pCon);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment