Nullpointer fix for slideshow extractor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829538 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2018-04-19 13:34:52 +00:00
parent 518d8caceb
commit a125fb97b5
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class SlideShowExtractor<
}
final TextShape<S, P> ts = (TextShape<S, P>) s;
final PlaceholderDetails pd = ts.getPlaceholderDetails();
if (pd == null || !pd.isVisible()) {
if (pd == null || !pd.isVisible() || pd.getPlaceholder() == null) {
continue;
}
switch (pd.getPlaceholder()) {