View | Details | Raw Unified | Return to bug 48765
Collapse All | Expand All

(-)src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java (+8 lines)
Lines 288-293 Link Here
288
        while (oldListIterator.hasNext()) {
288
        while (oldListIterator.hasNext()) {
289
            oldElement = (KnuthElement) oldListIterator.next();
289
            oldElement = (KnuthElement) oldListIterator.next();
290
            currLM = (InlineLevelLayoutManager) oldElement.getLayoutManager();
290
            currLM = (InlineLevelLayoutManager) oldElement.getLayoutManager();
291
            // This can occur if a fo:inline element is empty but has an id
292
            // attribute on it.  Punt in that case.
293
            if (currLM == null) {
294
            	continue;
295
            }
291
            // initialize prevLM
296
            // initialize prevLM
292
            if (prevLM == null) {
297
            if (prevLM == null) {
293
                prevLM = currLM;
298
                prevLM = currLM;
Lines 358-363 Link Here
358
        while (oldListIterator.hasNext()) {
363
        while (oldListIterator.hasNext()) {
359
            oldElement = (KnuthElement) oldListIterator.next();
364
            oldElement = (KnuthElement) oldListIterator.next();
360
            currLM = (InlineLevelLayoutManager) oldElement.getLayoutManager();
365
            currLM = (InlineLevelLayoutManager) oldElement.getLayoutManager();
366
            if (currLM == null) {
367
            	continue;
368
            }
361
            if (prevLM == null) {
369
            if (prevLM == null) {
362
                prevLM = currLM;
370
                prevLM = currLM;
363
            }
371
            }

Return to bug 48765