Browse Source

Minor nit: eliminate stray hungarian...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059195 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_1rc1old
Andreas L. Delmelle 13 years ago
parent
commit
a7b8c7f2c9
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/java/org/apache/fop/area/inline/InlineParent.java

+ 3
- 3
src/java/org/apache/fop/area/inline/InlineParent.java View File

@@ -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;
}
}


Loading…
Cancel
Save