diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-02-19 17:58:42 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-19 19:36:31 +0100 |
commit | ecb733da58b74714eb66d2063a2835ce5c471870 (patch) | |
tree | fc251161ced6f76acda7be863bcd6eef7ecc6d6a /sd/qa/unit/data | |
parent | 92849660e21d5a13fb671339e52cbc30335ab842 (diff) |
oox smartart, cycle matrix: handle destination order in connections
It is possible to have connections from multiple data nodes to the same
presentation node with a presOf type. We use to order these based on as
they appear in the data XML, but we need to order them according to the
destOrd attribute.
Introduce an std::map for that, so get ordering automatically as we
iterate. Turn the std::pair into a struct to make the code a bit more
readable.
Change-Id: I3d2bb047ed3f171a194851f89151bd94071a8176
Reviewed-on: https://gerrit.libreoffice.org/68027
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sd/qa/unit/data')
-rw-r--r-- | sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx | bin | 61703 -> 56920 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx b/sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx Binary files differindex d154e7f64bc0..76b771644cbb 100644 --- a/sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx +++ b/sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx |