DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41426>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41426


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From [EMAIL PROTECTED]  2007-01-21 07:27 -------
I reported this problem with one of the fop examples
(examples/fo/advanced/cid-fonts.fo) last week.  The following patch fix the
exception.

--- snip ---

C:/workspace/fop/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
===================================================================
---
C:/workspace/fop/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
(revision 497065)
+++
C:/workspace/fop/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
(working copy)
@@ -69,11 +69,11 @@
         int flowBPD = (int) getCurrentPV().getBodyRegion().getBPD();

         // currently active LM
-        BlockLevelLayoutManager curLM;
+        LayoutManager curLM;
         LinkedList returnedList;
         LinkedList returnList = new LinkedList();

-        while ((curLM = ((BlockLevelLayoutManager) getChildLM())) !=
null) {
+        while ((curLM = getChildLM()) != null) {
             if (curLM instanceof InlineLevelLayoutManager) {
                 log.error("inline area not allowed under flow -
ignoring");
                 curLM.setFinished(true);

--- snip ---

Adrian

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to