summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-22 05:00:24 +0100
committerEike Rathke <erack@redhat.com>2015-01-07 13:37:36 +0000
commited73e365e20d0ec21caf8806e0caba8a1f8dc085 (patch)
tree7d0a0098c0f871a396a8fc3b12114efc06811773
parentfdf69336eb52905113e1d9e6e453ae4e655e2aba (diff)
fix OOXML validation errors
Change-Id: Ieac082a3b312602eff5ec101529536d747fa3836 Reviewed-on: https://gerrit.libreoffice.org/13585 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
-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 4cf119b0e634..2989f20b5af9 100644
--- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
@@ -1073,6 +1073,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 )
{