diff options
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/compressedarray.cxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sc/source/core/data/compressedarray.cxx b/sc/source/core/data/compressedarray.cxx index 27388097349e..baa8a8267c9b 100644 --- a/sc/source/core/data/compressedarray.cxx +++ b/sc/source/core/data/compressedarray.cxx @@ -456,35 +456,8 @@ A ScBitMaskCompressedArray<A,D>::GetLastAnyBitAccess( A nStart, return nEnd; } - -// === ScCompressedArrayIterator ============================================= - -template< typename A, typename D > -template< typename X > -void ScCompressedArrayIterator<A,D>::Follow( - const ScCompressedArrayIterator<A,X>& rIter ) -{ - nCurrent = rIter.GetPos(); - if (GetRangeStart() <= nCurrent && nCurrent <= GetRangeEnd()) - ; // nothing - else if (nCurrent > GetRangeEnd()) - { - A nPos = nCurrent; // nCurrent gets changed in NextRange() - bool bAdv; - do - { - bAdv = NextRange(); - } while (bAdv && GetRangeEnd() < nPos); - nCurrent = nPos; - } - else - nIndex = rArray.Search( nCurrent); -} - - // === Force instantiation of specializations ================================ -template class ScCompressedArray< SCROW, sal_uInt16>; // heights, base class template class ScCompressedArray< SCROW, sal_uInt8>; // flags, base class template class ScBitMaskCompressedArray< SCROW, sal_uInt8>; // flags |