diff options
author | Maximilian Berger <maxberger@apache.org> | 2008-06-14 22:20:42 +0000 |
---|---|---|
committer | Maximilian Berger <maxberger@apache.org> | 2008-06-14 22:20:42 +0000 |
commit | 2ad567b2f6e4f9f5db847c11742ddf8ca331db83 (patch) | |
tree | 196ee70827e48609930bb69c506d10705b3becbd /src/java/org/apache/fop/layoutmgr/inline/ExternalGraphicLayoutManager.java | |
parent | caab9b0408a6ad1734f1996673fad20caf53423f (diff) | |
download | xmlgraphics-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.java | 12 |
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()); } } |