From 638bd44dd5940bfcc5921171dc00978f3a24f7e8 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Wed, 31 Jan 2018 11:12:43 +0800 Subject: - gofmted with -s; - Fix ineffectual assignments in Go code; - Godoc has been updated --- styles.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'styles.go') 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 } -- cgit v1.2.1