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

We need to broadcast here...

With this, all unit tests pass, for now.

Change-Id: I151d4425e7d82d1598fae32460dcb94c8b1d74f7
üst f34620b4
...@@ -75,6 +75,15 @@ void ScColumn::Insert( SCROW nRow, ScBaseCell* pNewCell ) ...@@ -75,6 +75,15 @@ void ScColumn::Insert( SCROW nRow, ScBaseCell* pNewCell )
CellType eCellType = pNewCell->GetCellType(); CellType eCellType = pNewCell->GetCellType();
if (eCellType == CELLTYPE_FORMULA) if (eCellType == CELLTYPE_FORMULA)
static_cast<ScFormulaCell*>(pNewCell)->StartListeningTo(pDocument); static_cast<ScFormulaCell*>(pNewCell)->StartListeningTo(pDocument);
if (!pDocument->IsCalcingAfterLoad())
{
if ( eCellType == CELLTYPE_FORMULA )
((ScFormulaCell*)pNewCell)->SetDirty();
else
pDocument->Broadcast(
ScHint(SC_HINT_DATACHANGED, ScAddress(nCol, nRow, nTab), GetBroadcaster(nRow)));
}
} }
} }
......
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