Thank you, Finn!

Regards,
Peter Herweg

-----Ursprungliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Auftrag von Finn Bock
Gesendet: Mittwoch, 31. August 2005 01:10
An: fop-dev@xmlgraphics.apache.org
Betreff: Re: svn commit: r264856 - in
/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf:
TextAttributesConverter.java rtflib/rtfdoc/RtfText.java


[EMAIL PROTECTED] wrote:

> +
> +   private static void attrBaseLineShift(EnumLength baselineShift,
RtfAttributes rtfAttr) {
> +
> +       String s = baselineShift.getString();


Use baselineShift.getEnum() to get the enum values that is assigned to a
length. Never ever use the getString() method, it is purely there for
debugging and for use by the testing frameworks.

I have also fixed this in SVN.

regards,
finn

Reply via email to