From d1926675f81fcf9afb658e1e51cd4e43d0d05bc9 Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 11 Oct 2020 00:15:04 +0800 Subject: - Resolve #627, improve multi-series line chart compatibility with KingSoft WPS - Avoid to create duplicate style - Update unit test for the auto filter - Init code scanning alerts --- styles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'styles.go') diff --git a/styles.go b/styles.go index d4d0468..896eaa1 100644 --- a/styles.go +++ b/styles.go @@ -2063,7 +2063,7 @@ var getXfIDFuncs = map[string]func(int, xlsxXf, *Style) bool{ if style.Alignment == nil { return xf.ApplyAlignment == nil || *xf.ApplyAlignment == false } - return reflect.DeepEqual(xf.Alignment, newAlignment(style)) && xf.ApplyBorder != nil && *xf.ApplyBorder == true + return reflect.DeepEqual(xf.Alignment, newAlignment(style)) }, "protection": func(ID int, xf xlsxXf, style *Style) bool { if style.Protection == nil { -- cgit v1.2.1