summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-02-15 00:09:35 +0800
committerxuri <xuri.me@gmail.com>2021-02-15 00:09:35 +0800
commit36b7990d6ba1036823abf7a01ec8cf74509d4910 (patch)
tree118e8a9e0db3d071defb497cd98b2fa85595f7b9 /sheet.go
parentca6b1577a7d1508e61e7084ee67ab0dd759b305e (diff)
lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX
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
}