From c06be53493013abadf844929b7724b6b2ddda1a0 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 6 May 2016 22:45:33 +0200 Subject: connectivity: replace boost::remove_reference with std::remove_reference Change-Id: I7c11fcdaf8065fa86d224ad2fab88b0bcb907255 --- connectivity/inc/pch/precompiled_dbtools.hxx | 1 - connectivity/inc/pch/precompiled_odbc.hxx | 2 -- connectivity/source/commontools/FValue.cxx | 1 - connectivity/source/drivers/odbc/OPreparedStatement.cxx | 5 ++--- 4 files changed, 2 insertions(+), 7 deletions(-) (limited to 'connectivity') 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 #include #include -#include #include #include #include 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 #include #include -#include -#include #include #include #include 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 #include #include -#include 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 #include -#include -#include +#include using namespace ::comphelper; using namespace connectivity; @@ -299,7 +298,7 @@ template 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::type TnoRef; TnoRef *bindBuf = static_cast< TnoRef* >( allocBindBuf(parameterIndex, sizeof(i_Value)) ); *bindBuf = i_Value; -- cgit