git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194157 13f79535-47bb-0310-9956-ffa450edef68tags/fop-0_18_1
@@ -224,6 +224,9 @@ public class InstreamForeignObject extends FObj { | |||
if (area instanceof BlockArea) { | |||
BlockArea ba = (BlockArea)area; | |||
LineArea la = ba.getCurrentLineArea(); | |||
if(la == null) { | |||
return new Status(Status.AREA_FULL_NONE); | |||
} | |||
la.addPending(); | |||
if(areaCurrent.getEffectiveWidth() > la.getRemainingWidth()) { | |||
la = ba.createNextLineArea(); |