summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-10 21:25:30 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-10 23:27:43 +0200
commitfafd0b61cc8e3476c0eaaccf42a5ce2e72954295 (patch)
tree6c0f5976a337f7a2dabd929f9f26099072b3a050 /extensions
parentad94eaf540260296e8aee0b5bff91d22a5fe6b78 (diff)
extensions: convert boost::bind
Change-Id: I7922140eaaeb428da0f268cac41f7a227693c25a
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/logging/logger.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/source/logging/logger.cxx b/extensions/source/logging/logger.cxx
index d185ee652f49..71330c04aa56 100644
--- a/extensions/source/logging/logger.cxx
+++ b/extensions/source/logging/logger.cxx
@@ -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)