sc/source/filter/xcl97/XclExpChangeTrack.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit ffb40fa1d7561d3847379488a61b340760924a64
Author: Markus Mohrhard <markus.mohrh...@collabora.co.uk>
Date:   Mon Dec 22 05:00:24 2014 +0100

    fix OOXML validation errors
    
    Change-Id: Ieac082a3b312602eff5ec101529536d747fa3836

diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx 
b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
index fe27e92..ae86948 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 )
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to