summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-06 08:21:50 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-12-08 01:04:08 +0100
commitcbd8ae9e9c0fb5b936264dc8956854184e70ca7f (patch)
tree1613ce3dec94960e5f142168752090204299b449
parentace0ec919fea773c847469dc01abf74393617d5f (diff)
the xlink:type attribute is mandatory, related fdo#79449
Change-Id: I03c4217f786bc10aa915780dc10ea52d94019b6e
-rw-r--r--xmloff/source/draw/shapeexport.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index bddf0ac81fc4..22dcbebe1814 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -1740,6 +1740,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, sal_True, sal_True);
}