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:
Nick Burch 2006-06-16 15:03:01 +00:00
parent 19a3fe9265
commit cbe41c08b1

View File

@ -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();
}