Kaydet (Commit) 2ee4a46b authored tarafından Caolán McNamara's avatar Caolán McNamara

convert these to true asserts

Change-Id: Ifd602f47dd57cdecff3c175d892993072fb82891
Reviewed-on: https://gerrit.libreoffice.org/48154Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d216219e
......@@ -744,8 +744,8 @@ sal_Bool SAL_CALL uno_type_sequence_realloc(
sal_Int32 nSize, uno_AcquireFunc acquire, uno_ReleaseFunc release )
SAL_THROW_EXTERN_C()
{
OSL_ENSURE( ppSequence, "### null ptr!" );
OSL_ENSURE( nSize >= 0, "### new size must be at least 0!" );
assert(ppSequence && "### null ptr!");
assert(nSize >= 0 && "### new size must be at least 0!");
bool ret = true;
if (nSize != (*ppSequence)->nElements)
......
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