* removed double chechking for height of cell

This commit is contained in:
yhampe 2023-11-16 08:51:12 +01:00
parent e203210ade
commit 1316a067fe

View File

@ -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;