mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
6b513c51f1
commit
1357910dd2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user