summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-02-02 15:44:14 +0100
committerMichael Stahl <mstahl@redhat.com>2016-02-03 11:12:49 +0100
commitbf253799f6858aa1ab607b8f127c0ed6bd2c1b45 (patch)
tree706f58f75b7b4bcd1a8f03b98270864bdc89c77a /connectivity
parentb590d157645141f320f155b56ac915d72b2c4a46 (diff)
connectivity: replace boost::bind with lambda
Change-Id: I5a68b743221a3519701e4e3778562ae626783e0f
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/inc/pch/precompiled_dbtools.hxx1
-rw-r--r--connectivity/source/parse/sqlnode.cxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/connectivity/inc/pch/precompiled_dbtools.hxx b/connectivity/inc/pch/precompiled_dbtools.hxx
index 3babfec0081c..31b04adaf9c0 100644
--- a/connectivity/inc/pch/precompiled_dbtools.hxx
+++ b/connectivity/inc/pch/precompiled_dbtools.hxx
@@ -37,7 +37,6 @@
#include <string>
#include <utility>
#include <vector>
-#include <boost/bind.hpp>
#include <boost/noncopyable.hpp>
#include <boost/optional.hpp>
#include <boost/type_traits.hpp>
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index 7f7fdebfc9ad..7ba07e658c30 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -53,7 +53,6 @@
#include <connectivity/dbmetadata.hxx>
#include <tools/diagnose_ex.h>
#include <string.h>
-#include <boost/bind.hpp>
#include <algorithm>
#include <functional>
#include <memory>
@@ -713,7 +712,7 @@ void OSQLParseNode::impl_parseTableRangeNodeToString_throw(OUStringBuffer& rStri
// rString += " ";
::std::for_each(m_aChildren.begin(),m_aChildren.end(),
- boost::bind( &OSQLParseNode::impl_parseNodeToString_throw, _1, boost::ref( rString ), boost::cref( rParam ), false ));
+ [&] (OSQLParseNode *const pNode) { pNode->impl_parseNodeToString_throw(rString, rParam, false); });
}