diff options
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/core/api/KeySet.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx index 42b0c62223cc..a01028ffbbc4 100644 --- a/dbaccess/source/core/api/KeySet.cxx +++ b/dbaccess/source/core/api/KeySet.cxx @@ -1088,11 +1088,11 @@ bool SAL_CALL OKeySet::last( ) throw(SQLException, RuntimeException) bool OKeySet::last_checked( bool /* i_bFetchRow */ ) { m_bInserted = m_bUpdated = m_bDeleted = false; - bool fetchedRow = fillAllRows(); + bool bFetchedRow = fillAllRows(); m_aKeyIter = m_aKeyMap.end(); --m_aKeyIter; - if ( !fetchedRow ) + if ( !bFetchedRow ) { invalidateRow(); } @@ -1116,11 +1116,11 @@ bool OKeySet::absolute_checked( sal_Int32 row, bool /* i_bFetchRow */ ) { m_bInserted = m_bUpdated = m_bDeleted = false; OSL_ENSURE(row,"absolute(0) isn't allowed!"); - bool fetchedRow = false; + bool bFetchedRow = false; if(row < 0) { if(!m_bRowCountFinal) - fetchedRow = fillAllRows(); + bFetchedRow = fillAllRows(); for(;row < 0 && m_aKeyIter != m_aKeyMap.begin();++row) --m_aKeyIter; @@ -1140,7 +1140,7 @@ bool OKeySet::absolute_checked( sal_Int32 row, bool /* i_bFetchRow */ ) // that is fetchRow called at least once. if ( bNext ) { - fetchedRow = true; + bFetchedRow = true; } else { @@ -1163,7 +1163,7 @@ bool OKeySet::absolute_checked( sal_Int32 row, bool /* i_bFetchRow */ ) ++m_aKeyIter; } } - if ( !fetchedRow ) + if ( !bFetchedRow ) { invalidateRow(); } |