The 4th argument is of wrong type.
The 4th argument of this ScFormulaCell constructor expects a clone flag, not grammar. And passing that causes a misbehavior when copying formulas down the column. Change-Id: I93663526eb98dd7bfa1160a151de3ef15801f98d
This commit is contained in:
@@ -350,8 +350,7 @@ void ScColumn::CloneFormulaCell( const ScFormulaCell& rSrc, const std::vector<sc
|
||||
if (nLen == 1)
|
||||
{
|
||||
// Single, ungrouped formula cell.
|
||||
ScFormulaCell* pCell =
|
||||
new ScFormulaCell(rSrc, *pDocument, aPos, pDocument->GetGrammar());
|
||||
ScFormulaCell* pCell = new ScFormulaCell(rSrc, *pDocument, aPos);
|
||||
pCell->StartListeningTo(aCxt);
|
||||
pCell->SetDirty();
|
||||
aFormulas.push_back(pCell);
|
||||
|
Reference in New Issue
Block a user