summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-21 22:14:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-21 22:14:25 +0100
commit8442bda2ca252a77b091fdf7140f972220b1895e (patch)
treeeb8c8a73f5e402b81b0d51f0c491656086d78a64 /connectivity
parentf0fa43ea99ac7564f2cc7ca1d997831808056b68 (diff)
loplugin:datamembershadow
shadowed OCatalog::m_xMetaData can be used here directly Change-Id: I1041272b98139fda2413442e4621507655ab67ca
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/macab/MacabCatalog.cxx3
-rw-r--r--connectivity/source/drivers/macab/MacabCatalog.hxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/connectivity/source/drivers/macab/MacabCatalog.cxx b/connectivity/source/drivers/macab/MacabCatalog.cxx
index a6c2095e1c78..8af97351e022 100644
--- a/connectivity/source/drivers/macab/MacabCatalog.cxx
+++ b/connectivity/source/drivers/macab/MacabCatalog.cxx
@@ -34,8 +34,7 @@ using namespace ::cppu;
MacabCatalog::MacabCatalog(MacabConnection* _pCon)
: connectivity::sdbcx::OCatalog(_pCon),
- m_pConnection(_pCon),
- m_xMetaData(m_pConnection->getMetaData())
+ m_pConnection(_pCon)
{
}
diff --git a/connectivity/source/drivers/macab/MacabCatalog.hxx b/connectivity/source/drivers/macab/MacabCatalog.hxx
index 36753c0cfd5d..d893d3d283a7 100644
--- a/connectivity/source/drivers/macab/MacabCatalog.hxx
+++ b/connectivity/source/drivers/macab/MacabCatalog.hxx
@@ -31,7 +31,6 @@ namespace connectivity
class MacabCatalog : public connectivity::sdbcx::OCatalog
{
MacabConnection* m_pConnection; // used to get the metadata
- css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData; // just to make things easier
public:
explicit MacabCatalog(MacabConnection* _pCon);