]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Need to clean up after myself.
authorJeremias Maerki <jeremias@apache.org>
Mon, 10 Mar 2008 21:28:08 +0000 (21:28 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 10 Mar 2008 21:28:08 +0000 (21:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635701 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/LayoutContext.java
src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java

index ba06d70b134a2099e6b8dde6de28e8490c0c57dc..a72fca9af54f9f5544af5a84f62f55761a7e96d8 100644 (file)
@@ -95,6 +95,8 @@ public class LayoutContext {
 
     /** inline-progression-dimension of nearest ancestor reference area */
     private int refIPD;
+    //TODO After the split of stackLimit into stackLimitBP and stackLimitIP there's now some
+    //overlap with refIPD. Need to investigate how best to refactor that.
 
     /** the writing mode established by the nearest ancestor reference area */
     private int writingMode = Constants.EN_LR_TB;
index 9037cf62857db2cf569f01768b020285b36866f7..9a818232c43f0f11f01b1ec79c1a73b8d430b995 100644 (file)
@@ -583,9 +583,6 @@ public class LineLayoutManager extends InlineStackingLayoutManager
         // Get a break from currently active child LM
         // Set up constraints for inline level managers
 
-        // IPD remaining in line
-        MinOptMax availIPD = context.getStackLimitIP();
-
         clearPrevIPD();
 
         //PHASE 1: Create Knuth elements