mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
[github-318] handle null raw text. Thanks to wanglunhui2012. This closes #318
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899508 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69dff49c95
commit
8406fbc3c0
@ -403,7 +403,7 @@ public class DrawTextParagraph implements Drawable {
|
||||
if (ft == null) {
|
||||
return getRenderableText(tr);
|
||||
}
|
||||
if (!tr.getRawText().isEmpty()) {
|
||||
if (tr.getRawText() != null && !tr.getRawText().isEmpty()) {
|
||||
switch (ft) {
|
||||
case SLIDE_NUMBER: {
|
||||
Slide<?, ?> slide = (Slide<?, ?>) graphics.getRenderingHint(Drawable.CURRENT_SLIDE);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user