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>
This commit is contained in:
Rohan Kumar 2016-03-14 11:36:12 +05:30 committed by Björn Michaelsen
parent b64c7f946a
commit 20efe5ebcb

View file

@ -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);
}
}
}