summaryrefslogtreecommitdiff
path: root/sc/source/core/data/column3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-20 19:08:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-21 16:24:10 +0200
commitaae39e5dbfde76726e3ad6a2e99874490515da58 (patch)
tree519fbb3f5ed80c6324cbf094bebb663dcab7e76c /sc/source/core/data/column3.cxx
parentd487d6e082bc7ce652217578ffd37397a59cc3ca (diff)
tdf#81765 slow loading of .ods with >1000 of conditional formats, part 3
This takes the loading time from 14s to 13s Use a o3tl::sorted_vector to reduce searching time Change-Id: I947a3e5001fe1058cf9bffc9509d026af4122ef4 Reviewed-on: https://gerrit.libreoffice.org/71035 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/column3.cxx')
-rw-r--r--sc/source/core/data/column3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 8e728cbe2916..a760f1428336 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -771,7 +771,7 @@ bool ScColumn::UpdateScriptType( sc::CellTextAttr& rAttr, SCROW nRow, sc::CellSt
{
const ScCondFormatItem& rItem =
pPattern->GetItem(ATTR_CONDITIONAL);
- const std::vector<sal_uInt32>& rData = rItem.GetCondFormatData();
+ const ScCondFormatIndexes& rData = rItem.GetCondFormatData();
pCondSet = pDocument->GetCondResult(aCell, aPos, *pCFList, rData);
}