fix spelling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
54c4c5829a
commit
748c8f2583
@ -1504,14 +1504,14 @@ public class XWPFParagraph implements IBodyElement, IRunBody, ISDTContents, Para
|
|||||||
if (candCharPos + 1 < searched.length()) {
|
if (candCharPos + 1 < searched.length()) {
|
||||||
candCharPos++;
|
candCharPos++;
|
||||||
} else if (newList) {
|
} else if (newList) {
|
||||||
TextSegment segement = new TextSegment();
|
TextSegment segment = new TextSegment();
|
||||||
segement.setBeginRun(beginRunPos);
|
segment.setBeginRun(beginRunPos);
|
||||||
segement.setBeginText(beginTextPos);
|
segment.setBeginText(beginTextPos);
|
||||||
segement.setBeginChar(beginCharPos);
|
segment.setBeginChar(beginCharPos);
|
||||||
segement.setEndRun(runPos);
|
segment.setEndRun(runPos);
|
||||||
segement.setEndText(textPos);
|
segment.setEndText(textPos);
|
||||||
segement.setEndChar(charPos);
|
segment.setEndChar(charPos);
|
||||||
return segement;
|
return segment;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
candCharPos = 0;
|
candCharPos = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user