summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:03:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:34 +0200
commit80018b600602097aa207b2942caa6910b599c8c8 (patch)
tree0de5282e1edbabf803f508956ac890fd6a203854 /dbaccess/source
parent980af0f1ec217521dddb5a3604a0d51695a56b8f (diff)
Replace map to sal_Bool with map to bool
Change-Id: Ib75d197293d7854976b131f61dc78536a4ac8a97
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/core/api/RowSetCache.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index e689992e33c2..28009d0e70d2 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -399,19 +399,19 @@ void ORowSetCache::setFetchSize(sal_Int32 _nSize)
{
// now correct the iterator in our iterator vector
::std::vector<sal_Int32> aPositions;
- ::std::map<sal_Int32,sal_Bool> aCacheIterToChange;
+ ::std::map<sal_Int32,bool> aCacheIterToChange;
// first get the positions where they stand now
ORowSetCacheMap::iterator aCacheIter = m_aCacheIterators.begin();
ORowSetCacheMap::const_iterator aCacheEnd = m_aCacheIterators.end();
for(;aCacheIter != aCacheEnd;++aCacheIter)
{
- aCacheIterToChange[aCacheIter->first] = sal_False;
+ aCacheIterToChange[aCacheIter->first] = false;
if ( !aCacheIter->second.pRowSet->isInsertRow()
/*&& aCacheIter->second.aIterator != m_pMatrix->end()*/ && !m_bModified )
{
ptrdiff_t nDist = (aCacheIter->second.aIterator - m_pMatrix->begin());
aPositions.push_back(nDist);
- aCacheIterToChange[aCacheIter->first] = sal_True;
+ aCacheIterToChange[aCacheIter->first] = true;
}
}
sal_Int32 nKeyPos = (m_aMatrixIter - m_pMatrix->begin());
@@ -425,7 +425,7 @@ void ORowSetCache::setFetchSize(sal_Int32 _nSize)
// now adjust their positions because a resize invalidates all iterators
::std::vector<sal_Int32>::const_iterator aIter = aPositions.begin();
- ::std::map<sal_Int32,sal_Bool>::const_iterator aPosChangeIter = aCacheIterToChange.begin();
+ ::std::map<sal_Int32,bool>::const_iterator aPosChangeIter = aCacheIterToChange.begin();
for( aCacheIter = m_aCacheIterators.begin();
aPosChangeIter != aCacheIterToChange.end();
++aPosChangeIter,++aCacheIter)