Kaydet (Commit) 3a1aa1c2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix for --enable-debug --disable-assert-always-abort

...found by <https://ci.libreoffice.org//job/lo_tb_random_config_linux/1480/>

Change-Id: Ia71abc74122b9935344bfe693ba1556f6980c6de
Reviewed-on: https://gerrit.libreoffice.org/60668
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 2ba6e9d4
......@@ -317,7 +317,7 @@ void unoInterfaceProxyDispatch(
{
case typelib_TypeClass_INTERFACE_ATTRIBUTE:
{
#if OSL_DEBUG_LEVEL > 0
#if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG
// determine vtable call index
sal_Int32 nMemberPos = reinterpret_cast<typelib_InterfaceMemberTypeDescription const *>(pMemberDescr)->nPosition;
assert(nMemberPos < pTypeDescr->nAllMembers);
......@@ -366,7 +366,7 @@ void unoInterfaceProxyDispatch(
}
case typelib_TypeClass_INTERFACE_METHOD:
{
#if OSL_DEBUG_LEVEL > 0
#if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG
// determine vtable call index
sal_Int32 nMemberPos = reinterpret_cast<typelib_InterfaceMemberTypeDescription const *>(pMemberDescr)->nPosition;
assert(nMemberPos < pTypeDescr->nAllMembers);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment