Index: layoutmgr/LineLayoutManager.java
===================================================================
RCS file: /home/cvspublic/xml-fop/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java,v
retrieving revision 1.7
diff -u -r1.7 LineLayoutManager.java
--- layoutmgr/LineLayoutManager.java	15 Dec 2003 22:39:01 -0000	1.7
+++ layoutmgr/LineLayoutManager.java	22 Dec 2003 18:12:56 -0000
@@ -242,6 +242,10 @@
                         // If we are already in a hyphenation loop, then stop.
 
                         if (inlineLC.tryHyphenate()) {
+                            if (prevBP == null) {
+                                vecInlineBreaks.add(bp);
+                                prevBP = bp;
+                            }
                             break;
                         }
                         // Otherwise, prepare to try hyphenation
@@ -254,6 +258,10 @@
                         inlineLC.setHyphContext(
                           getHyphenContext((prevBP == null) ? prev : prevBP, bp));
                         if (inlineLC.getHyphContext() == null) {
+                            if (prevBP == null) {
+                                vecInlineBreaks.add(bp);
+                                prevBP = bp;
+                            }
                             break;
                         }
                         inlineLC.setFlags(LayoutContext.TRY_HYPHENATE,
@@ -264,6 +272,10 @@
                         /* If we are not in justified text, we can end the line at
                          * prevBP.
                          */
+                        if (prevBP == null) {
+                            vecInlineBreaks.add(bp);
+                            prevBP = bp;
+                        }
                         break;
                     }
                 } else {
@@ -313,7 +325,6 @@
             return null;
         }
         if (prevBP == null) {
-            vecInlineBreaks.add(bp);
             prevBP = bp;
         }
 
