fixed ordering of columns when reading a HSLF Table

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@786380 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yegor Kozlov 2009-06-19 05:48:45 +00:00
parent 8b98f1c203
commit 66b67b1e1d
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ public final class Table extends ShapeGroup {
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;
}
});