[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Thu Jan 8 05:26:58 PST 2015


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

New commits:
commit 995a06e212c1a5ca6b5f29ad01d445a1c0d460f1
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Mon Dec 22 05:00:24 2014 +0100

    fix OOXML validation errors
    
    Change-Id: Ieac082a3b312602eff5ec101529536d747fa3836
    Reviewed-on: https://gerrit.libreoffice.org/13586
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
index 93b5a09..7104c4e 100644
--- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
@@ -1079,6 +1079,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 )
     {


More information about the Libreoffice-commits mailing list