summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-14 16:39:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-15 09:09:10 +0100
commitc929930177b73c53718ba9e49b3c2c79109ee3e2 (patch)
treecab49c05915a56d238eafb7b9ea832e34e74afde /basctl
parent82a72bb848c4fc343a9095953242eca03d943780 (diff)
DBG_ASSERT -> assert where we go on to deref the testee
Change-Id: Id38a9e2e0ca0b1c52cb3306adf77eb43d710c9c6
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/bastype3.cxx4
1 files changed, 2 insertions, 2 deletions
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<Entry*>(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() )