diff options
author | Rob Snelders <programming@ertai.nl> | 2011-02-08 17:11:29 +0100 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-02-08 17:11:29 +0100 |
commit | 65f58500ce9ad96ace3be8636aba4f803069fc57 (patch) | |
tree | 3c755a1a4918993b87b88cd2119fab686c703a99 /ucb | |
parent | c0d2a869e3bd90e268955370704549d006543ddd (diff) |
translated comments
Diffstat (limited to 'ucb')
-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 02f2d05be8..c50b20c165 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; |