sc/source/core/data/column3.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit ee6c86684bdc672fe1e493b901f6bea1bc7c1e1f Author: Kohei Yoshida <kohei.yosh...@gmail.com> Date: Wed May 8 15:15:15 2013 -0400 No need to check for broadcaster's presence here. The old code did because it would then have to create a ScNoteCell to optionally store the broadcaster. That's no longer the case. Change-Id: I5e031270e0ed77425b2be192a1705c64c6fa8f45 diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index e9ecd31..e36312b 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -328,10 +328,9 @@ void ScColumn::DeleteRange( SCSIZE nStartIndex, SCSIZE nEndIndex, sal_uInt16 nDe for ( SCSIZE nIdx = nStartIndex; nIdx <= nEndIndex; ++nIdx ) { - SCROW nRow = maItems[nIdx].nRow; - if (((nDelFlag & IDF_CONTENTS) == IDF_CONTENTS) && maBroadcasters.is_empty(nRow)) + if (((nDelFlag & IDF_CONTENTS) == IDF_CONTENTS)) { - // all content is deleted and cell does not contain broadcaster + // all content is to be deleted. ScBaseCell* pOldCell = maItems[ nIdx ].pCell; if (pOldCell->GetCellType() == CELLTYPE_FORMULA) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits