Apache FOP Code fix (bug 38397)

Code fix
by
JM
(fixes bug 38397)

:

Bugfix: Spanned cells could lead to an false error message about overlapping
cells and ultimately a NullPointerException.