diff options
Diffstat (limited to 'connectivity/source/drivers/calc/CColumns.cxx')
-rw-r--r-- | connectivity/source/drivers/calc/CColumns.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/calc/CColumns.cxx b/connectivity/source/drivers/calc/CColumns.cxx index f5227b316864..3cd002cd3681 100644 --- a/connectivity/source/drivers/calc/CColumns.cxx +++ b/connectivity/source/drivers/calc/CColumns.cxx @@ -32,7 +32,7 @@ using namespace ::com::sun::star::container; sdbcx::ObjectType OCalcColumns::createObject(const OUString& _rName) { - OCalcTable* pTable = (OCalcTable*)m_pTable; + OCalcTable* pTable = static_cast<OCalcTable*>(m_pTable); ::rtl::Reference<OSQLColumns> aCols = pTable->getTableColumns(); OSQLColumns::Vector::const_iterator aIter = find(aCols->get().begin(),aCols->get().end(),_rName,::comphelper::UStringMixEqual(isCaseSensitive())); |