You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/09/09 08:50:10 UTC

svn commit: r279719 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline: ContentLayoutManager.java LeaderLayoutManager.java

Author: jeremias
Date: Thu Sep  8 23:50:05 2005
New Revision: 279719

URL: http://svn.apache.org/viewcvs?rev=279719&view=rev
Log:
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.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java
    xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java?rev=279719&r1=279718&r2=279719&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/ContentLayoutManager.java Thu Sep  8 23:50:05 2005
@@ -182,28 +182,13 @@
     }
 
     /**
-     * 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;
     }

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java?rev=279719&r1=279718&r2=279719&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java Thu Sep  8 23:50:05 2005
@@ -139,7 +139,6 @@
             FilledArea fa = new FilledArea();
 
             clm = new ContentLayoutManager(fa, this);
-            clm.setUserAgent(fobj.getUserAgent());
             addChildLM(clm);
 
             InlineLayoutManager lm;



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org