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 2010/10/21 21:32:06 UTC

svn commit: r1026114 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java

Author: jeremias
Date: Thu Oct 21 19:32:06 2010
New Revision: 1026114

URL: http://svn.apache.org/viewvc?rev=1026114&view=rev
Log:
Bugzilla #42600:
Wrong constant used.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java?rev=1026114&r1=1026113&r2=1026114&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java Thu Oct 21 19:32:06 2010
@@ -88,7 +88,7 @@ final class TextAttributesConverter {
 
     private static void attrBreak(Block fobj, FOPRtfAttributes attrib) {
         int breakValue = fobj.getBreakBefore();
-        if (breakValue != Constants.EN_NONE) {
+        if (breakValue != Constants.EN_AUTO) {
             //"sect" Creates a new section and a page break,
             //a simple page break with control word "page" caused
             //some problems



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