From 8eb736b23b7ddfd8436a05a875611120e03e6ca2 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 14 Dec 2017 16:03:30 +0100 Subject: [PATCH] Remove duplicate variable Fixes bug #10922 --- src/RowPainter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 85f450edc6..6fbc783b35 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -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, -- 2.39.2