summaryrefslogtreecommitdiff
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
parent1a6a475089c740f7343572f404f0a45d21484a13 (diff)
connectivity: replace boost::remove_reference with std::remove_reference
Change-Id: I7c11fcdaf8065fa86d224ad2fab88b0bcb907255
-rw-r--r--accessibility/inc/pch/precompiled_acc.hxx1
-rw-r--r--basctl/inc/pch/precompiled_basctl.hxx1
-rw-r--r--connectivity/inc/pch/precompiled_dbtools.hxx1
-rw-r--r--connectivity/inc/pch/precompiled_odbc.hxx2
-rw-r--r--connectivity/source/commontools/FValue.cxx1
-rw-r--r--connectivity/source/drivers/odbc/OPreparedStatement.cxx5
6 files changed, 2 insertions, 9 deletions
diff --git a/accessibility/inc/pch/precompiled_acc.hxx b/accessibility/inc/pch/precompiled_acc.hxx
index 2ef584e8e721..c0ab3af65eb0 100644
--- a/accessibility/inc/pch/precompiled_acc.hxx
+++ b/accessibility/inc/pch/precompiled_acc.hxx
@@ -52,7 +52,6 @@
#include <typeinfo>
#include <utility>
#include <vector>
-#include <boost/intrusive_ptr.hpp>
#include <boost/optional.hpp>
#include <osl/diagnose.h>
#include <osl/doublecheckedlocking.h>
diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx
index c9d33df4e75b..6cb86b18461e 100644
--- a/basctl/inc/pch/precompiled_basctl.hxx
+++ b/basctl/inc/pch/precompiled_basctl.hxx
@@ -54,7 +54,6 @@
#include <unordered_map>
#include <utility>
#include <vector>
-#include <boost/intrusive_ptr.hpp>
#include <osl/conditn.h>
#include <osl/conditn.hxx>
#include <osl/diagnose.h>
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;