bckfnn      2004/09/22 12:16:42

  Modified:    src/java/org/apache/fop/fo/properties
                        BorderWidthPropertyMaker.java
  Log:
  Force a 0mpt border-width when the border-style is 'none'.
  
  Revision  Changes    Path
  1.6       +2 -3      
xml-fop/src/java/org/apache/fop/fo/properties/BorderWidthPropertyMaker.java
  
  Index: BorderWidthPropertyMaker.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/fo/properties/BorderWidthPropertyMaker.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BorderWidthPropertyMaker.java     27 Feb 2004 17:45:44 -0000      1.5
  +++ BorderWidthPropertyMaker.java     22 Sep 2004 19:16:42 -0000      1.6
  @@ -62,8 +62,7 @@
           // Calculate the values as described in 7.7.20.
           Property style = propertyList.get(borderStyleId);
           if (style.getEnum() == Constants.NONE) {
  -            // TODO: bckfnn reenable
  -            return p; // new LengthProperty(new FixedLength(0));
  +            return new FixedLength(0);
           }
           return p;
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to