diff options
Diffstat (limited to 'connectivity/source/drivers/dbase/DIndexIter.cxx')
-rw-r--r-- | connectivity/source/drivers/dbase/DIndexIter.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/drivers/dbase/DIndexIter.cxx b/connectivity/source/drivers/dbase/DIndexIter.cxx index f64995820935..b1c0a178bc29 100644 --- a/connectivity/source/drivers/dbase/DIndexIter.cxx +++ b/connectivity/source/drivers/dbase/DIndexIter.cxx @@ -36,16 +36,16 @@ OIndexIterator::~OIndexIterator() sal_uIntPtr OIndexIterator::First() { - return Find(sal_True); + return Find(true); } sal_uIntPtr OIndexIterator::Next() { - return Find(sal_False); + return Find(false); } -sal_uIntPtr OIndexIterator::Find(sal_Bool bFirst) +sal_uIntPtr OIndexIterator::Find(bool bFirst) { sal_uIntPtr nRes = NODE_NOTFOUND; @@ -129,7 +129,7 @@ ONDXKey* OIndexIterator::GetFirstKey(ONDXPage* pPage, const OOperand& rKey) } -sal_uIntPtr OIndexIterator::GetCompare(sal_Bool bFirst) +sal_uIntPtr OIndexIterator::GetCompare(bool bFirst) { ONDXKey* pKey = NULL; sal_Int32 ePredicateType = PTR_CAST(file::OOp_COMPARE,m_pOperator)->getPredicateType(); @@ -199,7 +199,7 @@ sal_uIntPtr OIndexIterator::GetCompare(sal_Bool bFirst) } -sal_uIntPtr OIndexIterator::GetLike(sal_Bool bFirst) +sal_uIntPtr OIndexIterator::GetLike(bool bFirst) { if (bFirst) { @@ -219,7 +219,7 @@ sal_uIntPtr OIndexIterator::GetLike(sal_Bool bFirst) } -sal_uIntPtr OIndexIterator::GetNull(sal_Bool bFirst) +sal_uIntPtr OIndexIterator::GetNull(bool bFirst) { if (bFirst) { @@ -241,7 +241,7 @@ sal_uIntPtr OIndexIterator::GetNull(sal_Bool bFirst) } -sal_uIntPtr OIndexIterator::GetNotNull(sal_Bool bFirst) +sal_uIntPtr OIndexIterator::GetNotNull(bool bFirst) { ONDXKey* pKey; if (bFirst) @@ -249,7 +249,7 @@ sal_uIntPtr OIndexIterator::GetNotNull(sal_Bool bFirst) // go through all NULL values first for (sal_uIntPtr nRec = GetNull(bFirst); nRec != NODE_NOTFOUND; - nRec = GetNull(sal_False)) + nRec = GetNull(false)) ; pKey = m_aCurLeaf.Is() ? &(*m_aCurLeaf)[m_nCurNode].GetKey() : NULL; } |