Kaydet (Commit) dcca10d4 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Special case for formula cell fill down for quicker filling.

Change-Id: Ia03aa4c042b22551deacf4d7a58c9492a0a13a66
üst 34ebbc64
...@@ -1298,7 +1298,14 @@ void ScTable::FillAutoSimple( ...@@ -1298,7 +1298,14 @@ void ScTable::FillAutoSimple(
if ( bGetCell ) if ( bGetCell )
{ {
if (bVertical) // rInner&:=nRow, rOuter&:=nCol if (bVertical) // rInner&:=nRow, rOuter&:=nCol
{
aSrcCell = aCol[rCol].GetCellValue(nSource); aSrcCell = aCol[rCol].GetCellValue(nSource);
if (aSrcCell.meType == CELLTYPE_FORMULA)
{
FillFormulaVertical(*aSrcCell.mpFormula, rInner, rCol, nIStart, nIEnd, pProgress, rProgress);
return;
}
}
else // rInner&:=nCol, rOuter&:=nRow else // rInner&:=nCol, rOuter&:=nRow
aSrcCell = aCol[nSource].GetCellValue(rRow); aSrcCell = aCol[nSource].GetCellValue(rRow);
......
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