From 0167a32f7fe195a9bcaa5ea9227dd96e3de7d4eb Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Mon, 15 Aug 2016 16:05:32 +0000 Subject: [PATCH] bug 60005: fix NPE in XSLFTextParagraph.getDefaultFontSize() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1756397 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/xslf/usermodel/XSLFTextParagraph.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java b/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java index edd17dec55..c5a2ce069d 100644 --- a/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java +++ b/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java @@ -752,6 +752,10 @@ public class XSLFTextParagraph implements TextParagraphnull if + * there are no master slides or the master slides do not contain a text paragraph + */ /* package */ CTTextParagraphProperties getDefaultMasterStyle(){ CTPlaceholder ph = _shape.getCTPlaceholder(); String defaultStyleSelector; @@ -932,7 +936,11 @@ public class XSLFTextParagraph implements TextParagraph