summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-12-28 16:43:48 +0100
committerMichael Stahl <mstahl@redhat.com>2015-01-15 13:15:57 +0000
commit591ef977872998d0dd966b200589d29cf7e78f56 (patch)
treea97d6a8c7103fb737b5520a957c59cde58f332dd /comphelper
parent79b5bf5cab66efbec81f9eac4e023af4f5f5141f (diff)
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>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/asyncnotification.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/asyncnotification.cxx b/comphelper/source/misc/asyncnotification.cxx
index dafe1a79d314..ceb2b37eacb7 100644
--- a/comphelper/source/misc/asyncnotification.cxx
+++ b/comphelper/source/misc/asyncnotification.cxx
@@ -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());
}