mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16650 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8121036b50
commit
d4c037a427
@ -297,8 +297,9 @@ void DocIterator::forwardPos(bool ignorecollapsed)
|
||||
if (inMathed()) {
|
||||
n = (tip.cell().begin() + tip.pos())->nucleus();
|
||||
} else {
|
||||
if (paragraph().isInset(tip.pos()))
|
||||
n = paragraph().getInset(tip.pos());
|
||||
// InsetList::get() will return a null pointer if there's
|
||||
// no inset at this position.
|
||||
n = paragraph().getInset(tip.pos());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user