[Libreoffice-commits] core.git: xmloff/source
Markus Mohrhard
markus.mohrhard at collabora.co.uk
Sat Dec 6 01:53:38 PST 2014
xmloff/source/draw/shapeexport.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 95d27f465f67b12953a158f6f534e6f5aa3105a7
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date: Sat Dec 6 08:21:50 2014 +0100
the xlink:type attribute is mandatory, related fdo#79449
Change-Id: I03c4217f786bc10aa915780dc10ea52d94019b6e
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 6ad5b61..3efaba0 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);
}
More information about the Libreoffice-commits
mailing list