diff options
author | David Tardon <dtardon@redhat.com> | 2011-03-29 13:28:59 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-03-29 13:28:59 +0200 |
commit | de3adb65d0543e0250d2d233fc513ec8189b53f5 (patch) | |
tree | b1a65ad16722d669c9b46d0490251dd4d6d2aad7 /package | |
parent | add pre/postwin.h to fix windows build (diff) | |
download | core-de3adb65d0543e0250d2d233fc513ec8189b53f5.tar.gz core-de3adb65d0543e0250d2d233fc513ec8189b53f5.zip |
WaE: parentheses around '&&' within '||'
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/ZipPackageFolder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx index 874cfebc6f38..b7fd4dd0dd9c 100644 --- a/package/source/zippackage/ZipPackageFolder.cxx +++ b/package/source/zippackage/ZipPackageFolder.cxx @@ -412,7 +412,7 @@ bool ZipPackageFolder::saveChild( const OUString &rShortName, const ContentInfo if ( !bToBeCompressed || bRawStream ) { // The raw stream can neither be encrypted nor connected - OSL_ENSURE( !bRawStream || !bToBeCompressed && !bToBeEncrypted, "The stream is already encrypted!\n" ); + OSL_ENSURE( !bRawStream || !(bToBeCompressed || bToBeEncrypted), "The stream is already encrypted!\n" ); xSeek->seek ( bRawStream ? rInfo.pStream->GetMagicalHackPos() : 0 ); ImplSetStoredData ( *pTempEntry, xStream ); |