Ugh, that's what I get for copying someone else's code without fully reviewing it. Return the boolean property, don't wrap it in an extra if().
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782989 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
05125678ab
commit
c88649ccd2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user