diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx index 591a12a2c7ea..9c026de7c116 100644 --- a/jvmfwk/source/fwkutil.cxx +++ b/jvmfwk/source/fwkutil.cxx @@ -82,10 +82,8 @@ bool isAccessibilitySupportDesired() else if (strcmp((char*) arData, "false") == 0 || strcmp((char*) arData, "0") == 0) retVal = false; -#if OSL_DEBUG_LEVEL > 1 else - OSL_ASSERT(0); -#endif + assert(0); } else if (dwType == REG_DWORD) { @@ -93,10 +91,8 @@ bool isAccessibilitySupportDesired() retVal = true; else if (arData[0] == 0) retVal = false; -#if OSL_DEBUG_LEVEL > 1 else - OSL_ASSERT(0); -#endif + assert(0); } } }