mirror of https://github.com/apache/poi.git
Tweak comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bee5d25e0c
commit
51e12de65d
|
@ -84,11 +84,11 @@ public class TextRun
|
|||
String runRawText = getText();
|
||||
|
||||
// Figure out the rich text runs
|
||||
// Assumes the paragraph styles are never shorter than the character ones
|
||||
LinkedList pStyles = new LinkedList();
|
||||
LinkedList cStyles = new LinkedList();
|
||||
if(_styleAtom != null) {
|
||||
_styleAtom.setParentTextSize(runRawText.length());
|
||||
// Get the style atom to grok itself
|
||||
_styleAtom.setParentTextSize(runRawText.length()+1);
|
||||
pStyles = _styleAtom.getParagraphStyles();
|
||||
cStyles = _styleAtom.getCharacterStyles();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue