cid#1500569 (likely) silence Explicit null dereferenced

Change-Id: Ib44b3dcb94998ce7bf28c9dc1cd3ca7acc6e5190
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130998
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2022-03-04 22:36:45 +01:00
parent 4ffb362653
commit 9007ca10a3
+1 -1
View File
@@ -3728,7 +3728,7 @@ ErrCode SwWW8Writer::WriteStorage()
xComponentContext->getServiceManager()->createInstanceWithArgumentsAndContext(
"com.sun.star.comp.oox.crypto." + sCryptoType, aArguments, xComponentContext), uno::UNO_QUERY);
if (xPackageEncryption.is())
if (xPackageEncryption)
{
// We have an encryptor
// Create new temporary storage for content