diff options
author | Justin Luth <justin_luth@sil.org> | 2016-12-02 10:38:20 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2016-12-02 08:26:02 +0000 |
commit | e0781244dacda54b3f30e8ddde708b25944f1344 (patch) | |
tree | 6a423a5a2657e1d8b94d476f96f9b689b311bb46 /sc | |
parent | ce61ba2d54737a17a264e52987ee23b025f9165c (diff) |
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@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xetable.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx index 3350389ac1c6..fe39f238d4f9 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 |