To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=106303


User fs changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|'dobsche2,fs'             |'ab,dobsche2'
--------------------------------------------------------------------------------
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Wed Jan  6 08:32:53 +0000 
2010 -------
The problem is in SfxLibraryContainer::storeLibraries_Impl: In case the
libraries are stored into the storage where they already reside, all source
libraries are loaded, then the storage is made completely empty, and all
libraries are stored again into the storage.

Unfortunately, for password-protected libraries, loading them without password
fails. (Though the code pretends to do something meaningful, by loading the
binary blob, but this is bogus, at least in this very situation.)

The problem happens with database documents only, and not with the other
documents, since DB docs do an in-place save, where the other document types
create a temporary file to write the complete document into, and then copy this
over the original file. Thus, the particular code path in
SfxLibraryContainer::storeLibraries_Impl is not triggered there.

fs->ab: I suppose it's still my bug, even though it is in your code - IIRC, it
was /me who introduced this particular code path when I implemented the support
for Basic macros in database documents :-\

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

Reply via email to