Did suggested fix to handle possible null return of text.v listed in issue #1717

This commit is contained in:
Geoffry Gambling 2020-02-02 00:45:17 -08:00
parent a81bb78f18
commit fa144cb4fc

@ -78,7 +78,7 @@ var write_content_ods/*:{(wb:any, opts:any):string}*/ = (function() {
ct['office:value'] = (cell.v||0);
break;
case 's': case 'str':
textp = cell.v;
textp = cell.v == null ? "" : cell.v;
ct['office:value-type'] = "string";
break;
case 'd':