From eb9b890bc95005c4d97622630786359d1b821cb5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 6 Jul 2014 20:30:54 +0100 Subject: DBG_ASSERT->assert when followed by dereference Change-Id: I9390228721df1b713d8cf2e719854b74d6b639c8 --- basic/source/runtime/stdobj1.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic/source/runtime/stdobj1.cxx') diff --git a/basic/source/runtime/stdobj1.cxx b/basic/source/runtime/stdobj1.cxx index 24b04742d10c..061aa646f038 100644 --- a/basic/source/runtime/stdobj1.cxx +++ b/basic/source/runtime/stdobj1.cxx @@ -250,7 +250,7 @@ SbStdFont::SbStdFont() : // handle name property yourself p = Find( OUString("Name"), SbxCLASS_PROPERTY ); - DBG_ASSERT( p, "No Name Property" ); + assert(p && "No Name Property"); p->SetUserData( ATTR_IMP_NAME ); } @@ -399,7 +399,7 @@ SbStdClipboard::SbStdClipboard() : SbxObject( OUString("Clipboard") ) { SbxVariable* p = Find( OUString("Name"), SbxCLASS_PROPERTY ); - DBG_ASSERT( p, "No Name Property" ); + assert(p && "No Name Property"); p->SetUserData( ATTR_IMP_NAME ); // register methods -- cgit