]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.C
The bug-fix in revision 16531 introduced another bug. This is the right fix. I did...
[lyx.git] / src / rowpainter.C
index 51d448fd6535bda99025a3af0c76873fb0d946b6..9cfae9d44aa6c963f28958abbb9b9d5dc42629ac 100644 (file)
@@ -138,8 +138,6 @@ RowPainter::RowPainter(PainterInfo & pi,
          erased_(pi.erased_),
          xo_(x), yo_(y), width_(text_metrics_.width())
 {
-       Buffer const & buffer = *bv_.buffer();
-       int const right_margin = text_metrics_.rightMargin(pm_);
        RowMetrics m = text_metrics_.computeRowMetrics(pit_, row_);
        x_ = m.x + xo_;