poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45269] but at replaceText function - String index out of range: -5
Date Wed, 01 Apr 2009 13:16:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45269





--- Comment #1 from Piotr Gawron <piotr.gawron@cs.put.poznan.pl>  2009-04-01 06:16:20
PST ---
Created an attachment (id=23433)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23433)
Patch to this bug

Changes:
scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java
now the modification of size of Range during text replacement is changed
recursively to upper levels

scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java
test case to this bug was added

scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRangeReplacement.java
there was one error in this test case - after replacing text with new, longer
text number of paragraphs in section changed (5->4), but it shouldn't

This patch need also the *.doc file which was attached before as
scratchpad\testcases\org\apache\poi\hwpf\data\Bug45269.doc

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message