From e4b99f5d445903e1309c301cc327d2dfb23d8d71 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 9 Mar 2013 12:49:26 +0100 Subject: Use BOOST_STATIC_ASSERT Change-Id: Ib9dc2541c3bf72ddd6094331297a91352138e5af --- store/source/storbios.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'store/source/storbios.cxx') diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx index 2cdbecee9b33..b773c5d20397 100644 --- a/store/source/storbios.cxx +++ b/store/source/storbios.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include "sal/config.h" + +#include "boost/static_assert.hpp" #include "storbios.hxx" @@ -182,7 +185,7 @@ struct SuperBlockPage */ static const size_t theSize = 2 * SuperBlock::theSize; static const sal_uInt16 thePageSize = theSize; - STORE_STATIC_ASSERT(STORE_MINIMUM_PAGESIZE >= thePageSize); + BOOST_STATIC_ASSERT(STORE_MINIMUM_PAGESIZE >= thePageSize); /** Allocation. */ -- cgit