summaryrefslogtreecommitdiff
path: root/chart.go
diff options
context:
space:
mode:
authorJonham.Chen <me@jonham.cn>2022-01-08 10:32:13 +0800
committerGitHub <noreply@github.com>2022-01-08 10:32:13 +0800
commitaf5c4d00e81b62a3f6ff6cb34a89502400552a2d (patch)
tree024080e9f44a0e3a9e41af81c8c3b2877fc69832 /chart.go
parent9e64df6a96685afcfbc7295beda38739868a6871 (diff)
feat: implement SHA-512 algorithm to ProtectSheet (#1115)
Diffstat (limited to 'chart.go')
-rw-r--r--chart.go4
1 files changed, 2 insertions, 2 deletions
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
}