summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx/VTable.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-13 12:35:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-13 12:36:36 +0200
commit373a9b9bb62c50072c06e28fd932afb6e71ba687 (patch)
treedc6b72474110a4311d7ab57d42dc4bda5c221e4b /connectivity/source/sdbcx/VTable.cxx
parent3c4fd27392bd153e043eeb60907eeded48c60cf2 (diff)
loplugin:redundantcast: redundant const_cast followed by implicit upcast
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
Diffstat (limited to 'connectivity/source/sdbcx/VTable.cxx')
-rw-r--r--connectivity/source/sdbcx/VTable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx
index dffe47b8b611..7828c7e1fe12 100644
--- a/connectivity/source/sdbcx/VTable.cxx
+++ b/connectivity/source/sdbcx/VTable.cxx
@@ -220,7 +220,7 @@ cppu::IPropertyArrayHelper* OTable::createArrayHelper( sal_Int32 /*_nId*/ ) cons
cppu::IPropertyArrayHelper & OTable::getInfoHelper()
{
- return *const_cast<OTable*>(this)->getArrayHelper(isNew() ? 1 : 0);
+ return *getArrayHelper(isNew() ? 1 : 0);
}
Reference< XPropertySet > SAL_CALL OTable::createDataDescriptor( ) throw(RuntimeException, std::exception)