[Libreoffice-commits] core.git: oox/source
Miklos Vajna
vmiklos at collabora.co.uk
Mon Dec 22 13:01:52 PST 2014
oox/source/export/shapes.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 124c33dd1d6bf2040f0153de8c9ecaebe759c3bd
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon Dec 22 21:53:45 2014 +0100
ERROR: Attribute 'spid' must appear on element 'p:oleObj'.
As pointed out by CppunitTest_sd_export_tests.
Change-Id: I8ecbc3ef4ea9dc84ebf88506967d02de04ded852
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 8fa575b..81b5698 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -1109,6 +1109,7 @@ ShapeExport& ShapeExport::WriteOLE2Shape( Reference< XShape > xShape )
mpFS->startElementNS( mnXmlNamespace, XML_oleObj,
XML_name, "Document",
FSNS(XML_r, XML_id), USS( sRelId ),
+ XML_spid, OString::number(GetShapeID(xShape)),
FSEND );
}
More information about the Libreoffice-commits
mailing list