xmloff/source/draw/shapeexport.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 9070c1b0404fb72d2553f6fa8f702e70c0abb269
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Tue Mar 14 18:24:30 2023 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Thu Mar 16 09:10:39 2023 +0000

    xmloff: ODF export: produce alt text and description for MediaShape
    
    ... and others where it was inexplicably missing (PluginShape,
    AppletShape, FrameShape).
    
    Change-Id: Idf1c44488370a81bc90fb316ab6056994d782a1c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148917
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/xmloff/source/draw/shapeexport.cxx 
b/xmloff/source/draw/shapeexport.cxx
index f972c389a396..da9fe7f0e438 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -3237,6 +3237,7 @@ void XMLShapeExport::ImpExportFrameShape(
         SvXMLElementExport aOBJ(mrExport, XML_NAMESPACE_DRAW, 
XML_FLOATING_FRAME, true, true);
     }
 
+    ImpExportDescription(xShape);
 }
 
 void XMLShapeExport::ImpExportAppletShape(
@@ -3292,6 +3293,7 @@ void XMLShapeExport::ImpExportAppletShape(
         }
     }
 
+    ImpExportDescription(xShape);
 }
 
 void XMLShapeExport::ImpExportPluginShape(
@@ -3338,6 +3340,7 @@ void XMLShapeExport::ImpExportPluginShape(
         }
     }
 
+    ImpExportDescription(xShape);
 }
 
 static void lcl_CopyStream(
@@ -3581,6 +3584,8 @@ void XMLShapeExport::ImpExportMediaShape(
         // The media has a preview, export it.
         ExportGraphicPreview(xGraphic, mrExport, u"MediaPreview", u".png", 
"image/png");
     }
+
+    ImpExportDescription(xShape);
 }
 
 void XMLShapeExport::ImpExport3DSceneShape( const uno::Reference< 
drawing::XShape >& xShape, XMLShapeExportFlags nFeatures, awt::Point* pRefPoint)

Reply via email to