summaryrefslogtreecommitdiff
path: root/comphelper/source/xml/xmltools.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-05 20:54:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-05 22:21:49 +0000
commit4d6a509efe6bd56613b5554556d3a4f7f4cfd0d5 (patch)
tree22fc10679131c72993615d0fa634460d14a15ec8 /comphelper/source/xml/xmltools.cxx
parent076b098ddf80fc78773d3ed97b7fd50dbcb4ebb6 (diff)
convert all remaining BOOST_STATIC_ASSERT to static_assert
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
Diffstat (limited to 'comphelper/source/xml/xmltools.cxx')
-rw-r--r--comphelper/source/xml/xmltools.cxx3
1 files changed, 1 insertions, 2 deletions
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)