mirror of https://github.com/apache/poi.git
Bug 66425: Avoid exceptions found via poi-fuzz
Fix one expected exception-text which is different on newer Java versions Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63266 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef743728ab
commit
5cc8b9958c
|
@ -836,7 +836,7 @@ public class XSSFTextParagraph implements Iterable<XSSFTextRun>{
|
|||
public ListAutoNumber getBulletAutoNumberScheme() {
|
||||
ParagraphPropertyFetcher<ListAutoNumber> fetcher = new ParagraphPropertyFetcher<ListAutoNumber>(getLevel()){
|
||||
public boolean fetch(CTTextParagraphProperties props){
|
||||
if(props.isSetBuAutoNum()) {
|
||||
if(props.isSetBuAutoNum() && props.getBuAutoNum().getType() != null) {
|
||||
setValue(ListAutoNumber.values()[props.getBuAutoNum().getType().intValue() - 1]);
|
||||
return true;
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue