summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-02-08 18:30:42 +0100
committerMichael Stahl <mstahl@redhat.com>2017-02-08 18:49:45 +0100
commit791431d7e2485652c96fac7c15f47aa125271ee0 (patch)
treee13c482aa7b52c6cf363f457a805e2bc31445e62 /store
parent725c81613c3855f77e2890db0713622974909b33 (diff)
tdf#103567 xmloff: ODF import: fix loss of events on SVG multi-image
For SVG there are 2 draw:image children in the draw:frame, and the SdXMLEventContext::EndElement() applies the content of office:event-listeners to the shape created from the last draw:image and then MultiImageImportHelper::solveMultipleImages() throws it away because it's the bitmap fallback of the SVG. Avoid that problem by calling solveMultipleImages earlier: The ODF schema ensures that all the draw:image elements occur before the optional property-bearing child elements of draw:frame, so we just call solveMultipleImages on the first such optional element, so that all subsequent properties get applied to the one surviving shape. (likely regression from 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70) Change-Id: I2be5f6f424dbfd90ca2179ce6f9057929540e762
Diffstat (limited to 'store')
0 files changed, 0 insertions, 0 deletions