• Michael Stahl's avatar
    fdo#68983: basic: if the library is not loaded fully, copy source storage · 5246fa26
    Michael Stahl yazdı
    Also fixes fdo#42899 and fdo#67685 in a different way; the previous fix
    for fdo#42899 caused the problem with password-protected libraries for
    which the password is not known: only the binary representation of the
    BAISC module was stored, not the source code; by simply copying from the
    source storage the problem can be avoided.
    
    It would be possible to ask for the password when storing, but that
    would not work when non-interactive (called via API).
    
    An alternative fix would be to pass in the
    SfxObjectShell::IsSetModifyEnabled() flag and actually reset the BASIC
    library's modify flag correctly, but that requires adding a
    parameter to XStorageBasedLibraryContainer::storeLibrariesToStorage().
    
    (regression from af34774d )
    
    Change-Id: I4701401f35171139fc2fe8d225d13d4e533091a0
    5246fa26
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
AllLangResTarget_sb.mk Loading commit data...
CppunitTest_basic_coverage.mk Loading commit data...
CppunitTest_basic_enable.mk Loading commit data...
CppunitTest_basic_nested_struct.mk Loading commit data...
CppunitTest_basic_scanner.mk Loading commit data...
CppunitTest_basic_vba.mk Loading commit data...
Library_sb.mk Loading commit data...
Makefile Loading commit data...
Module_basic.mk Loading commit data...
README Loading commit data...