revert mistake.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16651 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-01-11 18:20:20 +00:00
parent d4c037a427
commit c7aac5e1c6

View File

@ -297,9 +297,8 @@ void DocIterator::forwardPos(bool ignorecollapsed)
if (inMathed()) {
n = (tip.cell().begin() + tip.pos())->nucleus();
} else {
// InsetList::get() will return a null pointer if there's
// no inset at this position.
n = paragraph().getInset(tip.pos());
if (paragraph().isInset(tip.pos()))
n = paragraph().getInset(tip.pos());
}
}