Author: hdu
Date: Tue Apr 30 15:02:37 2013
New Revision: 1477680
URL: http://svn.apache.org/r1477680
Log:
fix BINTEST_VERIFYSIZE for non-debug builds
Modified:
openoffice/trunk/main/cppu/source/uno/data.cxx
Modified: openoffice/trunk/main/cppu/source/uno/data.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/cppu/source/uno/data.cxx?rev=1477680&r1=1477679&r2=1477680&view=diff
==============================================================================
--- openoffice/trunk/main/cppu/source/uno/data.cxx (original)
+++ openoffice/trunk/main/cppu/source/uno/data.cxx Tue Apr 30 15:02:37 2013
@@ -368,10 +368,8 @@ sal_Bool SAL_CALL uno_type_isAssignableF
#define BINTEST_VERIFYOFFSET( s, m, n ) \
if (OFFSET_OF(s, m) != n) { fprintf( stderr, "### OFFSET_OF(" #s ", " #m
") = %" SAL_PRI_SIZET "u instead of expected %d!!!\n", OFFSET_OF(s, m),
static_cast<int>(n) ); abort(); }
-#if OSL_DEBUG_LEVEL > 1
#define BINTEST_VERIFYSIZE( s, n ) \
if (sizeof(s) != n) { fprintf( stderr, "### sizeof(" #s ") = %d instead of
expected %d!!!\n", (int)sizeof(s), n ); abort(); }
-#endif
struct C1
{