diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-09-13 17:49:20 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-14 15:04:15 +0200 |
commit | a27a6b68b7e4d2a4674b4de59fc487b17c7c9907 (patch) | |
tree | 28f4277181f915b8f6777203611ff58f634275a8 /xmloff | |
parent | 22b615a7a54e6424bf3a492d2a07573ad9090949 (diff) |
fdo#49677: ODF export: always add xlink:type attribute
The xlink:type was optional on text:a and draw:a elements in ODF 1.1 but
is mandatory in ODF 1.2
Change-Id: Ifc7301ed1b0120d31a156751888dea1a55e952fe
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtflde.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index c649b9714df8..e14eec4e1b20 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -1697,6 +1697,7 @@ void XMLTextFieldExport::ExportFieldHelper( ProcessString(XML_TARGET_FRAME_NAME, GetStringProperty(sPropertyTargetFrame,rPropSet), sal_True, XML_NAMESPACE_OFFICE); + GetExport().AddAttribute( XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE ); SvXMLElementExport aUrlField(rExport, XML_NAMESPACE_TEXT, XML_A, sal_False, sal_False); GetExport().Characters(sPresentation); |