summaryrefslogtreecommitdiff
path: root/sheetview.go
diff options
context:
space:
mode:
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) {