diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-07 09:17:50 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-12-07 09:57:57 +0100 |
commit | fb809b311f51fa6fbf179d1b690fc06dfec5153d (patch) | |
tree | ee17920b863cd59686166d33539cb02ca6e52ccc | |
parent | 27cd91f4355ce7de5e89e5097246ee25882ba3ab (diff) |
handle all fill cases correctly, fdo#86754
That special case only works if the whole source range contains formula
cells. For now we just limit it to the special case of a single source
cell.
Change-Id: I71ccfde06edd97e5a9c78da22053583d05aac411
-rw-r--r-- | sc/source/core/data/table4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx index 84bafad88dae..e1881ba0da37 100644 --- a/sc/source/core/data/table4.cxx +++ b/sc/source/core/data/table4.cxx @@ -1313,7 +1313,7 @@ void ScTable::FillAutoSimple( if (bVertical) // rInner&:=nRow, rOuter&:=nCol { aSrcCell = aCol[rCol].GetCellValue(nSource); - if (aSrcCell.meType == CELLTYPE_FORMULA) + if (nISrcStart == nISrcEnd && aSrcCell.meType == CELLTYPE_FORMULA) { FillFormulaVertical(*aSrcCell.mpFormula, rInner, rCol, nIStart, nIEnd, pProgress, rProgress); return; |