summaryrefslogtreecommitdiff
path: root/lib.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib.go')
-rw-r--r--lib.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.go b/lib.go
index 0ebe468..b6ea321 100644
--- a/lib.go
+++ b/lib.go
@@ -421,7 +421,7 @@ func (f *File) setIgnorableNameSpace(path string, index int, ns xml.Attr) {
// addSheetNameSpace add XML attribute for worksheet.
func (f *File) addSheetNameSpace(sheet string, ns xml.Attr) {
- name, _ := f.sheetMap[trimSheetName(sheet)]
+ name := f.sheetMap[trimSheetName(sheet)]
f.addNameSpaces(name, ns)
}