From eb3ab2f3d02456a387f48b8a9e6ff9d46d59df99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 15 Sep 2008 08:43:42 +0000 Subject: [PATCH] * 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 --- src/insets/InsetTabular.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.39.2