summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-26 10:11:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-26 16:29:14 +0100
commita8b32cc97aac79729b6561e542ede298d4f96c5a (patch)
tree3c3e5b16953f9437d1c69009b91660698fc681aa /sot
parent42bcbee2e6c71c766054bfd786d85302293b5b99 (diff)
OSL_ENSURE->assert
Change-Id: Ib8ba49e89d03eaf3b3aae94dbbf121898ba9e8de
Diffstat (limited to 'sot')
-rw-r--r--sot/source/base/factory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx
index ec2aa26b677d..349c2f07c9ae 100644
--- a/sot/source/base/factory.cxx
+++ b/sot/source/base/factory.cxx
@@ -192,7 +192,7 @@ void SotFactory::DecSvObjectCount( SotObject * pObj )
*************************************************************************/
void * SotFactory::CreateInstance( SotObject ** ppObj ) const
{
- DBG_ASSERT( pCreateFunc, "SotFactory::CreateInstance: pCreateFunc == 0" );
+ assert(pCreateFunc && "SotFactory::CreateInstance: pCreateFunc == 0");
return pCreateFunc( ppObj );
}