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);