mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27716 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
39f6e4b898
commit
0488bee43f
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user