aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-09-09 06:50:05 +0000
committerJeremias Maerki <jeremias@apache.org>2005-09-09 06:50:05 +0000
commit9c3364331a811262a7293fbde1defb6496d5d7fb (patch)
treea9357013a14e0a08c4a7be77abf4af967e0b8956 /src/java/org
parent0e16dba76bfb5984a99a0a6db4b0650bdfea0b29 (diff)
downloadxmlgraphics-fop-9c3364331a811262a7293fbde1defb6496d5d7fb.tar.gz
xmlgraphics-fop-9c3364331a811262a7293fbde1defb6496d5d7fb.zip
Fix compile error. Removed the user agent setting because it's not used and the FOUserAgent can be accessed through the parent LM's FObj if this ever becomes necessary again.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279719 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java17
-rw-r--r--src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java1
2 files changed, 1 insertions, 17 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java
index df0746475..a24e1babe 100644
--- a/src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java
@@ -182,28 +182,13 @@ public class ContentLayoutManager extends AbstractBaseLayoutManager
}
/**
- * Set the user agent.
- *
- * @param ua the user agent
- */
-// public void setUserAgent(FOUserAgent ua) {
-// userAgent = ua;
-// }
-
- /**
- * @see org.apache.fop.layoutmgr.LayoutManager#getUserAgent()
- */
-// public FOUserAgent getUserAgent() {
-// return userAgent;
-// }
-
- /**
* @see org.apache.fop.layoutmgr.LayoutManager#setParent(LayoutManager)
*/
public void setParent(LayoutManager lm) {
parentLM = lm;
}
+ /** @see org.apache.fop.layoutmgr.LayoutManager#getParent() */
public LayoutManager getParent() {
return this.parentLM;
}
diff --git a/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java
index 04ba2c52e..c09b682ef 100644
--- a/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java
@@ -139,7 +139,6 @@ public class LeaderLayoutManager extends LeafNodeLayoutManager {
FilledArea fa = new FilledArea();
clm = new ContentLayoutManager(fa, this);
- clm.setUserAgent(fobj.getUserAgent());
addChildLM(clm);
InlineLayoutManager lm;