To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108245
                 Issue #|108245
                 Summary|Password protection and unprotection of sheet with API
                        |/Macro is broken
               Component|Spreadsheet
                 Version|OOo 3.2 RC1
                Platform|Unknown
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|spreadsheet
             Reported by|cornouws





------- Additional comments from [email protected] Tue Jan 12 09:03:50 
+0000 2010 -------
When I unprotect a sheet with a Macro, the password used in the macro is not
relevant.

When setting the protection in the same macro, the first time the original
password (set via the GUI) is kept. 
Only after running the second time, the password used in the macro is set...

To test:
Open tstSheetProtection_WithAPI

Instructions there
1. set sheet protection with password “testpw”
2. run macro standard.module1.main (Alt-F11)
3. check the protection of the sheet via Tools|Protection|Sheet
4. note that you still have to use “testpw”
5. now run the macro again
6. to unprotect via Tools|Protect|Sheet, now you have to use “doesnt matter”

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to