dbaccess/source/core/api/RowSetCache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f2202ff952aefec7da78c45262d5004f31815270 Author: Lionel Elie Mamane <lio...@mamane.lu> Date: Tue Aug 21 14:43:52 2012 +0200 m_nEndPos==m_nStartPos is OK: empty window (for example, empty table) Change-Id: I5525eb750dfbed282fea272de4a736e6c70e51a9 Reviewed-on: https://gerrit.libreoffice.org/442 Reviewed-by: Andras Timar <ati...@suse.com> Tested-by: Andras Timar <ati...@suse.com> diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx index fd2fe1f..3426ffd 100644 --- a/dbaccess/source/core/api/RowSetCache.cxx +++ b/dbaccess/source/core/api/RowSetCache.cxx @@ -857,7 +857,7 @@ sal_Bool ORowSetCache::fillMatrix(sal_Int32& _nNewStartPos, sal_Int32 &_nNewEndP sal_Bool ORowSetCache::moveWindow() { OSL_ENSURE(m_nStartPos >= 0,"ORowSetCache::moveWindow: m_nStartPos is less than 0!"); - OSL_ENSURE(m_nEndPos > m_nStartPos,"ORowSetCache::moveWindow: m_nStartPos not smaller than m_nEndPos"); + OSL_ENSURE(m_nEndPos >= m_nStartPos,"ORowSetCache::moveWindow: m_nStartPos not smaller than m_nEndPos"); OSL_ENSURE(m_nEndPos-m_nStartPos <= m_nFetchSize,"ORowSetCache::moveWindow: m_nStartPos and m_nEndPos too far apart"); if ( m_nStartPos < m_nPosition && m_nPosition <= m_nEndPos ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits