sfx2/source/doc/objstor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a3a95649bc02181cad231e545719e2b2b2507f31 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Sun Oct 21 22:42:11 2018 +0200 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Oct 22 09:59:31 2018 +0200 tdf#120703 (PVS): Recurring check. 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 <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits