static assert is enough
Change-Id: I51be076119b23611f006fb4ebefd8f4bb727ded8
This commit is contained in:
@@ -478,17 +478,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping(
|
||||
BOOST_STATIC_ASSERT( sizeof (jshort) == sizeof (sal_Int16) );
|
||||
BOOST_STATIC_ASSERT( sizeof (jint) == sizeof (sal_Int32) );
|
||||
BOOST_STATIC_ASSERT( sizeof (jlong) == sizeof (sal_Int64) );
|
||||
if ((JNI_FALSE == sal_False) &&
|
||||
(JNI_TRUE == sal_True) &&
|
||||
(sizeof (jboolean) == sizeof (sal_Bool)) &&
|
||||
(sizeof (jchar) == sizeof (sal_Unicode)) &&
|
||||
(sizeof (jdouble) == sizeof (double)) &&
|
||||
(sizeof (jfloat) == sizeof (float)) &&
|
||||
(sizeof (jbyte) == sizeof (sal_Int8)) &&
|
||||
(sizeof (jshort) == sizeof (sal_Int16)) &&
|
||||
(sizeof (jint) == sizeof (sal_Int32)) &&
|
||||
(sizeof (jlong) == sizeof (sal_Int64)))
|
||||
{
|
||||
|
||||
OUString const & from_env_typename =
|
||||
OUString::unacquired( &pFrom->pTypeName );
|
||||
OUString const & to_env_typename =
|
||||
@@ -529,7 +519,6 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping(
|
||||
}
|
||||
|
||||
*ppMapping = mapping;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user