]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix a small error in ListItemLayoutManager. Patch submitted by Julien
authorSimon Pepping <spepping@apache.org>
Mon, 9 Oct 2006 10:57:55 +0000 (10:57 +0000)
committerSimon Pepping <spepping@apache.org>
Mon, 9 Oct 2006 10:57:55 +0000 (10:57 +0000)
Plissonneau Duquène <julien dot plissonneau dot duquene at
savoirfairelinux dot com>, see bug 40556.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454338 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java

index ffe356fe96758330488ce393bd78695a6092def5..9b557d2e8a80697420a66b72d2046cf220878c2c 100644 (file)
@@ -499,7 +499,7 @@ public class ListItemLayoutManager extends BlockStackingLayoutManager
                 labelFirstIndex, labelLastIndex, previousBreak);
 
         //Determine previous break if any
-        previousBreak = ElementListUtils.determinePreviousBreak(labelList, labelFirstIndex);
+        previousBreak = ElementListUtils.determinePreviousBreak(bodyList, bodyFirstIndex);
         SpaceResolver.performConditionalsNotification(bodyList, 
                 bodyFirstIndex, bodyLastIndex, previousBreak);