sc/source/core/data/column3.cxx | 9 +++++++++ 1 file changed, 9 insertions(+)
New commits: commit 0642bd4c8be643033a7bb9e94d88e15bdc154c30 Author: Kohei Yoshida <kohei.yosh...@gmail.com> Date: Fri May 3 18:51:23 2013 -0400 We need to broadcast here... With this, all unit tests pass, for now. Change-Id: I151d4425e7d82d1598fae32460dcb94c8b1d74f7 diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index 8983fa1..d9eb7f8 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -75,6 +75,15 @@ void ScColumn::Insert( SCROW nRow, ScBaseCell* pNewCell ) CellType eCellType = pNewCell->GetCellType(); if (eCellType == CELLTYPE_FORMULA) 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))); + } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits