From a3a95649bc02181cad231e545719e2b2b2507f31 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Sun, 21 Oct 2018 22:42:11 +0200 Subject: [PATCH] tdf#120703 (PVS): Recurring check. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit V571 The 'bOk' condition was already verified in line 1553. Change-Id: I19a30071ebfc1937d03f2fdfcbfc12017e3e835e Reviewed-on: https://gerrit.libreoffice.org/62156 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sfx2/source/doc/objstor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index cb0c0be5e166..de3b42c70df3 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -1554,7 +1554,7 @@ bool SfxObjectShell::SaveTo_Impl if ( bOk ) { // if ODF version of oasis format changes on saving the signature should not be preserved - if ( bOk && bTryToPreserveScriptSignature && bNoPreserveForOasis ) + if ( bTryToPreserveScriptSignature && bNoPreserveForOasis ) bTryToPreserveScriptSignature = ( SotStorage::GetVersion( rMedium.GetStorage() ) == SOFFICE_FILEFORMAT_60 ); uno::Reference< security::XDocumentDigitalSignatures > xDDSigns; -- 2.11.4.GIT