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