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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to