diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-28 10:47:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-30 09:07:40 +0000 |
commit | db88842170a041267b55dda64f8280a1394202b8 (patch) | |
tree | 8977b217283efcf85803a1d2ccd41168e4f87081 /svx/source/dialog | |
parent | 66d235012c0c02db3b25f91a0fc981c66ed7388e (diff) |
tdf#150534 use unordered_set for checking of lines already crossed
Change-Id: Ib864f9e8b7a3a2e6c4db5f2eec5333dc74bf9f6a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146334
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/framelinkarray.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx index c096e86bb3fe..a14279f329f1 100644 --- a/svx/source/dialog/framelinkarray.cxx +++ b/svx/source/dialog/framelinkarray.cxx @@ -22,6 +22,7 @@ #include <math.h> #include <vector> #include <set> +#include <unordered_set> #include <algorithm> #include <tools/debug.hxx> #include <tools/gen.hxx> @@ -1279,7 +1280,7 @@ drawinglayer::primitive2d::Primitive2DContainer Array::CreateB2DPrimitiveRange( // remember for which merged cells crossed lines were already created. To // do so, hold the sal_Int32 cell index in a set for fast check - std::set< sal_Int32 > aMergedCells; + std::unordered_set< sal_Int32 > aMergedCells; for (sal_Int32 nRow(nStartRow); nRow <= nEndRow; ++nRow) { |