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