summaryrefslogtreecommitdiff
path: root/ucb/source/sorter
diff options
context:
space:
mode:
authorRob Snelders <programming@ertai.nl>2011-02-08 17:11:29 +0100
committerChristina Rossmanith <ChrRossmanith@web.de>2011-02-08 17:11:29 +0100
commitc3f695ed034e09014fee0604b749d7da2fb11045 (patch)
tree467313585b0348fd9dffab8a459c988e33b18bb8 /ucb/source/sorter
parent4d6bed4be93e890ac2ce62afd562e2e008d08207 (diff)
translated comments
Diffstat (limited to 'ucb/source/sorter')
-rw-r--r--ucb/source/sorter/sortresult.cxx11
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 Einträge, die >= nPos sind, um nCount
- // erhöhen
+ // 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 einträge hinten an die maS2O Liste anhängen bzw
- // an der Position nPos in der maO2S Liste einfügen
+ // 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;