sw/source/filter/ww8/wrtww8.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ae7e7b3eed77878ac75e3f7f83b9902e133aeacc
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Feb 21 12:35:45 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Feb 21 17:21:13 2022 +0100

    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 <caol...@redhat.com>

diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 0e495ab92af3..c5013e4cc556 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -3742,7 +3742,7 @@ ErrCode SwWW8Writer::WriteStorage()
 
     ErrCode nErrorCode = WriteStorageImpl();
 
-    if (xPackageEncryption.is())
+    if (xPackageEncryption)
     {
         m_pStg->Commit();
         pSotStorageStream->Seek(0);

Reply via email to