aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/ExternalGraphic.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-06-15 06:26:56 +0000
committerGlen Mazza <gmazza@apache.org>2004-06-15 06:26:56 +0000
commit39d2edd0962d329ca15a1a99f895ce11262e004f (patch)
treee9f977dd16ed1f05f9310ad8dbc9573f32818a0a /src/java/org/apache/fop/fo/flow/ExternalGraphic.java
parentc9f1a6f52eb0d88bb0dfefdd2f7119fb7afb2626 (diff)
downloadxmlgraphics-fop-39d2edd0962d329ca15a1a99f895ce11262e004f.tar.gz
xmlgraphics-fop-39d2edd0962d329ca15a1a99f895ce11262e004f.zip
1.) Added restriction to fo:declarations that fo:color-profile is the only XSL namespace child element allowed.
2.) Switched from fo.FOTreeControl to apps.Document throughout app, to better clarify that it is the apps.Document object being accessed/used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/ExternalGraphic.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/ExternalGraphic.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/flow/ExternalGraphic.java b/src/java/org/apache/fop/fo/flow/ExternalGraphic.java
index adcac83ca..4b7ff9035 100644
--- a/src/java/org/apache/fop/fo/flow/ExternalGraphic.java
+++ b/src/java/org/apache/fop/fo/flow/ExternalGraphic.java
@@ -63,7 +63,7 @@ public class ExternalGraphic extends FObj {
*/
protected void addProperties(Attributes attlist) throws FOPException {
super.addProperties(attlist);
- getFOTreeControl().getFOInputHandler().image(this);
+ getDocument().getFOInputHandler().image(this);
}
/**