change tracking: mark the first table cell as erased too

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7152 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-06-11 18:03:40 +00:00
parent 4dede9fd03
commit 330d20384e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-06-11 John Levon <levon@movementarian.org>
* insettabular.C: correctly mark all cells as erased
2003-06-11 Angus Leeming <leeming@lyx.org>
* insetexternal.[Ch]: InsetExternal::Params no longer stores the

View File

@ -2625,10 +2625,10 @@ void InsetTabular::markErased()
{
int cell = 0;
while (!tabular->IsLastCell(cell)) {
++cell;
while (cell < tabular->GetNumberOfCells()) {
InsetText * inset = tabular->GetCellInset(cell);
inset->markErased();
++cell;
}
}