if (currElement != null) {
BlockLevelLayoutManager currLM = (BlockLevelLayoutManager)
currElement.getLayoutManager();
returnedList.addAll(currLM.getChangedKnuthElements(
oldList.subList(fromIndex, oldList.size()), alignment));
<BUG>}
ListIterator<KnuthElement> listIter = returnedList.listIterator();
while (listIter.hasNext()) {
returnedElement = listIter.next();</BUG>
if (returnedElement.getLayoutManager() != this) {

if (currElement != null) {
BlockLevelLayoutManager currLM = (BlockLevelLayoutManager)
currElement.getLayoutManager();
returnedList.addAll(currLM.getChangedKnuthElements(
oldList.subList(fromIndex, oldList.size()), alignment));
}
for (KnuthElement aReturnedList : returnedList) {
returnedElement = aReturnedList;
if (returnedElement.getLayoutManager() != this) {
