From 0d78ad871e85a74a2a7eac2f2a2ff94776f35e77 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 7 Jul 2014 10:15:32 +0100 Subject: DBG_ASSERT->assert when followed by dereference Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e --- stoc/source/corereflection/criface.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stoc') diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx index 84fe1c0c8879..6e57ee604888 100644 --- a/stoc/source/corereflection/criface.cxx +++ b/stoc/source/corereflection/criface.cxx @@ -817,7 +817,7 @@ void InterfaceIdlClassImpl::initMembers() typelib_TypeDescription * pTD = 0; typelib_typedescriptionreference_getDescription( &pTD, ppAllMembers[nPos] ); - OSL_ENSURE( pTD, "### cannot get type description!" ); + assert(pTD && "### cannot get type description!"); pSortedMemberInit[nIndex].first = ((typelib_InterfaceMemberTypeDescription *)pTD)->pMemberName; pSortedMemberInit[nIndex].second = pTD; } -- cgit