Really remove events
Change-Id: Ie73b7ead02434a0614287f61f0ffd49eeab32aba Reviewed-on: https://gerrit.libreoffice.org/13681 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
committed by
Michael Stahl
parent
79b5bf5cab
commit
591ef97787
@@ -116,7 +116,7 @@ namespace comphelper
|
||||
::osl::MutexGuard aGuard( m_pImpl->aMutex );
|
||||
|
||||
// remove all events for this processor
|
||||
::std::remove_if( m_pImpl->aEvents.begin(), m_pImpl->aEvents.end(), EqualProcessor( _xProcessor ) );
|
||||
m_pImpl->aEvents.erase(::std::remove_if( m_pImpl->aEvents.begin(), m_pImpl->aEvents.end(), EqualProcessor( _xProcessor ) ), m_pImpl->aEvents.end());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user