diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java index a09ae77b7..8b3570ac9 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java @@ -79,7 +79,7 @@ public class XSSFFontFormatting implements FontFormatting { */ @Override public boolean isStruckout() { - for (CTBooleanProperty bProp : _font.getStrikeArray()) if (bProp.getVal()) return true; + for (CTBooleanProperty bProp : _font.getStrikeArray()) return bProp.getVal(); return false; }