aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/inline/ExternalGraphicLayoutManager.java
diff options
context:
space:
mode:
authorMaximilian Berger <maxberger@apache.org>2008-06-14 22:20:42 +0000
committerMaximilian Berger <maxberger@apache.org>2008-06-14 22:20:42 +0000
commit2ad567b2f6e4f9f5db847c11742ddf8ca331db83 (patch)
tree196ee70827e48609930bb69c506d10705b3becbd /src/java/org/apache/fop/layoutmgr/inline/ExternalGraphicLayoutManager.java
parentcaab9b0408a6ad1734f1996673fad20caf53423f (diff)
downloadxmlgraphics-fop-2ad567b2f6e4f9f5db847c11742ddf8ca331db83.tar.gz
xmlgraphics-fop-2ad567b2f6e4f9f5db847c11742ddf8ca331db83.zip
removed double storage of 'fobj'
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@667893 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/inline/ExternalGraphicLayoutManager.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/inline/ExternalGraphicLayoutManager.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/inline/ExternalGraphicLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/ExternalGraphicLayoutManager.java
index ab05d60c3..d7bff5a5c 100644
--- a/src/java/org/apache/fop/layoutmgr/inline/ExternalGraphicLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/inline/ExternalGraphicLayoutManager.java
@@ -29,20 +29,20 @@ import org.apache.fop.fo.flow.ExternalGraphic;
*/
public class ExternalGraphicLayoutManager extends AbstractGraphicsLayoutManager {
- private ExternalGraphic fobj;
-
/**
- * Constructor
- * @param node the fo:external-graphic formatting object that creates the area
+ * Constructor.
+ *
+ * @param node
+ * the fo:external-graphic formatting object that creates the
+ * area
*/
public ExternalGraphicLayoutManager(ExternalGraphic node) {
super(node);
- fobj = node;
}
/** {@inheritDoc} */
protected Area getChildArea() {
- return new Image(fobj.getSrc());
+ return new Image(((ExternalGraphic) fobj).getSrc());
}
}