From 8a335225c705232fe1174755a1b1ea475456b864 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 24 Mar 2022 00:19:30 +0800 Subject: Format code, update documentation and remove exported variable `XMLHeaderByte` --- sheetview.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sheetview.go') 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) { -- cgit v1.2.1