From c929930177b73c53718ba9e49b3c2c79109ee3e2 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 14 Sep 2014 16:39:27 +0100 Subject: DBG_ASSERT -> assert where we go on to deref the testee Change-Id: Id38a9e2e0ca0b1c52cb3306adf77eb43d710c9c6 --- basctl/source/basicide/bastype3.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basctl/source') diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx index d48608d457c9..0847553352c2 100644 --- a/basctl/source/basicide/bastype3.cxx +++ b/basctl/source/basicide/bastype3.cxx @@ -201,9 +201,9 @@ SbxVariable* TreeListBox::FindVariable( SvTreeListEntry* pEntry ) for ( size_t n = 0; n < aEntries.size(); n++ ) { SvTreeListEntry* pLE = aEntries[n]; - DBG_ASSERT( pLE, "Can not find entry in array" ); + assert(pLE && "Can not find entry in array"); Entry* pBE = static_cast(pLE->GetUserData()); - DBG_ASSERT( pBE, "The data in the entry not found!" ); + assert(pBE && "The data in the entry not found!"); OUString aName( GetEntryText( pLE ) ); switch ( pBE->GetType() ) -- cgit