diff options
Diffstat (limited to 'package/source')
-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 ); |