From 779c0e527a6465f31ef30ac4b2e8875d649fe9a3 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 edd17dec5..c5a2ce069 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