diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/sorter/sortresult.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 5a289b5350a7..24a507a066a7 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -1492,7 +1492,7 @@ void SortedResultSet::Remove( sal_IntPtr nPos, sal_IntPtr nCount, EventList *pEv sal_IntPtr nSortPos = m_O2S[nPos]; m_O2S.erase(m_O2S.begin() + nPos); - for (size_t j=1; j <= m_O2S.size(); ++j) + for (size_t j=1; j < m_O2S.size(); ++j) { sal_IntPtr nVal = m_O2S[j]; if ( nVal > nSortPos ) |