diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-09 12:49:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-09 12:49:26 +0100 |
commit | e4b99f5d445903e1309c301cc327d2dfb23d8d71 (patch) | |
tree | 3cfd07e82e8dc9200747baf4a271324f3653c1ce /store/workben | |
parent | de69091d34d8102c0b56194d603ed9e66699d34c (diff) |
Use BOOST_STATIC_ASSERT
Change-Id: Ib9dc2541c3bf72ddd6094331297a91352138e5af
Diffstat (limited to 'store/workben')
-rw-r--r-- | store/workben/t_page.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/store/workben/t_page.cxx b/store/workben/t_page.cxx index 95e248a27f91..8abbd563ba24 100644 --- a/store/workben/t_page.cxx +++ b/store/workben/t_page.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 "osl/diagnose.h" #include "rtl/alloc.h" #include "rtl/ref.hxx" @@ -156,7 +159,7 @@ struct PageData */ static const size_t theSize = sizeof(G) + sizeof(D) + 2 * sizeof(L); static const sal_uInt16 thePageSize = theSize; - STORE_STATIC_ASSERT(STORE_MINIMUM_PAGESIZE >= thePageSize); + BOOST_STATIC_ASSERT(STORE_MINIMUM_PAGESIZE >= thePageSize); /** type. */ |