Files
loongoffice/xmlsecurity/source/dialogs
Franklin Weng 648990692c tdf#116862 do not encrypt to self when encryption key is not set
When "always encrypt to self" is checked but no encryption key is set,
encrypting a file with GPG key would cause error.  So check if
msPreferredKey is empty or not before comparing with sIssuer.

Change-Id: I4d95f0b436cb1fafad1d57d50330fd2080902b69
Reviewed-on: https://gerrit.libreoffice.org/77665
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2019-08-20 15:14:48 +02:00
..