Skip to content

Commit

Permalink
Merge pull request #1429 from Bykiev/FixCheckingStyleIsSet
Browse files Browse the repository at this point in the history
Fix checking if cell style is set
  • Loading branch information
tonyqus authored Oct 5, 2024
2 parents ae979de + cf8ca8c commit ecc6dfa
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 ecc6dfa

Please sign in to comment.