aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/inline/FilledArea.java
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-09-22 08:18:42 +0000
committerFinn Bock <bckfnn@apache.org>2004-09-22 08:18:42 +0000
commit0d5f2c76c44d7d79330588a57ee413b68980b4ec (patch)
tree9279b3fc792d699b627f5bc67748b6e2ee9c76ce /src/java/org/apache/fop/area/inline/FilledArea.java
parent34ffd8adb7e91f485e3520079ae74e1dd1f7a532 (diff)
downloadxmlgraphics-fop-0d5f2c76c44d7d79330588a57ee413b68980b4ec.tar.gz
xmlgraphics-fop-0d5f2c76c44d7d79330588a57ee413b68980b4ec.zip
Use content ipd/bpd instead of allocation width/height.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197956 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/inline/FilledArea.java')
-rw-r--r--src/java/org/apache/fop/area/inline/FilledArea.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/area/inline/FilledArea.java b/src/java/org/apache/fop/area/inline/FilledArea.java
index ffca54bca..afbcbe73f 100644
--- a/src/java/org/apache/fop/area/inline/FilledArea.java
+++ b/src/java/org/apache/fop/area/inline/FilledArea.java
@@ -57,7 +57,7 @@ public class FilledArea extends InlineParent {
* @return the list of child areas copied to fill the width
*/
public List getChildAreas() {
- int units = (int)(getWidth() / unitWidth);
+ int units = (int)(getIPD() / unitWidth);
List newList = new ArrayList();
for (int count = 0; count < units; count++) {
newList.addAll(inlines);