mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
[bz-69905] check cell before recursing (#978)
This commit is contained in:
parent
08e9bb00d4
commit
3a69605f4c
@ -410,7 +410,9 @@ public final class XSSFCell extends CellBase {
|
||||
/* In an excel generated array formula, the formula property might be set, but the string is empty in related cells */
|
||||
if (f == null || f.getStringValue().isEmpty()) {
|
||||
XSSFCell cell = getSheet().getFirstCellInArrayFormula(this);
|
||||
return cell.getCellFormula(fpb);
|
||||
if (cell != this) {
|
||||
return cell.getCellFormula(fpb);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (f == null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user