[Libreoffice-commits] .: package/source
David Tardon
dtardon at kemper.freedesktop.org
Thu Dec 23 03:14:36 PST 2010
package/source/zippackage/ZipPackageFolder.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 81c12328d6d5ff65497d15eb6f7bb5313b7f389c
Author: David Tardon <dtardon at redhat.com>
Date: Thu Dec 23 11:19:19 2010 +0100
suppress compiler warning
diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx
index cdff1b2..06c93d6 100644
--- a/package/source/zippackage/ZipPackageFolder.cxx
+++ b/package/source/zippackage/ZipPackageFolder.cxx
@@ -452,7 +452,7 @@ void ZipPackageFolder::saveContents(OUString &rPath, std::vector < Sequence < Pr
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 ? pStream->GetMagicalHackPos() : 0 );
ImplSetStoredData ( *pTempEntry, xStream );
More information about the Libreoffice-commits
mailing list