ASF Bugzilla – Attachment 14931 Details for
Bug 34744
[PATCH] Fix for ddf.DefaultRecordFactory never creating EscherTextboxRecord
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix to DefaultEscherRecordFactory
DefaultEscherRecordFactory.diff (text/plain), 907 bytes, created by
Nick Burch
on 2005-05-04 18:18:19 UTC
(
hide
)
Description:
Fix to DefaultEscherRecordFactory
Filename:
MIME Type:
Creator:
Nick Burch
Created:
2005-05-04 18:18:19 UTC
Size:
907 bytes
patch
obsolete
>--- DefaultEscherRecordFactory.java.sav 2005-05-04 16:51:25.000000000 +0100 >+++ DefaultEscherRecordFactory.java 2005-05-04 16:59:00.000000000 +0100 >@@ -57,7 +57,13 @@ > public EscherRecord createRecord( byte[] data, int offset ) > { > EscherRecord.EscherRecordHeader header = EscherRecord.EscherRecordHeader.readHeader( data, offset ); >- if ( ( header.getOptions() & (short) 0x000F ) == (short) 0x000F ) >+ >+ // Options of 0x000F means container record >+ // However, EscherTextboxRecord are containers of records for the >+ // host application, not of other Escher records, so treat them >+ // differently >+ if ( ( header.getOptions() & (short) 0x000F ) == (short) 0x000F >+ && header.getRecordId() != EscherTextboxRecord.RECORD_ID ) > { > EscherContainerRecord r = new EscherContainerRecord(); > r.setRecordId( header.getRecordId() );
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 34744
: 14931