Constify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27716 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2008-11-26 19:42:18 +00:00
parent 39f6e4b898
commit 0488bee43f

View File

@ -810,7 +810,7 @@ bool Text::deleteEmptyParagraphMechanism(Cursor & cur,
// Whether a common inset is found and whether the cursor is still in
// the same paragraph (possibly nested).
bool same_par = depth < cur.depth() && old.pit() == cur[depth].pit();
bool const same_par = depth < cur.depth() && old.pit() == cur[depth].pit();
bool const same_par_pos = depth == cur.depth() - 1 && same_par
&& old.pos() == cur[depth].pos();