summaryrefslogtreecommitdiff
path: root/col.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-07-29 00:03:57 +0800
committerxuri <xuri.me@gmail.com>2021-07-29 00:03:57 +0800
commit7dbf88f221f278075d4ff9e153b21236d0826c33 (patch)
tree508e171a8702bb52f017239d1f210cad076c19c4 /col.go
parente9ae9b45b20a5df7e3aa15afcfac83ecb13394c6 (diff)
This closes #971, closes #972 and closes #974
- Escape XML character in the drop list - Fix incorrect character count limit in the drop list - Fix Excel time parse issue in some case - Fix custom number format month parse issue in some case - Fix corrupted file generated caused by concurrency adding pictures
Diffstat (limited to 'col.go')
-rw-r--r--col.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/col.go b/col.go
index 5171f34..088fac9 100644
--- a/col.go
+++ b/col.go
@@ -439,10 +439,10 @@ func (f *File) SetColStyle(sheet, columns string, styleID int) error {
for col := start; col <= end; col++ {
from, _ := CoordinatesToCellName(col, 1)
to, _ := CoordinatesToCellName(col, rows)
- f.SetCellStyle(sheet, from, to, styleID)
+ err = f.SetCellStyle(sheet, from, to, styleID)
}
}
- return nil
+ return err
}
// SetColWidth provides a function to set the width of a single column or