oox/source/export/drawingml.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 9dc2c25d1b1b732ed1bb1416fcc36558e795a882
Author:     Tomaž Vajngerl <qui...@gmail.com>
AuthorDate: Wed Oct 11 11:59:16 2023 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed Oct 11 12:31:33 2023 +0200

    Revert "tdf#51510 Blurry QR code after save/reload (docx)"
    
    This reverts commit a9dbc31fd3db37b2c6c5ca53ab712be76933b9ea.
    
    Reason for revert: This can cause compatibility issues with OOXML when they 
are saved like this because this is not the correct way how SVG should be saved 
to the OOXML document - it needs to use the OOXML SVG extension so that the 
image is still shown in old MSO versions. See more
    info in https://gerrit.libreoffice.org/c/core/+/157729.
    
    Change-Id: I32a5c1e10bacff03beacb9e825d3a243d5334983
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157785
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index ad5a5cc42d4d..de7644ee4c54 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1446,10 +1446,6 @@ OUString GraphicExport::writeToStorage(const Graphic& 
rGraphic , bool bRelPathTo
                 sMediaType = "image/png";
                 pExtension = ".png";
                 break;
-            case GfxLinkType::NativeSvg:
-                sMediaType = "image/svg";
-                pExtension = ".svg";
-                break;
             case GfxLinkType::NativeTif:
                 sMediaType = "image/tiff";
                 pExtension = ".tif";

Reply via email to