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:
Yegor Kozlov 2007-05-24 11:04:22 +00:00
parent 26528d13ca
commit 708ab88e4d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
/**