summaryrefslogtreecommitdiff
path: root/cell.go
diff options
context:
space:
mode:
Diffstat (limited to 'cell.go')
-rw-r--r--cell.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cell.go b/cell.go
index a69f4d9..63db194 100644
--- a/cell.go
+++ b/cell.go
@@ -730,9 +730,9 @@ func (f *File) formattedValue(s int, v string) string {
return v
}
styleSheet := f.stylesReader()
- ok := builtInNumFmtFunc[styleSheet.CellXfs.Xf[s].NumFmtID]
+ ok := builtInNumFmtFunc[*styleSheet.CellXfs.Xf[s].NumFmtID]
if ok != nil {
- return ok(styleSheet.CellXfs.Xf[s].NumFmtID, v)
+ return ok(*styleSheet.CellXfs.Xf[s].NumFmtID, v)
}
return v
}