diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-07-29 18:52:50 +0200 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2014-07-30 21:47:54 +0000 |
commit | d6bf71cc649ca2f65eba3c88143573d9ca7f4cc5 (patch) | |
tree | 44a0b38fe9b320dbdf41e035373fd947d2525292 | |
parent | bnc#885825: Handle ODF import and export of data label border properties. (diff) | |
download | core-d6bf71cc649ca2f65eba3c88143573d9ca7f4cc5.tar.gz core-d6bf71cc649ca2f65eba3c88143573d9ca7f4cc5.zip |
the range has to be in the correct order, fdo#81803
Change-Id: Ia3907701857e22c11a2cefa5d35437c8f8219ff6
(cherry picked from commit 7bff8e93eb98be4b621c3902de227a3c313cf5b4)
Reviewed-on: https://gerrit.libreoffice.org/10654
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
-rw-r--r-- | sc/source/core/data/table4.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx index e1e04d04329e..24effeac84be 100644 --- a/sc/source/core/data/table4.cxx +++ b/sc/source/core/data/table4.cxx @@ -1139,6 +1139,7 @@ void ScTable::FillFormulaVertical( SCCOLROW nRowStart = -1, nRowEnd = -1; std::vector<sc::RowSpan> aSpans; + PutInOrder(nRow1, nRow2); for (rInner = nRow1; rInner <= nRow2; ++rInner) { if (rInner > nHiddenLast) |