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 31795] - Sheet not cloneable
Date Wed, 20 Oct 2004 14:09:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31795>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31795

Sheet not cloneable





------- Additional Comments From horst.fiedler@tifff.com  2004-10-20 14:09 -------
Add something like that to overcome: 
diff $R DrawingRecord.java
111a112,123
>     // --- H.F. 20.10.2004
>     public Object clone() {
>         DrawingRecord rec = new DrawingRecord();
>       byte[] nRecordData = recordData;
>       if (recordData != null) {
>         nRecordData = new byte[recordData.length];
>         System.arraycopy(recordData, 0, nRecordData, 0, recordData.length);
>       }
>         rec.setData(nRecordData);
>         return rec;
>     }
>     // ---

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


Mime
View raw message