super.remove(); //detach precedents
//bug #1855750: FormulaListener not work if change the referenced formula cell
//must check an empty to be really removed from the matrix
if (force || isEmpty()) {
final CellIndex lt = getLtIndex();
final CellIndex rb = getRbIndex();
if (lt != null) {
lt.removeLtRef(this);
}
if (rb != null) {
rb.removeRbRef(this);
}
}
}