]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
fixes npe
authorKeiron Liddle <keiron@apache.org>
Thu, 3 Aug 2000 06:36:52 +0000 (06:36 +0000)
committerKeiron Liddle <keiron@apache.org>
Thu, 3 Aug 2000 06:36:52 +0000 (06:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193601 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/layout/ForeignObjectArea.java

index 2cefad0418ed09e4bc5af5a2259ff130ea387e68..da61c76dac1badfe90a98fd9b1dffe6dad214b62 100644 (file)
@@ -71,7 +71,8 @@ public class ForeignObjectArea extends Area {
     }
 
     public void render(Renderer renderer) {
-       renderer.renderForeignObjectArea(this);
+       if(foreignObject != null)
+               renderer.renderForeignObjectArea(this);
     }
 
     public void setObject(Area fobject) {