summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-04 15:19:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-03-04 22:36:45 +0100
commit9007ca10a3f2e11fabcd7bed74cf28da2920ce2f (patch)
tree20f84a6b273c67ba8d7f9697381d21a986ef0655
parent4ffb36265312f18e4c382fc6ff8940c5cdf268ca (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.cxx2
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