package/source/xstor/owriteablestream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 77e13931fd2221daa56a101ef57d8a129d05c05b Author: Noel Grandin <[email protected]> AuthorDate: Mon Aug 28 10:27:34 2023 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Mon Aug 28 12:59:32 2023 +0200 incorrect usage of erase..remove idion since commit c95221f151fbaab5f181bb5f8a5428a380d4d1bf Author: Julien Nabet <[email protected]> Date: Mon Oct 9 21:19:43 2017 +0200 Replace list by vector InputStreamsList_Impl (package) Change-Id: Icd35f74863e68315c7fa580a1009743cc957192a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156184 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index 22f1f54b3311..1ed64c60e204 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -1292,7 +1292,7 @@ uno::Reference< io::XInputStream > OWriteStream_Impl::GetRawInStream() void OWriteStream_Impl::InputStreamDisposed( OInputCompStream* pStream ) { ::osl::MutexGuard aGuard( m_xMutex->GetMutex() ); - m_aInputStreamsVector.erase(std::remove(m_aInputStreamsVector.begin(), m_aInputStreamsVector.end(), pStream )); + m_aInputStreamsVector.erase(std::remove(m_aInputStreamsVector.begin(), m_aInputStreamsVector.end(), pStream ), m_aInputStreamsVector.end()); } void OWriteStream_Impl::CreateReadonlyCopyBasedOnData( const uno::Reference< io::XInputStream >& xDataToCopy, const uno::Sequence< beans::PropertyValue >& aProps, uno::Reference< io::XStream >& xTargetStream )
