Alfredo's row patch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6573 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-03-25 17:22:17 +00:00
parent 12b2d2ec4d
commit 63a7577511
3 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2003-03-25 Alfredo Braunstein <abraunst@libero.it>
* text2.C:
* text3.C: remove useless row->height(0)
2003-03-25 John Levon <levon@movementarian.org>
* lyxtext.h:

View File

@ -1326,7 +1326,6 @@ void LyXText::appendParagraph(Row * row)
++z;
insertRow(row, row->par(), z);
row = row->next();
row->height(0);
} else {
done = true;
}
@ -1355,7 +1354,6 @@ void LyXText::breakAgain(Row * row)
++z;
insertRow(row, row->par(), z);
row = row->next();
row->height(0);
} else {
row = row->next();
++z;
@ -1398,8 +1396,6 @@ void LyXText::breakAgainOneRow(Row * row)
// insert a new row
++z;
insertRow(row, row->par(), z);
row = row->next();
row->height(0);
} else {
row = row->next();
++z;

View File

@ -371,10 +371,8 @@ void LyXText::insertParagraph(Paragraph * par,
// and now append the whole paragraph before the new row
if (!row) {
firstrow->height(0);
appendParagraph(firstrow);
} else {
row->next()->height(0);
appendParagraph(row->next());
}
}