summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-12-22 21:53:45 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-22 22:01:15 +0100
commit124c33dd1d6bf2040f0153de8c9ecaebe759c3bd (patch)
tree755121fcc15612079cc5c30319fd742fd33b65c5 /oox
parent069698de192ef7e8d3582398e4542c175cabb987 (diff)
ERROR: Attribute 'spid' must appear on element 'p:oleObj'.
As pointed out by CppunitTest_sd_export_tests. Change-Id: I8ecbc3ef4ea9dc84ebf88506967d02de04ded852
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/shapes.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 8fa575b1082c..81b569838fb6 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 );
}