Kaydet (Commit) 922f2005 authored tarafından Naruhiko Ogasawara's avatar Naruhiko Ogasawara Kaydeden (comit) Stephan Bergmann

fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT

- Clean up OSL_ASSERT

Change-Id: I1f3a5dcfe08876da9bb4a8486311eb0ca9bab215
Signed-off-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 0371a633
...@@ -66,7 +66,7 @@ void PyUNO_del (PyObject* self) ...@@ -66,7 +66,7 @@ void PyUNO_del (PyObject* self)
OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef , sal_Int32 mode ) OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef , sal_Int32 mode )
{ {
OSL_ASSERT( pVal ); assert( pVal );
if (pTypeRef->eTypeClass == typelib_TypeClass_VOID) if (pTypeRef->eTypeClass == typelib_TypeClass_VOID)
return OUString("void"); return OUString("void");
...@@ -124,7 +124,7 @@ OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef ...@@ -124,7 +124,7 @@ OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef
buf.append( "{ " ); buf.append( "{ " );
typelib_TypeDescription * pTypeDescr = 0; typelib_TypeDescription * pTypeDescr = 0;
TYPELIB_DANGER_GET( &pTypeDescr, pTypeRef ); TYPELIB_DANGER_GET( &pTypeDescr, pTypeRef );
OSL_ASSERT( pTypeDescr ); assert( pTypeDescr );
typelib_CompoundTypeDescription * pCompType = (typelib_CompoundTypeDescription *)pTypeDescr; typelib_CompoundTypeDescription * pCompType = (typelib_CompoundTypeDescription *)pTypeDescr;
sal_Int32 nDescr = pCompType->nMembers; sal_Int32 nDescr = pCompType->nMembers;
......
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