aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java
index d7cb07fa3..890f09aff 100644
--- a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java
@@ -704,9 +704,7 @@ public class PageSequenceLayoutManager extends AbstractLayoutManager {
}
private void createBodyMainReferenceArea() {
- MainReference mainRef = new MainReference();
- mainRef.addTrait(Trait.IS_REFERENCE_AREA, Boolean.TRUE);
- curBody.setMainReference(mainRef);
+ curBody.setMainReference(new MainReference());
}
private Flow createFlow() {