summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-07-29 18:52:50 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-07-30 14:06:22 +0200
commit7bff8e93eb98be4b621c3902de227a3c313cf5b4 (patch)
tree77fdd63da2c49b86efe04c6a4909d33f81d12a5f /sc
parent896390d79133199910f857cf85004466171ca405 (diff)
the range has to be in the correct order, fdo#81803
Change-Id: Ia3907701857e22c11a2cefa5d35437c8f8219ff6
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/table4.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 02d1664aab03..0a9020900ccb 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -1134,6 +1134,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)