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





--- Comment #3 from Josh Micich <[email protected]>  2009-06-15 13:09:38 PST 
---
Original fix was in svn r368554 ( 
https://svn.apache.org/viewcvs.cgi?view=rev&rev=368554 )


Follow-up info:

Original test code (from bug 27749) is no longer valid:

    HSSFSheet sheet = workBook.cloneSheet(index);
    sheet.setProtect(true);


The method HSSFSheet.setProtect(boolean) was deprecated (svn r552425 ( 
https://svn.apache.org/viewcvs.cgi?view=rev&rev=552425 ) ) because
it didn't set a password hash.  As of the fix for bug 47363 (svn r784240 ( 
https://svn.apache.org/viewcvs.cgi?view=rev&rev=784240 ) ), the
deprecated method was removed.

The test code for this problem would now look like this:

    HSSFSheet sheet = workBook.cloneSheet(index);
    sheet.protectSheet("secret");

This still works OK in svn trunk

-- 
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