ASF Bugzilla – Attachment 23179 Details for
Bug 46610
[PATCH] Problems accessing documents containing unicode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for Exception triggered by utf.doc
utf.patch (text/plain), 773 bytes, created by
Benjamin Engele
on 2009-01-27 02:32:18 UTC
(
hide
)
Description:
Patch for Exception triggered by utf.doc
Filename:
MIME Type:
Creator:
Benjamin Engele
Created:
2009-01-27 02:32:18 UTC
Size:
773 bytes
patch
obsolete
>Index: src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java >=================================================================== >--- src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java (revision 738040) >+++ src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java (working copy) >@@ -61,8 +61,9 @@ > > for (int x = 0; x < _crun; x++) > { >- boolean isUnicode = tpt.isUnicodeAtByteOffset( getStart(x) ); >- _chpxList.add(new CHPX(getStart(x) - fcMin, getEnd(x) - fcMin, getGrpprl(x), isUnicode)); >+ int startAt = getStart(x) - fcMin; >+ boolean isUnicode = tpt.isUnicodeAtByteOffset( startAt ); >+ _chpxList.add(new CHPX(startAt, getEnd(x) - fcMin, getGrpprl(x), isUnicode)); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46610
:
23178
|
23179
|
23180
|
23181
|
23184
|
23829
|
23833
|
23834
|
23835