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:
parent
8b98f1c203
commit
66b67b1e1d
@ -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;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user