[Libreoffice-commits] core.git: comphelper/source
Julien Nabet
serval2412 at yahoo.fr
Thu Jan 15 05:16:24 PST 2015
comphelper/source/misc/asyncnotification.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 591ef977872998d0dd966b200589d29cf7e78f56
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Dec 28 16:43:48 2014 +0100
Really remove events
Change-Id: Ie73b7ead02434a0614287f61f0ffd49eeab32aba
Reviewed-on: https://gerrit.libreoffice.org/13681
Tested-by: Michael Stahl <mstahl at redhat.com>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/comphelper/source/misc/asyncnotification.cxx b/comphelper/source/misc/asyncnotification.cxx
index dafe1a7..ceb2b37 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());
}
More information about the Libreoffice-commits
mailing list