summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sheet.go b/sheet.go
index b0e2971..26c0081 100644
--- a/sheet.go
+++ b/sheet.go
@@ -610,8 +610,8 @@ func (f *File) copySheet(from, to int) error {
if ok {
f.XLSX[toRels] = f.XLSX[fromRels]
}
- fromSheetXMLPath, _ := f.sheetMap[trimSheetName(fromSheet)]
- fromSheetAttr, _ := f.xmlAttr[fromSheetXMLPath]
+ fromSheetXMLPath := f.sheetMap[trimSheetName(fromSheet)]
+ fromSheetAttr := f.xmlAttr[fromSheetXMLPath]
f.xmlAttr[path] = fromSheetAttr
return err
}