internal void OnDeleteFormula(XSSFCell cell) { if (calcChain != null) { int sheetId = (int)((XSSFSheet)cell.Sheet).sheet.sheetId; calcChain.RemoveItem(sheetId, cell.GetReference()); } }