summaryrefslogtreecommitdiff
path: root/sc/inc/editdataarray.hxx
diff options
context:
space:
mode:
authorArmin Le Grand (Collabora) <Armin.Le.Grand@me.com>2025-03-10 15:20:17 +0100
committerArmin Le Grand <Armin.Le.Grand@me.com>2025-03-10 17:12:37 +0100
commitec65a00298ffbb30869dec222887f42f3ca4533e (patch)
treefdb10dc536d83d747075e20cd652da17badaf681 /sc/inc/editdataarray.hxx
parent3a593bf6bb5e6a2696205e4ef6c712fe828b47cf (diff)
tdf#165491 ITEM regression: Chart needs order of events
The Item with WhichID SCHATTR_STAT_KIND_ERROR *has* to be handled 1st since it sets additional information about the ErrorBarStyle at beans::XPropertySet xErrorBarProp that the processing of the *other* Items already need access to, see 'case SCHATTR_STAT_KIND_ERROR' in StatisticsItemConverter::ApplySpecialItem. This worked before the change of SfxItemSet to use a std::unordered_set since the order of Items was fix and - since SCHATTR_STAT_KIND_ERROR had the lowest WhichID - was handled 1st. Not sure if that was by purpose and it was known that this was necessary - there are no comments hinting to that, so it might have worked by coincidence before. In general it is bad style to rely on the 'order' of Items in an ItemSet - there is no order defined in general. Change-Id: I93e2c8e30f762e1bb83adb2b43459bbfb263a151 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182742 Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com> Tested-by: Jenkins
Diffstat (limited to 'sc/inc/editdataarray.hxx')
0 files changed, 0 insertions, 0 deletions