diff options
-rw-r--r-- | ucb/source/sorter/sortresult.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index f9898c1aee66..d5f53c73d033 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -1522,8 +1522,7 @@ void SortedResultSet::CheckProperties( long nOldCount, sal_Bool bWasFinal ) //------------------------------------------------------------------------- void SortedResultSet::InsertNew( long nPos, long nCount ) { - // in der maS2O Liste alle Eintrge, die >= nPos sind, um nCount - // erhhen + // for all entries in the msS20-list, which are >= nPos, increase by nCount SortListData *pData; long i, nEnd; @@ -1537,15 +1536,15 @@ void SortedResultSet::InsertNew( long nPos, long nCount ) } } - // und die neuen eintrge hinten an die maS2O Liste anhngen bzw - // an der Position nPos in der maO2S Liste einfgen + // and append the new entries at the end of the maS20-list or insert at the + // position nPos in the maS2O-list for ( i=0; i<nCount; i++ ) { nEnd += 1; pData = new SortListData( nEnd ); - maS2O.Insert( pData, nEnd ); // Insert( Wert, Position ) - maO2S.Insert( (void*)nEnd, (sal_uInt32)(nPos+i) ); // Insert( Wert, Position ) + maS2O.Insert( pData, nEnd ); // Insert( Value, Position ) + maO2S.Insert( (void*)nEnd, (sal_uInt32)(nPos+i) ); // Insert( Value, Position ) } mnCount += nCount; |