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

New commits:
commit e0781244dacda54b3f30e8ddde708b25944f1344
Author: Justin Luth <justin_l...@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 <c...@libreoffice.org>
    Reviewed-by: Justin Luth <justin_l...@sil.org>

diff --git a/sc/source/filter/excel/xetable.cxx 
b/sc/source/filter/excel/xetable.cxx
index 3350389..fe39f238 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -1537,6 +1537,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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to