maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r628533 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSink.java
Date Sun, 17 Feb 2008 19:23:07 GMT
Author: ltheussl
Date: Sun Feb 17 11:23:05 2008
New Revision: 628533

URL: http://svn.apache.org/viewvc?rev=628533&view=rev
Log:
Apply fix from DOXIA-221 also to fo sink

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSink.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSink.java?rev=628533&r1=628532&r2=628533&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSink.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoSink.java
Sun Feb 17 11:23:05 2008
@@ -694,7 +694,7 @@
 
          if ( cellJustif != null && isCellJustif )
          {
-             switch ( cellJustif[cellCount] )
+             switch ( cellJustif[Math.min( cellCount, cellJustif.length - 1 )] )
              {
                  case Parser.JUSTIFY_LEFT:
                      justif = "left";



Mime
View raw message