https://bugs.freedesktop.org/show_bug.cgi?id=51819

--- Comment #44 from VolkerTwer <[email protected]> ---
Just stubled in, here.
My system isn't that fast so test-compiling would last quite long ...
But if one of the maintainers could check out if maybe this could work -
modified lines according to mentioned
http://opengrok.libreoffice.org/xref/core/framework/source/services/autorecovery.cxx#implts_saveOneDoc
 

   3233     // if the document was loaded with a password, it should be
   3234     // stored with password
   3235     utl::MediaDescriptor lNewArgs;
   3236     OUString sPassword =
lOldArgs.getUnpackedValueOrDefault(utl::MediaDescriptor::PROP_PASSWORD(),
OUString());
   3237     if (!sPassword.isEmpty())
-  3238         lNewArgs[utl::MediaDescriptor::PROP_PASSWORD()] <<= sPassword;
-  3239 


+  3238     {
+  3239         lNewArgs[utl::MediaDescriptor::PROP_PASSWORD()] <<= sPassword;
+  3240         OUString sEncryptionData =
lOldArgs.getUnpackedValueOrDefault(utl::MediaDescriptor::PROP_ENCRYPTIONDATA(),
OUString());
+  3241         lNewArgs[utl::MediaDescriptor::PROP_ENCRYPTIONDATA()] <<=
sEncryptionData;
+  3242     }
+  3243

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to