remove twice unused variable 'tmpheight'

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7304 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-07-17 11:34:48 +00:00
parent 652a08b0a4
commit 7b0b1cdaae

View File

@ -1798,8 +1798,6 @@ void LyXText::insertChar(char c)
need_break_row = rows().end();
} else {
// FIXME: similar code is duplicated all over - make resetHeightOfRow
int const tmpheight = row->height();
setHeightOfRow(row);
postPaint();
@ -2606,7 +2604,6 @@ void LyXText::backspace()
} else {
// set the dimensions of the row
row->fill(fill(row, workWidth()));
int const tmpheight = row->height();
setHeightOfRow(row);
postPaint();
setCursor(cursor.par(), cursor.pos(), false, cursor.boundary());