summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2018-01-31 11:12:43 +0800
committerRi Xu <xuri.me@gmail.com>2018-01-31 11:12:43 +0800
commit638bd44dd5940bfcc5921171dc00978f3a24f7e8 (patch)
tree4838126c72525b50a946677ab1bb9d82378721ad /styles.go
parent12760a7ee6d0256c44da0a16a0da1c8730517ee3 (diff)
- gofmted with -s;
- Fix ineffectual assignments in Go code; - Godoc has been updated
Diffstat (limited to 'styles.go')
-rw-r--r--styles.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/styles.go b/styles.go
index 7321c18..98fc280 100644
--- a/styles.go
+++ b/styles.go
@@ -2309,12 +2309,10 @@ func (f *File) SetCellStyle(sheet, hcell, vcell string, styleID int) {
// Correct the coordinate area, such correct C1:B3 to B1:C3.
if vxAxis < hxAxis {
- hcell, vcell = vcell, hcell
vxAxis, hxAxis = hxAxis, vxAxis
}
if vyAxis < hyAxis {
- hcell, vcell = vcell, hcell
vyAxis, hyAxis = hyAxis, vyAxis
}