Skip to content

Commit

Permalink
fix the NullPointerException issue. for issue detail please check #637
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoshu-zhao authored and angelozerr committed Mar 2, 2024
1 parent 03738cd commit 71076e8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ public boolean isRoot()

public String getText()
{
if (lvl == null || lvl.getLvlText() == null) {
return "";
}

String text = lvl.getLvlText().getVal();

CTNumFmt numFmt = lvl.getNumFmt();
Expand Down

0 comments on commit 71076e8

Please sign in to comment.