From 13da98685d7c44aa6169d26cd52c7a99530af86f Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Fri, 15 May 2009 20:57:48 +0000 Subject: [PATCH] * InsetMathHull.cpp : constify. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29679 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathHull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 3f8070cc64..bd75d59962 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -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(); -- 2.39.2