poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye...@apache.org
Subject svn commit: r786380 - /poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Table.java
Date Fri, 19 Jun 2009 05:48:46 GMT
Author: yegor
Date: Fri Jun 19 05:48:45 2009
New Revision: 786380

URL: http://svn.apache.org/viewvc?rev=786380&view=rev
Log:
fixed ordering of columns when reading a HSLF Table

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Table.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Table.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Table.java?rev=786380&r1=786379&r2=786380&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Table.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Table.java Fri Jun 19 05:48:45
2009
@@ -155,7 +155,7 @@
                 Rectangle anchor1 = ((Shape)o1).getAnchor();
                 Rectangle anchor2 = ((Shape)o2).getAnchor();
                 int delta = anchor1.y - anchor2.y;
-                if(delta == 0) delta = anchor1.x - anchor2.y;
+                if(delta == 0) delta = anchor1.x - anchor2.x;
                 return delta;
             }
         });



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


Mime
View raw message