aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorPeter Hancock <phancock@apache.org>2011-10-19 10:21:17 +0000
committerPeter Hancock <phancock@apache.org>2011-10-19 10:21:17 +0000
commit9860d5a1338df6ad70e269d2423e7059c9194102 (patch)
tree569a87691daa0a460954e7dea5425c1fe5d9bc7a /src/java
parent87f892d9d8b3e6459e19538156a70632a1bb4e6f (diff)
downloadxmlgraphics-fop-9860d5a1338df6ad70e269d2423e7059c9194102.tar.gz
xmlgraphics-fop-9860d5a1338df6ad70e269d2423e7059c9194102.zip
Bugzilla#512010: Simplification of the build.
Reduced code duplication and layout engine tests. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1186070 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/PageBreaker.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/PageBreaker.java b/src/java/org/apache/fop/layoutmgr/PageBreaker.java
index ea2d09268..90e1b3e51 100644
--- a/src/java/org/apache/fop/layoutmgr/PageBreaker.java
+++ b/src/java/org/apache/fop/layoutmgr/PageBreaker.java
@@ -277,9 +277,8 @@ public class PageBreaker extends AbstractBreaker {
separatorArea.setIPD(
pslm.getCurrentPV().getRegionReference(Constants.FO_REGION_BODY).getIPD());
// create a StaticContentLM for the footnote separator
- footnoteSeparatorLM = (StaticContentLayoutManager)
- pslm.getLayoutManagerMaker().makeStaticContentLayoutManager(
- pslm, footnoteSeparator, separatorArea);
+ footnoteSeparatorLM = pslm.getLayoutManagerMaker().makeStaticContentLayoutManager(
+ pslm, footnoteSeparator, separatorArea);
footnoteSeparatorLM.doLayout();
}