From e1abdb0e5a0ecae47dd0116c9165f4ad6e492856 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 25 Mar 2021 00:05:02 +0800 Subject: This closes #809, and add new fn: HARMEAN --- styles.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'styles.go') diff --git a/styles.go b/styles.go index 06215f3..9e37239 100644 --- a/styles.go +++ b/styles.go @@ -2472,8 +2472,8 @@ func newAlignment(style *Style) *xlsxAlignment { func newProtection(style *Style) *xlsxProtection { var protection xlsxProtection if style.Protection != nil { - protection.Hidden = style.Protection.Hidden - protection.Locked = style.Protection.Locked + protection.Hidden = &style.Protection.Hidden + protection.Locked = &style.Protection.Locked } return &protection } -- cgit v1.2.1