diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-24 12:04:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-08-24 14:30:38 +0200 |
commit | 8114f976b897c4717368146a49d5404ef970c77a (patch) | |
tree | 17e0f6569ed4d4101c18be5d33e273cbc27a816a /sw | |
parent | 7a14326fea2cc317b8be57d45be7ca57aebd8bdd (diff) |
coverity#1438527 Nesting level does not match indentation
Change-Id: I0b36a0fdb1c284ab8510740d10d9fc0202c71e44
Reviewed-on: https://gerrit.libreoffice.org/59554
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/wrtww8.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 1cea99be077f..3541c4711bd3 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -3378,11 +3378,12 @@ ErrCode WW8Export::ExportDocument_Impl() pTableStrmTemp = xTableStrm.get(); pDataStrmTemp = xDataStrm.get(); - if ( pDataStrmTemp && pDataStrmTemp != pStrmTemp) + if ( pDataStrmTemp && pDataStrmTemp != pStrmTemp) { err = EncryptRC4(aCtx, *pDataStrm, *pDataStrmTemp); if (err != ERRCODE_NONE) { goto done; } + } err = EncryptRC4(aCtx, *pTableStrm, *pTableStrmTemp); if (err != ERRCODE_NONE) { |