Skip to content

Commit

Permalink
Fix checking if cell style is set
Browse files Browse the repository at this point in the history
This PR fixes checking if cell style is set
  • Loading branch information
Bykiev committed Oct 5, 2024
1 parent ae979de commit cf8ca8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenXmlFormats/Spreadsheet/Sheet/CT_Cell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public bool IsSetT()
}
public bool IsSetS()
{
return sField != 0;
return sField != null && sField != 0;
}
public bool IsSetF()
{
Expand Down

0 comments on commit cf8ca8c

Please sign in to comment.