diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-06-12 18:05:09 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-06-12 18:05:09 +0800 |
commit | efff54ccde5b7f0a62bccbeab557e23e5e89970b (patch) | |
tree | 4d75da3bb9c43da1186d076feaa725b0bd70ae38 /table.go | |
parent | c89d84235238f1e2a37b03551ca6ef652c2f3769 (diff) |
- Fixed coordinate parse error in function `SetCellStyle()`, relate issue #60;
- Simplified code
Diffstat (limited to 'table.go')
-rw-r--r-- | table.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -236,12 +236,10 @@ func (f *File) AutoFilter(sheet, hcell, vcell, format string) error { vxAxis := titleToNumber(vcol) if vxAxis < hxAxis { - hcell, vcell = vcell, hcell vxAxis, hxAxis = hxAxis, vxAxis } if vyAxis < hyAxis { - hcell, vcell = vcell, hcell vyAxis, hyAxis = hyAxis, vyAxis } ref := toAlphaString(hxAxis+1) + strconv.Itoa(hyAxis+1) + ":" + toAlphaString(vxAxis+1) + strconv.Itoa(vyAxis+1) |