diff options
author | Aplulu <aplulu.liv@gmail.com> | 2019-04-09 23:18:31 +0900 |
---|---|---|
committer | Aplulu <aplulu.liv@gmail.com> | 2019-04-09 23:31:12 +0900 |
commit | 841ff4a03e2b30378f6bb2930752c8e9dcfe0dca (patch) | |
tree | 10eb908f7294dc18498b611f35a403d9d28b6e48 /cell.go | |
parent | 4e7d93a77796aa6814339d377a94d4b66226f1ce (diff) |
Fix out of range panic when removing formula.
Fix file corruption issue when deleting a sheet containing a formula.
Diffstat (limited to 'cell.go')
-rw-r--r-- | cell.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -235,7 +235,7 @@ func (f *File) SetCellFormula(sheet, axis, formula string) error { } if formula == "" { cellData.F = nil - f.deleteCalcChain(axis) + f.deleteCalcChain(f.GetSheetIndex(sheet), axis) return err } |