From 1ca20c89c0a1f1ca34de4939d6fef66fb68ceff9 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 4 Jun 2012 20:07:26 +0200 Subject: KeySet.cxx: fix boost include; also... ... BOOST_STATIC_ASSERT_MSG was added in boost 1.46, while the internal boost is still at version 1.44, so use BOOST_STATIC_ASSERT instead. Change-Id: I14f8e48e31956b34a1a907cd2c4e454a5715889b --- dbaccess/source/core/api/KeySet.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dbaccess/source') diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx index 5d863a8ad678..3a114a9c7f59 100644 --- a/dbaccess/source/core/api/KeySet.cxx +++ b/dbaccess/source/core/api/KeySet.cxx @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -1458,7 +1459,7 @@ sal_Bool OKeySet::fetchRow() connectivity::ORowVector< ORowSetValue >::Vector::iterator aFRIter = aFullRow->get().begin(); // Column 0 is reserved for the bookmark; unused here. ++aFRIter; - BOOST_STATIC_ASSERT_MSG(sizeof(int) >= sizeof(sal_Int32), "At least a 32 bit word expecteed"); + BOOST_STATIC_ASSERT(sizeof(int) >= sizeof(sal_Int32)); // "At least a 32 bit word expected" for (int i = 1; i <= cc; ++i, ++aFRIter ) { aFRIter->fill(i, m_xSetMetaData->getColumnType(i), m_xDriverRow); -- cgit