Author: spepping
Date: Mon Jan 14 12:56:08 2008
New Revision: 611928

URL: http://svn.apache.org/viewvc?rev=611928&view=rev
Log:
Removed duplicate insertion of BreakElements between some paragraphs

Modified:
    
xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java

Modified: 
xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java?rev=611928&r1=611927&r2=611928&view=diff
==============================================================================
--- 
xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
 (original)
+++ 
xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
 Mon Jan 14 12:56:08 2008
@@ -557,13 +557,7 @@
 
         LinkedList returnList = new LinkedList();
 
-        // null penalty between paragraphs
         int parIndex = knuthParagraphs.indexOf(par);
-        if (parIndex > 0 && !((BlockLevelLayoutManager) 
parentLM).mustKeepTogether()) {
-            returnList.add(new BreakElement(new Position(this), 0, context));
-            //returnList.add(new KnuthPenalty(0, 0, false, new Position(this), 
false));
-        }
-
         if (par.isInlineSequence() && context.getBPAlignment() == EN_JUSTIFY) {
             /* justified vertical alignment (not in the XSL FO recommendation):
                    create a multi-layout sequence whose elements will contain 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to