add const

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4287 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-05-30 02:53:41 +00:00
parent e0dc1a3ffb
commit 20fd7f4bf6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-05-30 John Levon <moz@compsoc.man.ac.uk>
* insettabular.C: add const
2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr> 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetgraphicsParams.C (Read): use lyxlex::eatLine to read the * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the

View File

@ -1750,7 +1750,7 @@ void InsetTabular::setFont(BufferView * bv, LyXFont const & font, bool tall,
setUndo(bv, Undo::EDIT, setUndo(bv, Undo::EDIT,
bv->text->cursor.par(), bv->text->cursor.par(),
bv->text->cursor.par()->next()); bv->text->cursor.par()->next());
bool frozen = undo_frozen; bool const frozen = undo_frozen;
if (!frozen) if (!frozen)
freezeUndo(); freezeUndo();
// apply the fontchange on the whole selection // apply the fontchange on the whole selection