]> git.lyx.org Git - features.git/commitdiff
* InsetMathHull.cpp : constify.
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 15 May 2009 20:57:48 +0000 (20:57 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 15 May 2009 20:57:48 +0000 (20:57 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29679 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathHull.cpp

index 3f8070cc64bf97cabb37e31c486617a6fd41e079..bd75d5996285346106650429c3a1b9dd1fbf01e2 100644 (file)
@@ -1229,7 +1229,7 @@ void InsetMathHull::doDispatch(Cursor & cur, FuncRequest & cmd)
        }
 
        case LFUN_COPY_LABEL_AS_REF: {
-               row_type row = (type_ == hullMultline) ? nrows() - 1 : cur.row();
+               row_type const row = (type_ == hullMultline) ? nrows() - 1 : cur.row();
                InsetCommandParams p(REF_CODE, "ref");
                p["reference"] = label(row);
                cap::clearSelection();