diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-06 08:21:50 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-06 08:21:50 +0100 |
commit | 95d27f465f67b12953a158f6f534e6f5aa3105a7 (patch) | |
tree | 502624e25d23e83f75f0ba22bf4e8b44966e3456 /xmloff/source | |
parent | eb38796f83f86e07ea0a0b7030eb86ef228a13f0 (diff) |
the xlink:type attribute is mandatory, related fdo#79449
Change-Id: I03c4217f786bc10aa915780dc10ea52d94019b6e
Diffstat (limited to 'xmloff/source')
-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 6ad5b615a964..3efaba0a7350 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); } |