This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch odf-devel
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit dd43dd10dc67993df281fff2fb38c5933e20639c
Author: Jim Jagielski <[email protected]>
AuthorDate: Fri Oct 23 07:03:20 2026 -0400

    xmloff: write xlink:type on text:section-source
---
 main/xmloff/source/text/XMLSectionExport.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/xmloff/source/text/XMLSectionExport.cxx 
b/main/xmloff/source/text/XMLSectionExport.cxx
index 30fef0f3da..64ba5d8e2b 100644
--- a/main/xmloff/source/text/XMLSectionExport.cxx
+++ b/main/xmloff/source/text/XMLSectionExport.cxx
@@ -495,6 +495,7 @@ void XMLSectionExport::ExportRegularSectionStart(
        {
                if (aFileLink.FileURL.getLength() > 0)
                {
+                       GetExport().AddAttribute(XML_NAMESPACE_XLINK, XML_TYPE, 
XML_SIMPLE);
                        GetExport().AddAttribute(XML_NAMESPACE_XLINK, XML_HREF,
                                                                         
GetExport().GetRelativeReference( aFileLink.FileURL) );
                }

Reply via email to