X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fdociterator.C;h=bb72fb6c2d71c669dffc61b936fc3a36c9e4beaa;hb=0da3d53269a49c66b24615d24e20e441dcf7c07e;hp=5b43b853103b561260605973871c9a3d2ac497d7;hpb=5078b7ab5701b424a34acf107fb596c8b3bce3f0;p=lyx.git diff --git a/src/dociterator.C b/src/dociterator.C index 5b43b85310..bb72fb6c2d 100644 --- a/src/dociterator.C +++ b/src/dociterator.C @@ -274,7 +274,7 @@ void DocIterator::forwardPos(bool ignorecollapsed) return; } - InsetBase * nextinset = nextInset(); + InsetBase * const nextinset = nextInset(); // jump over collapsables if they are collapsed // FIXME: the check for asInsetMath() shouldn't be necessary // but math insets do not return a sensible editable() state yet.