[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - xmloff/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Mon Dec 8 01:09:11 PST 2014


 xmloff/source/draw/shapeexport.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e5b5d928f5cae0f0d0c833d425ee07e5f5c66ef8
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
    Reviewed-on: https://gerrit.libreoffice.org/13356
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index ec8adfa..23da8ec 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -1743,6 +1743,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