[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sc/source

Justin Luth justin_luth at sil.org
Fri Dec 2 13:09:49 UTC 2016


 sc/source/filter/excel/xetable.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6546ff4786f428556643410b0a0a109e802b7b70
Author: Justin Luth <justin_luth at sil.org>
Date:   Fri Dec 2 10:38:20 2016 +0300

    prevent corrupt warning in MSO - justify dimension
    
    In 2007, the document will not open.  In 2013, it requires repair
    if <dimension ref=""> is not normalized.
    
    Change-Id: I5ee5ba314944c960de90f4c9b234f8cc8056c734
    Reviewed-on: https://gerrit.libreoffice.org/31524
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Justin Luth <justin_luth at sil.org>
    (cherry picked from commit e0781244dacda54b3f30e8ddde708b25944f1344)
    Reviewed-on: https://gerrit.libreoffice.org/31538
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx
index 636183e..24b3230 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -1525,6 +1525,7 @@ void XclExpDimensions::SaveXml( XclExpXmlStream& rStrm )
         aRange.aEnd.SetCol( (SCCOL) (mnFirstFreeXclCol-1) );
     }
 
+    aRange.PutInOrder();
     rStrm.GetCurrentStream()->singleElement( XML_dimension,
             // To be compatible with MS Office 2007,
             // we need full address notation format


More information about the Libreoffice-commits mailing list