diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/inc/ZipFile.hxx | 2 | ||||
-rw-r--r-- | package/source/zipapi/ZipFile.cxx | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx index c5353b6c17d2..3dceb036c3bd 100644 --- a/package/inc/ZipFile.hxx +++ b/package/inc/ZipFile.hxx @@ -82,7 +82,7 @@ class ZipFile void getSizeAndCRC( sal_Int64 nOffset, sal_Int64 nCompressedSize, sal_Int64 *nSize, sal_Int32 *nCRC ); - bool readLOC( ZipEntry &rEntry ); + void readLOC( ZipEntry &rEntry ); sal_Int32 readCEN(); sal_Int32 findEND(); void recover(); diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx index d2fa8a456392..27a89f27a1ba 100644 --- a/package/source/zipapi/ZipFile.cxx +++ b/package/source/zipapi/ZipFile.cxx @@ -755,7 +755,7 @@ uno::Reference< XInputStream > ZipFile::getWrappedRawStream( return createStreamForZipEntry ( aMutexHolder, rEntry, rData, UNBUFF_STREAM_WRAPPEDRAW, true, true, aMediaType ); } -bool ZipFile::readLOC( ZipEntry &rEntry ) +void ZipFile::readLOC( ZipEntry &rEntry ) { ::osl::MutexGuard aGuard( m_aMutexHolder->GetMutex() ); @@ -821,8 +821,6 @@ bool ZipFile::readLOC( ZipEntry &rEntry ) if ( bBroken && !bRecoveryMode ) throw ZipIOException("The stream seems to be broken!" ); - - return true; } sal_Int32 ZipFile::findEND() |