fix loading of large files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@3063 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-11-22 11:15:20 +00:00
parent 14bde8af50
commit 0068d4597f
3 changed files with 5 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/text2.C (RemoveRow):
* src/text.C (SetHeightOfRow): remove bogus call to GetRow.
2001-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lib/examples/it_splash.lyx: update from Claudio Coco

View File

@ -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

View File

@ -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()) {