mirror of https://github.com/apache/poi.git
return null instead of throwing exception when slide master is not found
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
26528d13ca
commit
708ab88e4d
|
@ -236,7 +236,7 @@ public class Slide extends Sheet
|
|||
for (int i = 0; i < master.length; i++) {
|
||||
if (masterId == master[i]._getSheetNumber()) return master[i];
|
||||
}
|
||||
throw new RuntimeException("Master slide not found for slide " + _slideNo);
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue