[Libreoffice-commits] core.git: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 22 07:59:53 UTC 2018
sfx2/source/doc/objstor.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a3a95649bc02181cad231e545719e2b2b2507f31
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sun Oct 21 22:42:11 2018 +0200
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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;
More information about the Libreoffice-commits
mailing list