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

--- Comment #44 from Roland Baudin <[email protected]> ---
Hi again,

I've seen in comment #34 above that a simple patch has first been applied to
solve the issue and then immediately reverted.

I tried the patch (with some adaptation to make it compile) and indeed it fixed
the issue.

Here is the patch I applied:

--- a/oox/source/export/drawingml.cxx   2023-12-23 20:06:52.649102333 +0100
+++ b/oox/source/export/drawingml.cxx   2023-12-23 20:06:18.597399308 +0100
@@ -1456,6 +1456,10 @@
             sMediaType = u"image/png"_ustr;
             aExtension = u"png"_ustr;
             break;
+        case GfxLinkType::NativeSvg:
+            sMediaType = u"image/svg"_ustr;
+            aExtension = u"svg"_ustr;
+            break;
         case GfxLinkType::NativeTif:
             sMediaType = u"image/tiff"_ustr;
             aExtension = u"tif"_ustr;


So, I don't understand why the patch has been reverted. Could you explain?

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

Reply via email to