summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-06 22:45:33 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-06 23:37:10 +0200
commitc06be53493013abadf844929b7724b6b2ddda1a0 (patch)
treef7c11e900abed6085d08b699814ad8e4ccc378fa /connectivity/source
parent1a6a475089c740f7343572f404f0a45d21484a13 (diff)
connectivity: replace boost::remove_reference with std::remove_reference
Change-Id: I7c11fcdaf8065fa86d224ad2fab88b0bcb907255
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/commontools/FValue.cxx1
-rw-r--r--connectivity/source/drivers/odbc/OPreparedStatement.cxx5
2 files changed, 2 insertions, 4 deletions
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;