diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-11 13:55:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-13 08:35:16 +0200 |
commit | 67649406d7b72f8d6ea4bbe76e775e0052ddefc3 (patch) | |
tree | 3cf40f61c1e30a1cba78ba21c7d2e6ac3d274694 /package/source | |
parent | e7cc6b253f5a1fd1205da231f6a14011501ed74e (diff) |
loplugin:returnconstant in oox,package
Change-Id: I1dade7ddde6b1e226861d32f24f65be5bb9d9352
Reviewed-on: https://gerrit.libreoffice.org/58880
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/source')
-rw-r--r-- | package/source/zipapi/ZipFile.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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() |