mirror of https://github.com/apache/poi.git
SEPX uses chars as boundaries coordinates, don't do double conversions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c0ed68d18b
commit
7a41cc167e
|
@ -19,12 +19,11 @@ package org.apache.poi.hwpf.usermodel;
|
|||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.apache.poi.hwpf.model.SEPX;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.apache.poi.POIDataSamples;
|
||||
import org.apache.poi.hwpf.HWPFDocument;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
import org.apache.poi.hwpf.model.SEPX;
|
||||
|
||||
/**
|
||||
* Tests for Range which aren't around deletion, insertion, text replacement or
|
||||
|
@ -69,8 +68,6 @@ public final class TestRange extends TestCase
|
|||
|
||||
// whole document, including additional text from shape
|
||||
SEPX sepx = sections.get( 0 );
|
||||
assertEquals( sepx.getStartBytes(), 1024 );
|
||||
assertEquals( sepx.getEndBytes(), 3880 );
|
||||
assertEquals( sepx.getStart(), 0 );
|
||||
assertEquals( sepx.getEnd(), 1428 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue