Kaydet (Commit) fafd0b61 authored tarafından Michael Stahl's avatar Michael Stahl

extensions: convert boost::bind

Change-Id: I7922140eaaeb428da0f268cac41f7a227693c25a
üst ad94eaf5
......@@ -29,7 +29,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/logging/XLoggerPool.hpp>
#include <boost/bind.hpp>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/implbase2.hxx>
......@@ -175,9 +174,9 @@ namespace logging
return;
m_aHandlers.forEach< XLogHandler >(
::boost::bind( &XLogHandler::publish, _1, ::boost::cref( _rRecord ) ) );
[&] (Reference<XLogHandler> const& rxListener) { rxListener->publish(_rRecord); } );
m_aHandlers.forEach< XLogHandler >(
::boost::bind( &XLogHandler::flush, _1 ) );
[] (Reference<XLogHandler> const& rxListener) { rxListener->flush(); } );
}
OUString SAL_CALL EventLogger::getName() throw (RuntimeException, std::exception)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment