summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaruhiko Ogasawara <naruoga@gmail.com>2014-10-25 17:54:22 +0900
committerStephan Bergmann <sbergman@redhat.com>2014-10-29 12:37:17 +0100
commit922f2005f34589e60969be3f2bf74e4af58e2e69 (patch)
treebf2828eddacae8dc5f73c6e276c30ec881169aba
parent0371a6336582aea9574d1f8e6ae152ef3f95ac62 (diff)
fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
- Clean up OSL_ASSERT Change-Id: I1f3a5dcfe08876da9bb4a8486311eb0ca9bab215 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--pyuno/source/module/pyuno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index f468149a8855..065513a7404a 100644
--- a/pyuno/source/module/pyuno.cxx
+++ b/pyuno/source/module/pyuno.cxx
@@ -66,7 +66,7 @@ void PyUNO_del (PyObject* self)
OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef , sal_Int32 mode )
{
- OSL_ASSERT( pVal );
+ assert( pVal );
if (pTypeRef->eTypeClass == typelib_TypeClass_VOID)
return OUString("void");
@@ -124,7 +124,7 @@ OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef
buf.append( "{ " );
typelib_TypeDescription * pTypeDescr = 0;
TYPELIB_DANGER_GET( &pTypeDescr, pTypeRef );
- OSL_ASSERT( pTypeDescr );
+ assert( pTypeDescr );
typelib_CompoundTypeDescription * pCompType = (typelib_CompoundTypeDescription *)pTypeDescr;
sal_Int32 nDescr = pCompType->nMembers;