From 0488bee43f39f3510233fa65f428b7f4f430f404 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Wed, 26 Nov 2008 19:42:18 +0000 Subject: [PATCH] Constify. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27716 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text2.cpp b/src/Text2.cpp index c078e38ea9..d592e6637b 100644 --- a/src/Text2.cpp +++ b/src/Text2.cpp @@ -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();