summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rows.go b/rows.go
index b89d916..392cc5d 100644
--- a/rows.go
+++ b/rows.go
@@ -292,8 +292,8 @@ func (f *File) sharedStringsReader() *xlsxSST {
}
f.SharedStrings = &sharedStrings
for i := range sharedStrings.SI {
- if sharedStrings.SI[i].T != "" {
- f.sharedStringsMap[sharedStrings.SI[i].T] = i
+ if sharedStrings.SI[i].T != nil {
+ f.sharedStringsMap[sharedStrings.SI[i].T.Val] = i
}
}
f.addContentTypePart(0, "sharedStrings")