From: Vincent van Ravesteijn Date: Fri, 15 May 2009 20:57:48 +0000 (+0000) Subject: * InsetMathHull.cpp : constify. X-Git-Tag: 2.0.0~6564 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=13da98685d7c44aa6169d26cd52c7a99530af86f;p=features.git * InsetMathHull.cpp : constify. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29679 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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();