diff options
| author | xuri <xuri.me@gmail.com> | 2019-04-13 10:45:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-13 10:45:01 +0800 |
| commit | 031ae303fd37b43f687c57edbf58cad7f354f8c7 (patch) | |
| tree | 3248af22f51e20a46cd99f484c7f06e318b2dca2 /sheet.go | |
| parent | 8fff533b40111085f936075d7da12490be4a46a2 (diff) | |
| parent | 841ff4a03e2b30378f6bb2930752c8e9dcfe0dca (diff) | |
Merge pull request #381 from aplulu/fix_calcchain
Fix two bugs related to Formula
Diffstat (limited to 'sheet.go')
| -rw-r--r-- | sheet.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -403,6 +403,7 @@ func (f *File) DeleteSheet(name string) { rels := "xl/worksheets/_rels/sheet" + strconv.Itoa(v.SheetID) + ".xml.rels" target := f.deleteSheetFromWorkbookRels(v.ID) f.deleteSheetFromContentTypes(target) + f.deleteCalcChain(v.SheetID, "") // Delete CalcChain delete(f.sheetMap, name) delete(f.XLSX, sheet) delete(f.XLSX, rels) |
