Kaydet (Commit) 4cfca1b8 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

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
üst dcd59273
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment