commit | cb2794edbda69257b9660132d27931220049a355 | [log] [tgz] |
---|---|---|
author | Mihai Chira <mihaic@apache.org> | Sat Jun 18 16:37:17 2016 +0200 |
committer | Mihai Chira <mihaic@apache.org> | Sat Jun 18 16:37:17 2016 +0200 |
tree | 70988120c580201a1a51251c8a7ec66a5d88afb6 | |
parent | 9526d4561fe8c83733adc74622ef9bfca36443d3 [diff] |
FLEX-35100 CAUSE: TextBlock.createTextLine() orTextBlock.recreateTextLine() return null when there's no more text to create lines for (as indicated by the previousLine parameter) or the TextBlock's content's text is null or "". (It's also possible when the width parameter is insufficient, but in this case the fitSomething parameter is true, which excludes this case). SOLUTION: Added a null check for textLine.