summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-29 09:00:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-29 11:34:32 +0200
commit89fae8b4b5b88b92706e760d870849260c56f2c0 (patch)
treedd59477dbdd07e92b91206319eb37e7cd8531d65 /connectivity
parentc87bbaa87e2532c7601e8588d87de1dc4952f098 (diff)
loplugin:unusedfields
Change-Id: Iaf3a0a42e94994eab25f5e9ef8c111362e86fb02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132262 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_views.cxx4
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_views.hxx1
2 files changed, 0 insertions, 5 deletions
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_views.cxx b/connectivity/source/drivers/mysqlc/mysqlc_views.cxx
index f10e30034efe..1c79c9225d44 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_views.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_views.cxx
@@ -31,7 +31,6 @@ connectivity::mysqlc::Views::Views(const css::uno::Reference<css::sdbc::XConnect
: sdbcx::OCollection(_rParent, true, _rMutex, _rVector)
, m_xConnection(_rxConnection)
, m_xMetaData(_rxConnection->getMetaData())
- , m_bInDrop(false)
{
}
@@ -64,9 +63,6 @@ connectivity::sdbcx::ObjectType connectivity::mysqlc::Views::appendObject(
// XDrop
void connectivity::mysqlc::Views::dropObject(sal_Int32 _nPos, const OUString& /*_sElementName*/)
{
- if (m_bInDrop)
- return;
-
css::uno::Reference<XInterface> xObject(getObject(_nPos));
bool bIsNew = connectivity::sdbcx::ODescriptor::isNew(xObject);
if (!bIsNew)
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_views.hxx b/connectivity/source/drivers/mysqlc/mysqlc_views.hxx
index 2177fdc2e3e3..14570fc8d9a9 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_views.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_views.hxx
@@ -26,7 +26,6 @@ class Views final : public connectivity::sdbcx::OCollection
{
css::uno::Reference<css::sdbc::XConnection> m_xConnection;
css::uno::Reference<css::sdbc::XDatabaseMetaData> m_xMetaData;
- bool m_bInDrop;
// OCollection
virtual connectivity::sdbcx::ObjectType createObject(const OUString& _rName) override;