mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
12b2d2ec4d
commit
63a7577511
@ -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:
|
||||
|
@ -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;
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user