You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2026/10/23 11:03:32 UTC
(openoffice) 01/06: xmloff: write xlink:type on text:a from URL fields
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 4b1c1a137579e21698f9cece37caa75257273d6c
Author: Jim Jagielski <ji...@gmail.com>
AuthorDate: Fri Oct 23 07:03:19 2026 -0400
xmloff: write xlink:type on text:a from URL fields
---
main/xmloff/source/text/txtflde.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/main/xmloff/source/text/txtflde.cxx b/main/xmloff/source/text/txtflde.cxx
index a88f7d09b4..3b82a809ac 100644
--- a/main/xmloff/source/text/txtflde.cxx
+++ b/main/xmloff/source/text/txtflde.cxx
@@ -1694,6 +1694,7 @@ void XMLTextFieldExport::ExportFieldHelper(
{
// this field is a special case because it gets mapped onto a
// hyperlink, rather than one of the regular text field.
+ GetExport().AddAttribute(XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE);
ProcessString(XML_HREF, GetExport().GetRelativeReference(GetStringProperty(sPropertyURL, rPropSet)),
sal_False, XML_NAMESPACE_XLINK);
ProcessString(XML_TARGET_FRAME_NAME,