diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-04 15:19:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-03-04 22:36:45 +0100 |
commit | 9007ca10a3f2e11fabcd7bed74cf28da2920ce2f (patch) | |
tree | 20f84a6b273c67ba8d7f9697381d21a986ef0655 | |
parent | 4ffb36265312f18e4c382fc6ff8940c5cdf268ca (diff) |
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>
-rw-r--r-- | sw/source/filter/ww8/wrtww8.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 0274944d26d6..63b27a2af334 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -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 |