diff options
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/javaloader/javaloader.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx index 519cd2ac9c07..c4d78d023d6f 100644 --- a/stoc/source/javaloader/javaloader.cxx +++ b/stoc/source/javaloader/javaloader.cxx @@ -19,8 +19,6 @@ #include <cstdarg> -#include <boost/static_assert.hpp> - #include <osl/diagnose.h> #include <osl/process.h> @@ -157,8 +155,8 @@ const css::uno::Reference<XImplementationLoader> & JavaComponentLoader::getJavaL // as long as our reference to the XJavaVM service lasts), and // convert the non-refcounted pointer into a refcounted one // immediately: - BOOST_STATIC_ASSERT(sizeof (sal_Int64) - >= sizeof (jvmaccess::UnoVirtualMachine *)); + static_assert(sizeof (sal_Int64) + >= sizeof (jvmaccess::UnoVirtualMachine *), "must be at least the same size"); sal_Int64 nPointer = reinterpret_cast< sal_Int64 >( static_cast< jvmaccess::UnoVirtualMachine * >(0)); javaVM_xJavaVM->getJavaVM(processID) >>= nPointer; |