aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-01-29 19:44:23 +0000
committerFinn Bock <bckfnn@apache.org>2004-01-29 19:44:23 +0000
commitdabb2c3f3886d15176eef1c701bd7e616b474c5e (patch)
treeeb33285cecab72a202cf39e32968037b38df588c /src
parent6c6419951e289d733de1a6a7337c844856444550 (diff)
downloadxmlgraphics-fop-dabb2c3f3886d15176eef1c701bd7e616b474c5e.tar.gz
xmlgraphics-fop-dabb2c3f3886d15176eef1c701bd7e616b474c5e.zip
Hardcoded start-indent to 24pt no longer needed because SPACE_START trait
it set by the start-indent property. PR: 25802. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197295 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java b/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
index 26c04aa41..83fb49ed7 100644
--- a/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
@@ -170,7 +170,7 @@ public class ListItemLayoutManager extends BlockStackingLayoutManager {
if (stage == 0) {
childLC.setRefIPD(24000);
} else if (stage == 1) {
- childLC.setRefIPD(context.getRefIPD() - 24000);
+ childLC.setRefIPD(context.getRefIPD());
}
stage++;
while (!curLM.isFinished()) {
@@ -259,9 +259,6 @@ public class ListItemLayoutManager extends BlockStackingLayoutManager {
breakPosIter = new BreakPossPosIter(cellsbr, 0, cellsbr.size());
while ((childLM = (Item)breakPosIter.getNextChildLM()) != null) {
- if (childLM == body) {
- childLM.setXOffset(24000);
- }
childLM.addAreas(breakPosIter, lc);
}
}