Kaydet (Commit) c3da6e38 authored tarafından Jan-Marek Glogowski's avatar Jan-Marek Glogowski

KAB loplugin:datamembershadow

Change-Id: I1962ab1d131cf714f8bd540b589e793c4389cfb2
üst 0b0e43d2
...@@ -34,8 +34,7 @@ using namespace ::cppu; ...@@ -34,8 +34,7 @@ using namespace ::cppu;
KabCatalog::KabCatalog(KabConnection* _pCon) KabCatalog::KabCatalog(KabConnection* _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 KabCatalog : public connectivity::sdbcx::OCatalog class KabCatalog : public connectivity::sdbcx::OCatalog
{ {
KabConnection* m_pConnection; // used to get the metadata KabConnection* m_pConnection; // used to get the metadata
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData; // just to make things easier
public: public:
explicit KabCatalog(KabConnection* _pCon); explicit KabCatalog(KabConnection* _pCon);
......
...@@ -66,8 +66,7 @@ KabCommonStatement::KabCommonStatement(KabConnection* _pConnection ) ...@@ -66,8 +66,7 @@ KabCommonStatement::KabCommonStatement(KabConnection* _pConnection )
m_aParser(_pConnection->getComponentContext()), m_aParser(_pConnection->getComponentContext()),
m_aSQLIterator(_pConnection, _pConnection->createCatalog()->getTables(), m_aParser), m_aSQLIterator(_pConnection, _pConnection->createCatalog()->getTables(), m_aParser),
m_pParseTree(nullptr), m_pParseTree(nullptr),
m_pConnection(_pConnection), m_pConnection(_pConnection)
rBHelper(KabCommonStatement_BASE::rBHelper)
{ {
m_pConnection->acquire(); m_pConnection->acquire();
} }
......
...@@ -91,7 +91,7 @@ namespace connectivity ...@@ -91,7 +91,7 @@ namespace connectivity
virtual ~KabCommonStatement() override; virtual ~KabCommonStatement() override;
public: public:
::cppu::OBroadcastHelper& rBHelper; using KabCommonStatement_BASE::rBHelper;
explicit KabCommonStatement(KabConnection *_pConnection); explicit KabCommonStatement(KabConnection *_pConnection);
using KabCommonStatement_BASE::operator css::uno::Reference< css::uno::XInterface >; using KabCommonStatement_BASE::operator css::uno::Reference< css::uno::XInterface >;
......
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