Add a const. A second const as in:

InsetBase const * const nextinset = = nextInset();

is not possible because InsetBase::asInsetMath() is not const.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16660 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-01-12 10:19:51 +00:00
parent 6b513c51f1
commit 1357910dd2

View 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.