better way to check if CPHX references any part of text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144676 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
de7cdb2540
commit
2857dc155c
@ -63,7 +63,7 @@ public final class CHPFormattedDiskPage extends FormattedDiskPage
|
|||||||
int startAt = getStart(x);
|
int startAt = getStart(x);
|
||||||
int endAt = getEnd(x);
|
int endAt = getEnd(x);
|
||||||
|
|
||||||
if (!tpt.isIndexInTable(startAt) && !tpt.isIndexInTable(endAt)) {
|
if ( !tpt.isIndexInTable( startAt, endAt ) ) {
|
||||||
_chpxList.add(null);
|
_chpxList.add(null);
|
||||||
} else {
|
} else {
|
||||||
_chpxList.add(new CHPX(startAt, endAt, tpt, getGrpprl(x)));
|
_chpxList.add(new CHPX(startAt, endAt, tpt, getGrpprl(x)));
|
||||||
|
Loading…
Reference in New Issue
Block a user