KAB loplugin:datamembershadow

Change-Id: I1962ab1d131cf714f8bd540b589e793c4389cfb2
This commit is contained in:
Jan-Marek Glogowski
2016-11-25 14:02:06 +01:00
parent 0b0e43d26a
commit c3da6e3844
4 changed files with 3 additions and 6 deletions

View File

@@ -34,8 +34,7 @@ using namespace ::cppu;
KabCatalog::KabCatalog(KabConnection* _pCon)
: connectivity::sdbcx::OCatalog(_pCon),
m_pConnection(_pCon),
m_xMetaData(m_pConnection->getMetaData())
m_pConnection(_pCon)
{
}

View File

@@ -31,7 +31,6 @@ namespace connectivity
class KabCatalog : public connectivity::sdbcx::OCatalog
{
KabConnection* m_pConnection; // used to get the metadata
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData; // just to make things easier
public:
explicit KabCatalog(KabConnection* _pCon);

View File

@@ -66,8 +66,7 @@ KabCommonStatement::KabCommonStatement(KabConnection* _pConnection )
m_aParser(_pConnection->getComponentContext()),
m_aSQLIterator(_pConnection, _pConnection->createCatalog()->getTables(), m_aParser),
m_pParseTree(nullptr),
m_pConnection(_pConnection),
rBHelper(KabCommonStatement_BASE::rBHelper)
m_pConnection(_pConnection)
{
m_pConnection->acquire();
}

View File

@@ -91,7 +91,7 @@ namespace connectivity
virtual ~KabCommonStatement() override;
public:
::cppu::OBroadcastHelper& rBHelper;
using KabCommonStatement_BASE::rBHelper;
explicit KabCommonStatement(KabConnection *_pConnection);
using KabCommonStatement_BASE::operator css::uno::Reference< css::uno::XInterface >;