summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-03-10 23:10:15 +0800
committerRi Xu <xuri.me@gmail.com>2017-03-10 23:10:15 +0800
commit5384756d6483ba4bda294d47461c8df8b25c7a9c (patch)
tree153ffc8344e70e81d55be3268d2929179a8afd05 /rows.go
parent1f73f08185e664d6914c8eb849a9797b26067628 (diff)
- Complete the element `sheetFormatPr` struct definition;
- Partial logic performance optimization, use pointer reference instead of a pass the variable value; - Add comments for content types struct definition; - Update go test `TestSetBorder` section
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rows.go b/rows.go
index 75ee7a2..ad33a36 100644
--- a/rows.go
+++ b/rows.go
@@ -112,7 +112,7 @@ func (f *File) SetRowHeight(sheet string, rowIndex int, height float64) {
rows := rowIndex + 1
cells := 0
- xlsx = completeRow(xlsx, rows, cells)
+ completeRow(&xlsx, rows, cells)
xlsx.SheetData.Row[rowIndex].Ht = strconv.FormatFloat(height, 'f', -1, 64)
xlsx.SheetData.Row[rowIndex].CustomHeight = true