debuglevels: removed useless assertions
Those assertions were dependent on OSL_DEBUG_LEVEL > 1 (i.e. only existent with "dmake=1"), and then always fired. Which fulfills the definition of "useless", /me thinks.
This commit is contained in:
parent
9bc3b66c17
commit
60e454d12b
@ -330,20 +330,7 @@ TypeDescriptor_Init_Impl::~TypeDescriptor_Init_Impl() SAL_THROW( () )
|
|||||||
delete pWeakMap;
|
delete pWeakMap;
|
||||||
pWeakMap = 0;
|
pWeakMap = 0;
|
||||||
}
|
}
|
||||||
#if OSL_DEBUG_LEVEL > 1
|
|
||||||
OSL_ASSERT( nTypeDescriptionCount == 0 );
|
|
||||||
OSL_ASSERT( nCompoundTypeDescriptionCount == 0 );
|
|
||||||
OSL_ASSERT( nUnionTypeDescriptionCount == 0 );
|
|
||||||
OSL_ASSERT( nIndirectTypeDescriptionCount == 0 );
|
|
||||||
OSL_ASSERT( nArrayTypeDescriptionCount == 0 );
|
|
||||||
OSL_ASSERT( nEnumTypeDescriptionCount == 0 );
|
|
||||||
OSL_ASSERT( nInterfaceMethodTypeDescriptionCount == 0 );
|
|
||||||
OSL_ASSERT( nInterfaceAttributeTypeDescriptionCount == 0 );
|
|
||||||
OSL_ASSERT( nInterfaceTypeDescriptionCount == 0 );
|
|
||||||
OSL_ASSERT( nTypeDescriptionReferenceCount == 0 );
|
|
||||||
|
|
||||||
OSL_ASSERT( !pCallbacks || pCallbacks->empty() );
|
OSL_ASSERT( !pCallbacks || pCallbacks->empty() );
|
||||||
#endif
|
|
||||||
delete pCallbacks;
|
delete pCallbacks;
|
||||||
pCallbacks = 0;
|
pCallbacks = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user