sc/source/filter/excel/xetable.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 855a0f40b285a438f8bd2ea61ebb8717daa16292 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Wed Feb 16 16:56:10 2022 +0100 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Thu Feb 17 12:08:17 2022 +0100 std::map -> std::unordered_map Change-Id: I70a039af151b7dd398d2665e6fc9bb825f719e39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130006 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx index 140c973a30b5..f8ec4440b74d 100644 --- a/sc/source/filter/excel/xetable.cxx +++ b/sc/source/filter/excel/xetable.cxx @@ -1759,7 +1759,7 @@ void XclExpColinfoBuffer::Finalize( ScfUInt16Vec& rXFIndexes, bool bXLS ) } // put XF indexes into passed vector, collect use count of all different widths - std::map< sal_uInt16, sal_uInt16 > aWidthMap; + std::unordered_map< sal_uInt16, sal_uInt16 > aWidthMap; sal_uInt16 nMaxColCount = 0; sal_uInt16 nMaxUsedWidth = 0; for( nPos = 0, nSize = maColInfos.GetSize(); nPos < nSize; ++nPos ) @@ -1951,7 +1951,7 @@ void XclExpRow::Finalize( const ScfUInt16Vec& rColXFIndexes, bool bProgress ) // *** Find default row format *** ---------------------------------------- // find most used XF index in the row - std::map< sal_uInt16, size_t > aIndexMap; + std::unordered_map< sal_uInt16, size_t > aIndexMap; sal_uInt16 nRowXFIndex = EXC_XF_DEFAULTCELL; size_t nMaxXFCount = 0; const size_t nHalfIndexes = aXFIndexes.size() / 2;