]> git.lyx.org Git - lyx.git/blobdiff - src/dociterator.C
update build instructions (Qt 4.2.2 etc.)
[lyx.git] / src / dociterator.C
index 5b43b853103b561260605973871c9a3d2ac497d7..bb72fb6c2d71c669dffc61b936fc3a36c9e4beaa 100644 (file)
@@ -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.