diff --git a/src/ChangeLog b/src/ChangeLog index 3cfa7a23fb..00fb3fc1bd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ + +2003-07-21 André Pönitz + + * rowpainter.C: remove unused variables + 2003-07-18 André Pönitz * lyxtext.h: diff --git a/src/rowpainter.C b/src/rowpainter.C index 6980084b26..493b8f6837 100644 --- a/src/rowpainter.C +++ b/src/rowpainter.C @@ -713,7 +713,6 @@ void RowPainter::paintFirst() // draw a top line if (parparams.lineTop()) { - LyXFont font(LyXFont::ALL_SANE); int const asc = font_metrics::ascent('x', getFont(0)); y_top += asc; @@ -840,7 +839,6 @@ void RowPainter::paintLast() // draw a bottom line if (parparams.lineBottom()) { - LyXFont font(LyXFont::ALL_SANE); int const asc = font_metrics::ascent('x', getFont(max(pos_type(0), pit_->size() - 1)));