summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/inc/pch/precompiled_comphelper.hxx1
-rw-r--r--comphelper/source/xml/xmltools.cxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/comphelper/inc/pch/precompiled_comphelper.hxx b/comphelper/inc/pch/precompiled_comphelper.hxx
index 5aacf0b62959..7b83f16bf8fb 100644
--- a/comphelper/inc/pch/precompiled_comphelper.hxx
+++ b/comphelper/inc/pch/precompiled_comphelper.hxx
@@ -22,7 +22,6 @@
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
-#include <boost/static_assert.hpp>
#include <cassert>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
diff --git a/comphelper/source/xml/xmltools.cxx b/comphelper/source/xml/xmltools.cxx
index 83387d56c159..5473873625a8 100644
--- a/comphelper/source/xml/xmltools.cxx
+++ b/comphelper/source/xml/xmltools.cxx
@@ -9,7 +9,6 @@
#include <comphelper/xmltools.hxx>
#include <rtl/random.h>
-#include <boost/static_assert.hpp>
#include <vector>
using namespace com::sun::star;
@@ -60,7 +59,7 @@ namespace
void encodeChaff(std::vector<sal_uInt8> &rChaff)
{
- BOOST_STATIC_ASSERT(sizeof(aChaffEncoder) == 256);
+ static_assert(sizeof(aChaffEncoder) == 256, "this has to cover all chars");
for (std::vector<sal_uInt8>::iterator aI = rChaff.begin(), aEnd = rChaff.end();
aI != aEnd; ++aI)