mirror of https://github.com/apache/poi.git
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
4ff8460a2e
commit
84a6e0a03d
|
@ -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