mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
652a08b0a4
commit
7b0b1cdaae
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user