From ecb733da58b74714eb66d2063a2835ce5c471870 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 19 Feb 2019 17:58:42 +0100 Subject: 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 Tested-by: Jenkins --- sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx | Bin 61703 -> 56920 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'sd/qa/unit/data') diff --git a/sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx b/sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx index d154e7f64bc0..76b771644cbb 100644 Binary files a/sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx and b/sd/qa/unit/data/pptx/smartart-cycle-matrix.pptx differ -- cgit