package/source/zipapi/XUnbufferedStream.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit e1dfc36c9d9e4c7d9ee006247cd2c81309d4fe65
Author:     Michael Stahl <[email protected]>
AuthorDate: Wed Oct 1 13:49:55 2025 +0200
Commit:     Michael Stahl <[email protected]>
CommitDate: Wed Oct 1 15:46:21 2025 +0200

    tdf#168538 package: now i notice there's bRecoveryMode
    
    Change-Id: I909ab70a97d6e89456d17a6804551abd618444a4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191723
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/package/source/zipapi/XUnbufferedStream.cxx 
b/package/source/zipapi/XUnbufferedStream.cxx
index ce58c1584375..a10e063dfd67 100644
--- a/package/source/zipapi/XUnbufferedStream.cxx
+++ b/package/source/zipapi/XUnbufferedStream.cxx
@@ -68,8 +68,7 @@ XUnbufferedStream::XUnbufferedStream(
     mnZipCurrent = maEntry.nOffset;
     sal_Int64 nSize; // data size in the zip file
     // this can actually happen in recovery
-    SAL_WARN_IF(maEntry.nMethod == STORED && maEntry.nCompressedSize != 
maEntry.nSize,
-            "package", "entry STORED with inconsistent size");
+    assert(bRecoveryMode || maEntry.nMethod != STORED || 
maEntry.nCompressedSize == maEntry.nSize);
     if ( mbRawStream )
     {
         mnZipSize = maEntry.nCompressedSize;

Reply via email to