diff options
author | Keiron Liddle <keiron@apache.org> | 2002-02-26 12:43:10 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-02-26 12:43:10 +0000 |
commit | 06f1a67571fc02ac28eb8fe97bce1aa21362bf6b (patch) | |
tree | 65618a4be92cd2e8e3cc3e5db5c11dd2ba7ef187 /src/org/apache/fop/fo/flow/ExternalGraphic.java | |
parent | 6149a1b0be49d64f31d27c26c11f542fc642d246 (diff) | |
download | xmlgraphics-fop-06f1a67571fc02ac28eb8fe97bce1aa21362bf6b.tar.gz xmlgraphics-fop-06f1a67571fc02ac28eb8fe97bce1aa21362bf6b.zip |
remove SVGArea and ImageArea, no longer needed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194674 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/ExternalGraphic.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/ExternalGraphic.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/flow/ExternalGraphic.java b/src/org/apache/fop/fo/flow/ExternalGraphic.java index 386e475cd..f3b6e59b0 100644 --- a/src/org/apache/fop/fo/flow/ExternalGraphic.java +++ b/src/org/apache/fop/fo/flow/ExternalGraphic.java @@ -37,8 +37,6 @@ public class ExternalGraphic extends FObj { int width; String id; - ImageArea imageArea; - public ExternalGraphic(FONode parent) { super(parent); } @@ -50,6 +48,9 @@ public class ExternalGraphic extends FObj { } protected InlineArea getInlineArea() { + if(url == null) { + return null; + } url = ImageFactory.getURL(url); // if we need to load this image to get its size // FopImage fopimage = ImageFactory.getImage(url, userAgent); |