diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-01 14:18:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-01 14:41:31 +0100 |
commit | 3b4fcee7721875e31b6286875fb1328042def7e3 (patch) | |
tree | 26bdbdfafc0083b42bbc3bad55f17bb35e131d5b /connectivity | |
parent | 369d1e420b8b884f4a4ee5b9141ee864bec12b8c (diff) |
coverity#1209375 Unchecked dynamic_cast
Change-Id: Ib6ac44878c6f485326c16fd0224b220e86a4dc6a
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/dbase/DIndexIter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/dbase/DIndexIter.cxx b/connectivity/source/drivers/dbase/DIndexIter.cxx index 1e7d374b2e1c..1d529958c2b8 100644 --- a/connectivity/source/drivers/dbase/DIndexIter.cxx +++ b/connectivity/source/drivers/dbase/DIndexIter.cxx @@ -132,7 +132,7 @@ ONDXKey* OIndexIterator::GetFirstKey(ONDXPage* pPage, const OOperand& rKey) sal_uIntPtr OIndexIterator::GetCompare(bool bFirst) { ONDXKey* pKey = NULL; - sal_Int32 ePredicateType = dynamic_cast<file::OOp_COMPARE*>(m_pOperator)->getPredicateType(); + sal_Int32 ePredicateType = dynamic_cast<file::OOp_COMPARE&>(*m_pOperator).getPredicateType(); if (bFirst) { |