diff options
Diffstat (limited to 'sot/source/base')
-rw-r--r-- | sot/source/base/factory.cxx | 2 |
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 ); } |