impress208: #i115944# fixing large ooxml files
This commit is contained in:
parent
de86e3362c
commit
3d6d4b7849
1 changed files with 2 additions and 1 deletions
|
@ -836,7 +836,8 @@ sal_Int32 ZipFile::recover()
|
|||
|
||||
aGrabber.seek( 0 );
|
||||
|
||||
for( sal_Int32 nGenPos = 0; aGrabber.readBytes( aBuffer, 32000 ) && aBuffer.getLength() > 30; )
|
||||
// TODO/LATER: let the files > 2Gb handle the 2Gb border correctly ( if header is splitted )
|
||||
for( sal_Int32 nGenPos = 0; aGrabber.readBytes( aBuffer, SAL_MAX_INT32 ) && aBuffer.getLength() > 30; )
|
||||
{
|
||||
const sal_Int8 *pBuffer = aBuffer.getConstArray();
|
||||
sal_Int32 nBufSize = aBuffer.getLength();
|
||||
|
|
Loading…
Reference in a new issue