mirror of https://github.com/apache/poi.git
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:
parent
518d8caceb
commit
a125fb97b5
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue