jvmfwk/source/fwkutil.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
New commits: commit 20efe5ebcbc49ef3ea46bb13b8aec05c81b86308 Author: Rohan Kumar <[email protected]> Date: Mon Mar 14 11:36:12 2016 +0530 tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals I replaced OSL_ASSERT() with standard C++ assert Change-Id: I92e07d62f3dfe2ad914c49e2b596aef28c35e225 Reviewed-on: https://gerrit.libreoffice.org/23231 Tested-by: Jenkins <[email protected]> Reviewed-by: Björn Michaelsen <[email protected]> diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx index 591a12a..9c026de 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); } } }
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
