summaryrefslogtreecommitdiff
path: root/sheetview.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-03-24 00:19:30 +0800
committerxuri <xuri.me@gmail.com>2022-03-24 00:19:30 +0800
commit8a335225c705232fe1174755a1b1ea475456b864 (patch)
tree7bae0af1f1ce3459ad429d4fbca60a5e9b35a0e1 /sheetview.go
parent139ee4c4b0c86dffbdca77da346e85a4cbd97b0c (diff)
Format code, update documentation and remove exported variable `XMLHeaderByte`
Diffstat (limited to 'sheetview.go')
-rw-r--r--sheetview.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sheetview.go b/sheetview.go
index 8650b32..bf8f023 100644
--- a/sheetview.go
+++ b/sheetview.go
@@ -135,7 +135,7 @@ func (o *View) getSheetViewOption(view *xlsxSheetView) {
*o = View(view.View)
return
}
- *o = View("normal")
+ *o = "normal"
}
func (o TopLeftCell) setSheetViewOption(view *xlsxSheetView) {
@@ -143,7 +143,7 @@ func (o TopLeftCell) setSheetViewOption(view *xlsxSheetView) {
}
func (o *TopLeftCell) getSheetViewOption(view *xlsxSheetView) {
- *o = TopLeftCell(string(view.TopLeftCell))
+ *o = TopLeftCell(view.TopLeftCell)
}
func (o ZoomScale) setSheetViewOption(view *xlsxSheetView) {