remove two unused variables.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7328 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-07-21 09:30:50 +00:00
parent ce044d86c4
commit e3fcc05ff6
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-07-21 André Pönitz <poenitz@gmx.net>
* rowpainter.C: remove unused variables
2003-07-18 André Pönitz <poenitz@gmx.net>
* lyxtext.h:

View File

@ -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)));