diff options
-rw-r--r-- | dbaccess/source/core/api/RowSetCache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx index f2301f0f6375..be51b2a11d8e 100644 --- a/dbaccess/source/core/api/RowSetCache.cxx +++ b/dbaccess/source/core/api/RowSetCache.cxx @@ -909,7 +909,7 @@ sal_Bool ORowSetCache::moveWindow() // then we fill in the rows between new and old start pos. sal_Bool bCheck; - bCheck = m_pCacheSet->absolute(nNewStartPos); + bCheck = m_pCacheSet->absolute(nNewStartPos + 1); // m_nEndPos < nNewEndPos when window not filled (e.g. there are less rows in total than window size) m_nEndPos = std::min(nNewEndPos, m_nEndPos); |