diff --git a/OpenXmlFormats/Spreadsheet/Styles/CT_Font.cs b/OpenXmlFormats/Spreadsheet/Styles/CT_Font.cs index 96c21692b..f8006b2af 100644 --- a/OpenXmlFormats/Spreadsheet/Styles/CT_Font.cs +++ b/OpenXmlFormats/Spreadsheet/Styles/CT_Font.cs @@ -415,8 +415,6 @@ public CT_BooleanProperty shadow } public int sizeOfShadowArray() { - if (this.shadowField == null) - return 0; return this.shadowField == null ? 0 : 1; } public CT_BooleanProperty AddNewShadow() @@ -440,8 +438,6 @@ public CT_BooleanProperty condense } public int sizeOfCondenseArray() { - if (this.condenseField == null) - return 0; return this.condenseField == null ? 0 : 1; } public CT_BooleanProperty AddNewCondense()