summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-22 05:00:24 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-12-22 06:09:13 +0100
commitffb40fa1d7561d3847379488a61b340760924a64 (patch)
tree1fd7b6f1c072ac76d7cb7b68356233b66fd4e680
parent06d8c19dd093a6ea0b63288ae45531c4358e31fc (diff)
fix OOXML validation errors
Change-Id: Ieac082a3b312602eff5ec101529536d747fa3836
-rw-r--r--sc/source/filter/xcl97/XclExpChangeTrack.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
index fe27e925a31c..ae869481773f 100644
--- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
@@ -1109,6 +1109,12 @@ void XclExpChTrCellContent::SaveXml( XclExpXmlStream& rRevisionLogStrm )
if( pOldData )
{
lcl_WriteCell( rRevisionLogStrm, XML_oc, aPosition, pOldData );
+ if (!pNewData)
+ {
+ pStream->singleElement(XML_nc,
+ XML_r, XclXmlUtils::ToOString( aPosition ).getStr(),
+ FSEND);
+ }
}
if( pNewData )
{