Kaydet (Commit) e17ab68d authored tarafından root's avatar root Kaydeden (comit) David Tardon

fix debug build on s390

... by removing obsolete OSL_ENSURE. nVtableCall was renamed to
nFunctionIndex and the same check is done a couple of lines above.

Change-Id: Id52b69adceb337049c50a599aefc718498d688c0
üst e7d0b214
...@@ -354,7 +354,6 @@ static typelib_TypeClass cpp_mediate( ...@@ -354,7 +354,6 @@ static typelib_TypeClass cpp_mediate(
} }
// determine called method // determine called method
OSL_ENSURE( nVtableCall < pTypeDescr->nMapFunctionIndexToMemberIndex, "### illegal vtable index!" );
sal_Int32 nMemberPos = pTypeDescr->pMapFunctionIndexToMemberIndex[nFunctionIndex]; sal_Int32 nMemberPos = pTypeDescr->pMapFunctionIndexToMemberIndex[nFunctionIndex];
OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### illegal member index!" ); OSL_ENSURE( nMemberPos < pTypeDescr->nAllMembers, "### illegal member index!" );
......
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