correctFirstElement = ((org.apache.fop.fo.flow.Block)fobj)
.getCommonMarginBlock().spaceBefore.getSpace().isDiscard();
}
if (correctFirstElement) {
// remove the wrong element
KnuthBox wrongBox = (KnuthBox) newList.removeFirst();
// if this paragraph is at the top of a page, the space before
// must be ignored; compute the length change
int decreasedLength = (neededUnits(totalLength.opt)
- neededUnits(totalLength.opt - adjustedSpaceBefore))
* bpUnit;