git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194553
13f79535-47bb-0310-9956-
ffa450edef68
Iterator children = fobj.getChildren();
while (children.hasNext()) {
LayoutManager lm = ((FObj)children.next()).getLayoutManager();
- lm.setParentLM(this);
if (lm != null) {
+ lm.setParentLM(this);
lm.generateAreas();
}
}
* For now, only handle normal flow areas.
*/
public void addChild(Area childArea) {
+ if (childArea ==null) return;
if (childArea.getAreaClass() == Area.CLASS_NORMAL) {
placeFlowRefArea(childArea);
}