diff options
Diffstat (limited to 'src/java/org/apache/fop/area/inline/InlineParent.java')
-rw-r--r-- | src/java/org/apache/fop/area/inline/InlineParent.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/area/inline/InlineParent.java b/src/java/org/apache/fop/area/inline/InlineParent.java index 86c9141e6..db8f2f056 100644 --- a/src/java/org/apache/fop/area/inline/InlineParent.java +++ b/src/java/org/apache/fop/area/inline/InlineParent.java @@ -85,18 +85,18 @@ public class InlineParent extends InlineArea { @Override public boolean applyVariationFactor(double variationFactor, int lineStretch, int lineShrink) { - boolean bUnresolvedAreasPresent = false; + boolean hasUnresolvedAreas = false; int cumulativeIPD = 0; // recursively apply variation factor to descendant areas for (int i = 0, len = inlines.size(); i < len; i++) { InlineArea inline = inlines.get(i); - bUnresolvedAreasPresent |= inline.applyVariationFactor( + hasUnresolvedAreas |= inline.applyVariationFactor( variationFactor, lineStretch, lineShrink); cumulativeIPD += inline.getIPD(); //Update this area's IPD based on changes to children } setIPD(cumulativeIPD); - return bUnresolvedAreasPresent; + return hasUnresolvedAreas; } } |