]> git.lyx.org Git - lyx.git/blobdiff - src/RowPainter.cpp
Russian layouttranslations reviewed by Yuriy, Dec 13 2017.
[lyx.git] / src / RowPainter.cpp
index 85f450edc6f7f7718d3025056810c2a410831e8f..6fbc783b358c47c50a1ecbe9cd5b3a4ff1d92aef 100644 (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,