diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-09-30 05:48:28 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-09-30 05:48:28 +0000 |
commit | 716636d558e9cc9b910da6d127314d2b20cdf0b6 (patch) | |
tree | d266019c3c89a0649074f3290439d74010ec618c /sc/source/core/data/compressedarray.cxx | |
parent | abda8e12d8cd23c2cd1bb870b097eddfdee38825 (diff) |
CWS-TOOLING: integrate CWS koheicoderemoval
Diffstat (limited to 'sc/source/core/data/compressedarray.cxx')
-rw-r--r-- | sc/source/core/data/compressedarray.cxx | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/sc/source/core/data/compressedarray.cxx b/sc/source/core/data/compressedarray.cxx index 36d92ac90392..71edac0cd0c8 100644 --- a/sc/source/core/data/compressedarray.cxx +++ b/sc/source/core/data/compressedarray.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: compressedarray.cxx,v $ - * $Revision: 1.10 $ + * $Revision: 1.10.32.1 $ * * This file is part of OpenOffice.org. * @@ -365,27 +365,6 @@ A ScCompressedArray<A,D>::GetLastUnequalAccess( A nStart, const D& rCompare ) } -template< typename A, typename D > -void ScCompressedArray<A,D>::FillDataArray( A nStart, A nEnd, D * pArray ) const -{ - size_t nUsed = 0; - size_t nIndex = Search( nStart); - A nS = ::std::max( (nIndex>0 ? pData[nIndex-1].nEnd+1 : 0), nStart); - do - { - A nE = ::std::min( pData[nIndex].nEnd, nEnd); - while (nS <= nE) - { - pArray[nUsed++] = pData[nIndex].aValue; - ++nS; - } - if (pData[nIndex].nEnd >= nEnd) - break; // while - ++nIndex; - } while (nIndex < nCount); -} - - // === ScSummableCompressedArray ============================================= template< typename A, typename D > |