diff options
author | Justin Luth <justin_luth@sil.org> | 2016-12-02 10:38:20 +0300 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-12-02 13:09:23 +0000 |
commit | 6546ff4786f428556643410b0a0a109e802b7b70 (patch) | |
tree | 76800f897b421a125dd7dc22c971457290aa15be /sc | |
parent | 3cd0184306825c52da237815a8e782ce4c80253a (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>
(cherry picked from commit e0781244dacda54b3f30e8ddde708b25944f1344)
Reviewed-on: https://gerrit.libreoffice.org/31538
Reviewed-by: Eike Rathke <erack@redhat.com>
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 636183e26a39..24b3230acb2d 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 |