diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-05-06 22:45:33 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-05-06 23:37:10 +0200 |
commit | c06be53493013abadf844929b7724b6b2ddda1a0 (patch) | |
tree | f7c11e900abed6085d08b699814ad8e4ccc378fa /connectivity | |
parent | 1a6a475089c740f7343572f404f0a45d21484a13 (diff) |
connectivity: replace boost::remove_reference with std::remove_reference
Change-Id: I7c11fcdaf8065fa86d224ad2fab88b0bcb907255
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/inc/pch/precompiled_dbtools.hxx | 1 | ||||
-rw-r--r-- | connectivity/inc/pch/precompiled_odbc.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/commontools/FValue.cxx | 1 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/OPreparedStatement.cxx | 5 |
4 files changed, 2 insertions, 7 deletions
diff --git a/connectivity/inc/pch/precompiled_dbtools.hxx b/connectivity/inc/pch/precompiled_dbtools.hxx index cf12b434c863..2df126b08063 100644 --- a/connectivity/inc/pch/precompiled_dbtools.hxx +++ b/connectivity/inc/pch/precompiled_dbtools.hxx @@ -38,7 +38,6 @@ #include <utility> #include <vector> #include <boost/optional.hpp> -#include <boost/type_traits.hpp> #include <osl/diagnose.h> #include <osl/mutex.hxx> #include <osl/thread.h> diff --git a/connectivity/inc/pch/precompiled_odbc.hxx b/connectivity/inc/pch/precompiled_odbc.hxx index 94aeae5accb1..52e6327ae3e6 100644 --- a/connectivity/inc/pch/precompiled_odbc.hxx +++ b/connectivity/inc/pch/precompiled_odbc.hxx @@ -23,8 +23,6 @@ #include <algorithm> #include <cstddef> #include <string.h> -#include <boost/type_traits/is_same.hpp> -#include <boost/type_traits/remove_reference.hpp> #include <osl/diagnose.h> #include <osl/mutex.hxx> #include <osl/process.h> diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index 4a8f02c8fb80..b03faabff8ca 100644 --- a/connectivity/source/commontools/FValue.cxx +++ b/connectivity/source/commontools/FValue.cxx @@ -25,7 +25,6 @@ #include <comphelper/extract.hxx> #include <com/sun/star/io/XInputStream.hpp> #include <rtl/ustrbuf.hxx> -#include <boost/type_traits.hpp> using namespace ::dbtools; using namespace ::com::sun::star::sdbc; diff --git a/connectivity/source/drivers/odbc/OPreparedStatement.cxx b/connectivity/source/drivers/odbc/OPreparedStatement.cxx index f0fa5e7a3d40..d4119236ba20 100644 --- a/connectivity/source/drivers/odbc/OPreparedStatement.cxx +++ b/connectivity/source/drivers/odbc/OPreparedStatement.cxx @@ -37,8 +37,7 @@ #include "resource/common_res.hrc" #include <connectivity/sqlparse.hxx> #include <memory> -#include <boost/type_traits/remove_reference.hpp> -#include <boost/type_traits/is_same.hpp> +#include <type_traits> using namespace ::comphelper; using namespace connectivity; @@ -299,7 +298,7 @@ template <typename T> void OPreparedStatement::setScalarParameter(const sal_Int3 ::osl::MutexGuard aGuard( m_aMutex ); setParameterPre(parameterIndex); - typedef typename boost::remove_reference< T >::type TnoRef; + typedef typename std::remove_reference<T>::type TnoRef; TnoRef *bindBuf = static_cast< TnoRef* >( allocBindBuf(parameterIndex, sizeof(i_Value)) ); *bindBuf = i_Value; |