]> source.dussan.org Git - poi.git/commitdiff
Ugh, that's what I get for copying someone else's code without fully reviewing it...
authorGreg Woolsey <gwoolsey@apache.org>
Tue, 14 Feb 2017 16:49:24 +0000 (16:49 +0000)
committerGreg Woolsey <gwoolsey@apache.org>
Tue, 14 Feb 2017 16:49:24 +0000 (16:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782989 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java

index a09ae77b7b555d0e0b54187b8c556482ed9c8010..8b3570ac9f24534af5ede55454dca490a7dedcad 100644 (file)
@@ -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; 
     }