mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
remove some commented out code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7307 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
389fc95d77
commit
3a3d06a4fd
@ -1036,7 +1036,7 @@ void LyXText::setHeightOfRow(RowList::iterator rit)
|
||||
LyXFont tmpfont;
|
||||
Inset * tmpinset = 0;
|
||||
|
||||
// ok , let us initialize the maxasc and maxdesc value.
|
||||
// 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
|
||||
// of the possibility of open footnotes
|
||||
@ -1093,11 +1093,6 @@ void LyXText::setHeightOfRow(RowList::iterator rit)
|
||||
mi.base.font = tmpfont;
|
||||
tmpinset->metrics(mi, dim);
|
||||
#endif
|
||||
//maxwidth += tmpinset->width(bv(), tmpfont);
|
||||
//maxasc = max(maxasc,
|
||||
// tmpinset->ascent(bv(), tmpfont));
|
||||
//maxdesc = max(maxdesc,
|
||||
// tmpinset->descent(bv(), tmpfont));
|
||||
maxwidth += dim.wid;
|
||||
maxasc = max(maxasc, dim.asc);
|
||||
maxdesc = max(maxdesc, dim.des);
|
||||
|
Loading…
Reference in New Issue
Block a user