aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/MainReference.java
diff options
context:
space:
mode:
authorLuis Bernardo <lbernardo@apache.org>2012-11-04 00:44:51 +0000
committerLuis Bernardo <lbernardo@apache.org>2012-11-04 00:44:51 +0000
commit222345ffdebef990496fdbe400a70620ea445aa8 (patch)
tree67426be60e8f35fac38f5b6222afeb01ed241991 /src/java/org/apache/fop/area/MainReference.java
parent0761673d0bf9bb3be9e5f6f68f82ed08bc59b197 (diff)
downloadxmlgraphics-fop-222345ffdebef990496fdbe400a70620ea445aa8.tar.gz
xmlgraphics-fop-222345ffdebef990496fdbe400a70620ea445aa8.zip
bugzilla #53942: fo:flow not rendered with -awt; patch 29465 submitted by Robert Meyer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1405444 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/MainReference.java')
-rw-r--r--src/java/org/apache/fop/area/MainReference.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/area/MainReference.java b/src/java/org/apache/fop/area/MainReference.java
index 13c92df9c..58c0b2eaf 100644
--- a/src/java/org/apache/fop/area/MainReference.java
+++ b/src/java/org/apache/fop/area/MainReference.java
@@ -74,7 +74,7 @@ public class MainReference extends Area {
*
* @return the list of span areas
*/
- public List getSpans() {
+ public List<Span> getSpans() {
return spanAreas;
}
@@ -131,7 +131,7 @@ public class MainReference extends Area {
* @param wmtg a WM traits getter
*/
public void setWritingModeTraits(WritingModeTraitsGetter wmtg) {
- for ( Span s : (List<Span>) getSpans() ) {
+ for ( Span s : getSpans() ) {
s.setWritingModeTraits ( wmtg );
}
}