Remove duplicate variable

Fixes bug #10922
This commit is contained in:
Jean-Marc Lasgouttes 2017-12-14 16:03:30 +01:00
parent 0f18bb54cc
commit 8eb736b23b

View File

@ -196,7 +196,6 @@ void RowPainter::paintMisspelledMark(Row::Element const & e) const
continue;
}
FontMetrics const & fm = theFontMetrics(e.font);
int x1 = fm.pos2x(e.str, range.first - e.pos,
e.isRTL(), e.extra);
int x2 = fm.pos2x(e.str, min(range.last - e.pos + 1,