sc/source/core/data/column.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit e271ea0dceca3f8ac664246ef2f9d65b2fa360a8 Author: Eike Rathke <er...@redhat.com> Date: Thu Oct 31 15:28:58 2013 +0100 resolved fdo#70815 broadcast emptied cell in ScColumn::SwapRow() Change-Id: Ie939f12a54d0b4cf8bedc34683e20fb924f1bf3b Reviewed-on: https://gerrit.libreoffice.org/6516 Tested-by: Kohei Yoshida <libreoff...@kohei.us> Reviewed-by: Kohei Yoshida <libreoff...@kohei.us> diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 800c200..305eeb5 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -901,6 +901,12 @@ void ScColumn::SwapRow(SCROW nRow1, SCROW nRow2) // insert ColEntry at new position. Insert( nRow2, pCell1 ); + + // A broadcaster that exists at cell 1 will have no effect in a + // subsequent SetDirty(ScRange) that broadcasts only existing cells + // so broadcast the change here. fdo#70815 + // Delete(SCROW) does broadcast for other cases below. + pDocument->Broadcast( ScHint( SC_HINT_DATACHANGED, ScAddress( nCol, nRow1, nTab))); } return; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits