cid#1500569 silence Explicit null dereferenced

likely silences it, an experiment

Change-Id: I095d2dad74331a08ed649cea9bef08b63f9ef1de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130279
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2022-02-21 12:35:45 +00:00
parent 57c30e9f77
commit ae7e7b3eed

View File

@@ -3742,7 +3742,7 @@ ErrCode SwWW8Writer::WriteStorage()
ErrCode nErrorCode = WriteStorageImpl();
if (xPackageEncryption.is())
if (xPackageEncryption)
{
m_pStg->Commit();
pSotStorageStream->Seek(0);