diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2018-10-21 22:42:11 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-22 09:59:31 +0200 |
commit | a3a95649bc02181cad231e545719e2b2b2507f31 (patch) | |
tree | 8ece252bf1a98eb73dc6c425eae0cdc517114b55 /sfx2/source/doc/objstor.cxx | |
parent | 7cd65a3141c09111962dfd52a91d738c3f560f04 (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/doc/objstor.cxx')
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |