From af5c4d00e81b62a3f6ff6cb34a89502400552a2d Mon Sep 17 00:00:00 2001 From: "Jonham.Chen" Date: Sat, 8 Jan 2022 10:32:13 +0800 Subject: feat: implement SHA-512 algorithm to ProtectSheet (#1115) --- chart.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chart.go') diff --git a/chart.go b/chart.go index 755c160..b43f9f2 100644 --- a/chart.go +++ b/chart.go @@ -980,12 +980,12 @@ func (f *File) getFormatChart(format string, combo []string) (*formatChart, []*f return formatSet, comboCharts, err } if _, ok := chartValAxNumFmtFormatCode[comboChart.Type]; !ok { - return formatSet, comboCharts, newUnsupportChartType(comboChart.Type) + return formatSet, comboCharts, newUnsupportedChartType(comboChart.Type) } comboCharts = append(comboCharts, comboChart) } if _, ok := chartValAxNumFmtFormatCode[formatSet.Type]; !ok { - return formatSet, comboCharts, newUnsupportChartType(formatSet.Type) + return formatSet, comboCharts, newUnsupportedChartType(formatSet.Type) } return formatSet, comboCharts, err } -- cgit v1.2.1