From: Jürgen Spitzmüller Date: Mon, 15 Sep 2008 08:43:42 +0000 (+0000) Subject: * InsetTabular.cpp: X-Git-Tag: 1.6.10~3452 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=eb3ab2f3d02456a387f48b8a9e6ff9d46d59df99;p=features.git * InsetTabular.cpp: - comment out non-working code that can trigger an assertion (probably bug 5225). (this code also does not work as expected in branch, but it doesn't act as badly there) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26407 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 51772474d4..5767717701 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -691,10 +691,14 @@ void Tabular::appendColumn(idx_type const cell) for (row_type r = 0; r < nrows; ++r) { cell_info[r].insert(cell_info[r].begin() + c + 1, CellData(buffer())); +#if 0 +// FIXME: This code does not work. It deletes the cell's content and +// it triggers an assertion if the cursor is at pos > 0. if (cell_info[r][c].multicolumn == CELL_BEGIN_OF_MULTICOLUMN) cell_info[r][c + 1].multicolumn = CELL_PART_OF_MULTICOLUMN; else cell_info[r][c + 1].multicolumn = cell_info[r][c].multicolumn; +#endif } updateIndexes(); for (row_type r = 0; r < nrows; ++r) {