git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231060 13f79535-47bb-0310-9956-ffa450edef68inlineblock
public void addChildArea(Area childArea) { | public void addChildArea(Area childArea) { | ||||
if (childArea instanceof Block && child == null) { | if (childArea instanceof Block && child == null) { | ||||
child = (Block) childArea; | child = (Block) childArea; | ||||
increaseIPD(childArea.getAllocIPD()); | |||||
} else { | } else { | ||||
// TODO: log error, raise exception? | // TODO: log error, raise exception? | ||||
} | } |