https://bugs.documentfoundation.org/show_bug.cgi?id=123396

--- Comment #7 from Nikolaj <consult...@yandex.ru> ---
Some research into this error. Lets assume we have an embedded svg

<draw:image draw:mime-type="image/svg+xml">
  <office:binary-data>
    Some svg binary data
  </office:binary-data>
</draw:image>

After saving Writer adds png data like

<draw:image draw:mime-type="image/svg+xml">
  <office:binary-data>
    Some svg binary data
  </office:binary-data>
</draw:image>
<draw:image draw:mime-type="image/png">
  <office:binary-data>
    Some binary data
  </office:binary-data>
</draw:image>

After opening the file we get exactly png data, not svg. If we delete png data
the file will open correctly.

Funny enough if I change the order (first png, then svg) the file will once
again open correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to