]> git.lyx.org Git - features.git/commitdiff
add const
authorJohn Levon <levon@movementarian.org>
Thu, 30 May 2002 02:53:41 +0000 (02:53 +0000)
committerJohn Levon <levon@movementarian.org>
Thu, 30 May 2002 02:53:41 +0000 (02:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4287 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insettabular.C

index a04ca44186908cfcee66304f748f71ec97ef7cd5..0a02d78274e63287e0b38db1dc10663d739720b8 100644 (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>
 
        * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
index ef40193cc9e5efc05730ba93ed7ca12ed549fc30..7b7149725431a35aa143f32b60aa8b871ef99b74 100644 (file)
@@ -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