diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-06 08:21:50 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-12-08 00:38:59 +0100 |
commit | 0b1a62f7d936d56cc31466c0b4f02a84702332e8 (patch) | |
tree | 34b860cc6086655369ea354629e617f150aff398 | |
parent | c2531a952c37ed8027f8d0da2c47a72610f40813 (diff) |
the xlink:type attribute is mandatory, related fdo#79449
Change-Id: I03c4217f786bc10aa915780dc10ea52d94019b6e
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index f0a8db4bf466..92a4243e3d7a 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -1754,6 +1754,7 @@ void XMLShapeExport::ImpExportEvents( const uno::Reference< drawing::XShape >& x XML_NAMESPACE_DOM, OUString( "click" ) ) ); mrExport.AddAttribute( XML_NAMESPACE_SCRIPT, XML_EVENT_NAME, aEventQName ); mrExport.AddAttribute( XML_NAMESPACE_XLINK, XML_HREF, aStrMacro ); + mrExport.AddAttribute( XML_NAMESPACE_XLINK, XML_TYPE, "simple" ); SvXMLElementExport aEventElemt(mrExport, XML_NAMESPACE_SCRIPT, XML_EVENT_LISTENER, true, true); } |