* removed double chechking for height of cell
This commit is contained in:
parent
e203210ade
commit
1316a067fe
@ -278,7 +278,7 @@ public class TablePageBlock extends AbstractPageBlock {
|
|||||||
|
|
||||||
|
|
||||||
public boolean intersects(Cell cell1, Cell cell2) {
|
public boolean intersects(Cell cell1, Cell cell2) {
|
||||||
if (cell1.getHeight() <= 0 || cell1.getHeight() <= 0 || cell2.getHeight() <= 0 || cell2.getHeight() <= 0) {
|
if (cell1.getHeight() <= 0 || cell2.getHeight() <= 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
double x0 = cell1.getX() + 2;
|
double x0 = cell1.getX() + 2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user