diff --git a/ChangeLog b/ChangeLog index 2f77720d9d..ebe30a3a5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-22 Jean-Marc Lasgouttes + + * src/text2.C (RemoveRow): + * src/text.C (SetHeightOfRow): remove bogus call to GetRow. + 2001-10-24 Jean-Marc Lasgouttes * lib/examples/it_splash.lyx: update from Claudio Coco diff --git a/src/text.C b/src/text.C index 64fa5b2615..b4341c5933 100644 --- a/src/text.C +++ b/src/text.C @@ -1301,11 +1301,6 @@ void LyXText::SetHeightOfRow(BufferView * bview, Row * row_ptr) const LyXFont tmpfont; Inset * tmpinset = 0; - /* this must not happen before the currentrow for clear reasons. - so the trick is just to set the current row onto this row */ - int unused_y; - GetRow(row_ptr->par(), row_ptr->pos(), unused_y); - /* ok , let us initialize the maxasc and maxdesc value. * This depends in LaTeX of the font of the last character * in the paragraph. The hack below is necessary because diff --git a/src/text2.C b/src/text2.C index 267e71957a..7863fb1ac8 100644 --- a/src/text2.C +++ b/src/text2.C @@ -343,12 +343,6 @@ void LyXText::InsertRow(Row * row, LyXParagraph * par, // removes the row and reset the touched counters void LyXText::RemoveRow(Row * row) const { - /* this must not happen before the currentrow for clear reasons. - so the trick is just to set the current row onto the previous - row of this row */ - int unused_y; - GetRow(row->par(), row->pos(), unused_y); - if (row->next()) row->next()->previous(row->previous()); if (!row->previous()) {