From 20fd7f4bf6dc8cb588efa0985b799398c7f898d2 Mon Sep 17 00:00:00 2001 From: John Levon Date: Thu, 30 May 2002 02:53:41 +0000 Subject: [PATCH] add const git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4287 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 4 ++++ src/insets/insettabular.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index a04ca44186..0a02d78274 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2002-05-30 John Levon + + * insettabular.C: add const + 2002-05-29 Jean-Marc Lasgouttes * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the diff --git a/src/insets/insettabular.C b/src/insets/insettabular.C index ef40193cc9..7b71497254 100644 --- a/src/insets/insettabular.C +++ b/src/insets/insettabular.C @@ -1750,7 +1750,7 @@ void InsetTabular::setFont(BufferView * bv, LyXFont const & font, bool tall, setUndo(bv, Undo::EDIT, bv->text->cursor.par(), bv->text->cursor.par()->next()); - bool frozen = undo_frozen; + bool const frozen = undo_frozen; if (!frozen) freezeUndo(); // apply the fontchange on the whole selection