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

New commits:
commit 97e7ea424021239b04924cde50ddc3474e31f8cd
Author:     Tomaž Vajngerl <qui...@gmail.com>
AuthorDate: Wed Oct 11 11:58:35 2023 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed Oct 11 12:31:28 2023 +0200

    Revert "tdf#51510 Blurry QR code after save/reload (docx)"
    
    This reverts commit f8b547097dc043924f6df89a8c0e8bafd3f9873a.
    
    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: Ie8fbe8ac0dd7bd1bff5976a89e7d5e174e9d2fcc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157784
    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 822f5a5e601e..a80111ededab 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1342,10 +1342,6 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic 
, bool bRelPathToMedia )
                 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