diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-03-14 11:36:12 +0530 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-03-15 00:18:50 +0000 |
commit | 20efe5ebcbc49ef3ea46bb13b8aec05c81b86308 (patch) | |
tree | b47aa5e28baeb1d6fefa9c2f3f347ec2a51d1525 /jvmfwk | |
parent | b64c7f946ad56a7566e117b63657e654afaab2bd (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/source/fwkutil.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
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); } } } |