diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-10-15 20:34:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-17 09:07:26 +0200 |
commit | b64fbcf9655885684bc39b64f66ec9f3b18baf6a (patch) | |
tree | 5fb73a293f993845b0ade3c42a0135a94eeea449 /sc/source/core/data/compressedarray.cxx | |
parent | acfdfdf28a98b5841e4f8f669d9b6efe195926d9 (diff) |
remove unused ScCompressedArray constructor
Change-Id: Ida4d8abe50885d10288169024b597fa946d1c26b
Reviewed-on: https://gerrit.libreoffice.org/43438
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/compressedarray.cxx')
-rw-r--r-- | sc/source/core/data/compressedarray.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sc/source/core/data/compressedarray.cxx b/sc/source/core/data/compressedarray.cxx index 6d4c67fa0e61..91e64d4ceae6 100644 --- a/sc/source/core/data/compressedarray.cxx +++ b/sc/source/core/data/compressedarray.cxx @@ -37,31 +37,6 @@ ScCompressedArray<A,D>::ScCompressedArray( A nMaxAccessP, const D& rValue ) } template< typename A, typename D > -ScCompressedArray<A,D>::ScCompressedArray( A nMaxAccessP, const D* pDataArray, - size_t nDataCount ) - : nCount(0) - , nLimit( nDataCount) - , pData( new DataEntry[nDataCount]) - , nMaxAccess( nMaxAccessP) -{ - D aValue = pDataArray[0]; - for (size_t j=0; j<nDataCount; ++j) - { - if (!(aValue == pDataArray[j])) - { - pData[nCount].aValue = aValue; - pData[nCount].nEnd = j-1; - ++nCount; - aValue = pDataArray[j]; - } - } - pData[nCount].aValue = aValue; - pData[nCount].nEnd = nMaxAccess; - ++nCount; - Resize( nCount); -} - -template< typename A, typename D > ScCompressedArray<A,D>::~ScCompressedArray() { delete[] pData; |