mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
parent
a8fd12d18c
commit
5c3900344a
@ -1095,8 +1095,6 @@ void TextMetrics::setRowHeight(Row & row) const
|
|||||||
int maxdes = int(fm.maxDescent() * spacing_val);
|
int maxdes = int(fm.maxDescent() * spacing_val);
|
||||||
|
|
||||||
// Find the ascent/descent of the row contents
|
// Find the ascent/descent of the row contents
|
||||||
Row::const_iterator cit = row.begin();
|
|
||||||
Row::const_iterator cend = row.end();
|
|
||||||
for (Row::Element const & e : row) {
|
for (Row::Element const & e : row) {
|
||||||
if (e.inset) {
|
if (e.inset) {
|
||||||
maxasc = max(maxasc, e.dim.ascent());
|
maxasc = max(maxasc, e.dim.ascent());
|
||||||
|
Loading…
Reference in New Issue
Block a user