mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix handling of one column tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10296 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7672118199
commit
c32b732f9d
@ -1,3 +1,8 @@
|
||||
2005-07-17 José Matos <jamatos@fc.up.pt>
|
||||
|
||||
* tabular.C (recalculateMulticolumns): fix handling of one column
|
||||
tables.
|
||||
|
||||
2005-07-17 Juergen Vigna <jug@lyx.org>
|
||||
|
||||
* text.C (Delete, backspace): fixed so that paragraph with the
|
||||
@ -40,7 +45,7 @@
|
||||
|
||||
* paragraph.h: add parameter boundary for getRow() function
|
||||
|
||||
2005-07-18 José Matos <jamatos@fc.up.pt>
|
||||
2005-07-17 José Matos <jamatos@fc.up.pt>
|
||||
|
||||
* buffer.C:
|
||||
* bufferparams.[Ch]:
|
||||
|
@ -798,7 +798,7 @@ void LyXTabular::recalculateMulticolumnsOfColumn(col_type column)
|
||||
// the last column does not have to be recalculated because all
|
||||
// multicolumns will have here there last multicolumn cell which
|
||||
// always will have the whole rest of the width of the cell.
|
||||
if (column > (columns_ - 2))
|
||||
if (columns_ < 2 || column > (columns_ - 2))
|
||||
return;
|
||||
for (row_type row = 0; row < rows_; ++row) {
|
||||
int mc = cell_info[row][column].multicolumn;
|
||||
|
Loading…
Reference in New Issue
Block a user