https://issues.apache.org/bugzilla/show_bug.cgi?id=46250





--- Comment #2 from Mark Thompson <[email protected]>  2008-12-30 
12:23:05 PST ---
I'm looking at the source code in 3.5, and notice a cut-n-paste error which
might be generating this issue (both of thse issues?):

In DrawingRecord.java, at the bottom, in the clone() function, the block:
        if (contd != null) {
                System.arraycopy(contd, 0, rec.contd, 0, contd.length);
                rec.contd = new byte[ contd.length ];
        }
should be:
        if (contd != null) {
                rec.contd = new byte[ contd.length ];
                System.arraycopy(contd, 0, rec.contd, 0, contd.length);
        }

The former would cause null pointer exceptions and broken drawing references in
cloned workbooks/sheets, wouldn't it?


-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to