first copy, then delete

first copy, then delete
first copy, then delete
not the other way round...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5524 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-10-28 09:21:40 +00:00
parent b31b38bb2b
commit 97200564d9

View File

@ -248,10 +248,8 @@ void replaceNested(
continue;
// replace the original stuff by the new inset
ar.erase(it + 1, jt + 1);
// create a proper inset as replacement
ar[i] = replaceArg(MathArray(it + 1, jt));
ar.erase(it + 1, jt + 1);
}
}